...
Code Block |
---|
"triggers": [ { "event":"on-approve", "conditions": [ { "state":"Review" } ], "actions":[ { "action":"send-email", "recipients":[ "@creator" ], "notification":{ "subject":"${content.title} has been approved", "title":"${content.title} has been approved", "body":"Hello, ${content.link} in the ${content.space} has been approved by one approver" } } ] }, ] |
If adding the JSON trigger using workflow builder there is no need to include the opening "triggers":
JSON markup notation, since It as it will be added automatically by workflow builder.
event | on-approve |
|
---|---|---|
condition | state:Review |
|
action | send-email |
|
on-approve and on-reject multiple event trigger
...