Skip to content

Automations

View and manage scheduled campaign automations — enable, disable, and inspect job history.

Full name: campaignstack_list_automations

automations:read Read-only Idempotent

List the recurring jobs a campaign runs on a schedule, with each one’s name, when it runs, whether it is on, and how the last run went. Call this when the user asks what is running by itself, or to find the automationId that campaignstack_toggle_automation needs. Workflows are a different thing and are listed by campaignstack_list_workflows.

NameTypeRequiredDefaultDescription
campaignIdstringYes(min length: 1)

Full name: campaignstack_toggle_automation

automations:write

Turn one scheduled automation on or off and report the state it ended in. Call this when the user names an automation and says to pause or resume it; say which one and which direction before calling, because turning one off stops work the workspace expects to happen. It does not stop a run already in flight, and it changes nothing about any other automation.

NameTypeRequiredDefaultDescription
automationIdstringYes(min length: 1)

Full name: campaignstack_get_automation_jobs

automations:read Read-only Idempotent

The last ten times one automation ran, with the outcome and timing of each. Call this when the user asks why an automation did or did not do something, or after a run they expected to see. It covers one automation: campaignstack_list_automations has the rest, and campaignstack_get_workflow_stats covers workflows.

NameTypeRequiredDefaultDescription
automationIdstringYes(min length: 1)