Skip to content

Custom function

How-to5 minExpert

Before you start

A Custom function runs a Smart ScriptSmart ScriptBeezr's scripting language (engine name Beezl) used in fields, rules, filters, workflow values and dashboards.Open glossary ↗ you write. Use it for work no other step does, such as calling a helper that changes data in a way requires a custom script.

Reach for it last. A Record manager changes records, a Decision branches, and a Load data fetches records. Use a Custom function when none of them fits.

  1. Click + and choose Custom function. It sits in the Data group.
  2. Under Smart Script, write the script. Insert data adds a field of this workflow. Functions lists the helpers you can call.
  3. Click Save.
A Custom function step selected, with the Smart Script box open on the right.
    The Smart Script box holds your script.
    Insert data and Functions help you write it.
SettingWhat it does
Smart ScriptThe script, stored exactly as you type it

There is nothing else to set. Write the script and click Save.

  • Use the script for its effect on your data, such as changing records through a helper.
  • To pass data to later steps, use steps that name their result, such as Load data, JSON parser or AI agent.

Check yourself

Karim has written a Custom function script. What should he do before he relies on it?
Show the answer

Test it, and check the data it should have changed. Test the script first and check the data it should have changed.

What is a Custom function for?
Show the answer

Work on data that no other step does, such as calling a helper that changes data. Use a Custom function for work no other step does. Use Record manager, Decision, Load data and the other steps for the rest.

What's next

Last checked