Docs »

Automations »

Triggers »

scripting.function

scripting.function automations are invoked with the cerb_automation() function from scripting anywhere in Cerb (e.g. automations, behaviors, snippets, events, toolbars).

Inputs

The automation dictionary starts with the following values:

Key Type Notes
inputs dictionary Custom input values from the caller

Outputs

return:

When the function concludes in the return state, it returns any number of key/value pairs to the caller. Keys may be nested to return dictionaries.


return:
  key1: value1
  key2: value2
  ...