CreateAutomationTrigger
Create an automation trigger.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The request for a call to AutomationService_CreateAutomationTrigger.
The request for a call to AutomationService_CreateAutomationTrigger.
AutomationTriggerActionKind is what a trigger does when it fires. v1 is CANVAS_EVALUATION only.
AUTOMATION_TRIGGER_ACTION_KIND_UNSPECIFIED, AUTOMATION_TRIGGER_ACTION_KIND_CANVAS_EVALUATION AutomationTriggerMatchFilter selects which stopped runs a trigger matches. Empty asset_ids, absent name_match, and empty metadata_matches each match any value. Dimensions are AND'd. STARTS_WITH / ENDS_WITH / CONTAINS are case-insensitive; REGEX is Go regexp (add (?i) for case-insensitive).
AutomationTriggerActionParams is the public action_params shape, oneof by action kind.
Defaults to true when unset.
Defaults to the creating user's address when empty.
Names the reports this automation publishes, stored on the trigger. Omit
it to let the server apply the run-aware default: when the trigger binds a
triggering run and the canvas has no template of its own, the new trigger
is given one naming its reports after that run. See
sift_internal.canvas.v1.Canvas.report_name_template for the syntax.
AutomationTriggerKind is the source that causes a trigger to fire.
- AUTOMATION_TRIGGER_KIND_RUN_STOP: Fire after a matching run stops.
- AUTOMATION_TRIGGER_KIND_SCHEDULE: Fire on a recurring cron cadence in an IANA timezone.
Reserved. Create/Update reject this value.
AUTOMATION_TRIGGER_KIND_UNSPECIFIED, AUTOMATION_TRIGGER_KIND_RUN_STOP, AUTOMATION_TRIGGER_KIND_SCHEDULE Required when trigger_kind is SCHEDULE.
IANA timezone. Required when trigger_kind is SCHEDULE.
Response
A successful response.
The response of a call to AutomationService_CreateAutomationTrigger.
AutomationTrigger is a Canvas Scheduler rule: match a stopped run or fire on a cron cadence, then dispatch (v1: EvaluateCanvas).