Docs »

Automations »

Triggers »

automation.function

automation.function automations are reusable shared functions triggered by other automations.

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
  ...