AutomationRuleActionInput

Action that should be executed when the condition of the automation rule is met.

Input Fields

name (String!)

Name of the action.

value (String!)

The action that should be executed when the condition of the automation rule is met. Takes one of the following forms:

  • update <record> set <field> = <value>
  • update <record> add <value> to <collection>
  • update <record> remove <value> from <collection>
  • update <record> clear <collection>
  • update <record> add note '<value>'
  • after <delay> trigger '<rule>'
  • call webhook '<webhook>' with payload '<payload>'

When the action operates on the current record, leave out update <record>.

Examples:

  • update change set manager = my_person
  • add my_ci to cis
  • add note 'Hello {{@my_person}}'
  • after 30.minutes trigger 'My Delay Rule'
  • call webhook 'My Webhook' with payload 'my_payload'