Create automation
Delegates to AgentWorkflowService.createInternal — runs the full pipeline including cron + timezone validation and JobRunr recurring-job registration. Schedules created via API DO fire (was a bug in the initial PR).
Autorizações
Parâmetros de caminho
Corpo
Body for creating a new automation (workflow) on an agent.
How the automation is triggered (e.g. schedule, manual, external event).
manual, schedule, webhook, webhook_url Short description shown in the automation list.
500"Runs every morning and emails the invoice digest."
Human-in-the-loop approval mode for this automation.
auto_approve, pause_on_approval Display name of the automation.
150"Daily invoice summary"
Prompt executed by the automation when triggered.
10000"Summarize the invoices created in the last 24 hours and send the digest."
Cron expression for scheduled triggerMode. Ignored for non-scheduled modes.
100"@daily"
IANA timezone in which the schedule cron should be interpreted.
50"America/Sao_Paulo"
Trigger-specific configuration object. Shape depends on the triggerSlug.
Trigger slug within the toolkit (for event-based triggers).
200"GMAIL_NEW_EMAIL"
Composio toolkit slug used to source the trigger (for event-based triggers).
100"gmail"
Resposta
Created
Scheduled / trigger-based agent automation.
auto_approve, pause_on_approval active, inactive manual, schedule, webhook, webhook_url 
