Developers
Concept4 minExpert
This section is for people who write code against Beezr: scripts inside it, and systems outside it. Pick the job below. Each page says what it covers and what it leaves out.
What do you want to do?
Section titled “What do you want to do?”Understand Smart ScriptWhere scripts run, how Beezr reads them, and the four mistakes that catch everyone.Write your first Smart ScriptsA metric, a form check and a filter, built and tested one at a time.Look up a tokenEvery token form, what it becomes, and where each one works.Look up a functionEvery FunctionManager method, with its arguments and what it returns.Script a dashboard metricCounts, totals and guards for a Metric block.Start a workflow from another systemA URL for the workflow, an optional key, and a callback with the result.Write a custom functionA workflow step that runs your own script, and three patterns that check their own results.Build custom HTMLYour own markup on a form, with data in and captured fields out.
Which tool fits which job?
Section titled “Which tool fits which job?”| The job | Use |
|---|---|
| Work out a value inside Beezr | A Smart Script |
| Let another system start a workflow | A webhook trigger |
| Call another system from a workflow | The REST API step |
| Do something no step does, inside a workflow | A Custom function |
Another system’s keys and the Integration hub are in Connect.
Check yourself
What's next
Smart Script: the language of BeezrSmart Script is the small JavaScript you write in fields, forms, workflows and dashboards. Learn where it runs, how a script is read, and what it hands back.Write your first Smart ScriptsBuild three small Smart Scripts on a contracts app, a dashboard count, a check before save and a filtered list, and learn the conventions as you go.
Last checked