Automation Rules

Create an automation rule for the current company. The rule is saved as a draft unless status is set to active. Conditions must include at least one positive condition — a rule made only of negations matches nearly every order line.

post/api/automation-rules/

Request body

namestring required
descriptionstring
workflowIdstring
workflowTemplateKeystring
stepConfigsobject
triggerCronstring
timezonestring
status'draft' | 'active'
conditionsSchema0Input required— unresolved $ref

Response

Default Response

Changes

Changed in 1 of the 21 revisions of this API.1

Of the 21 revisions, 1 has no diff computed.