Get automation details
Returns the full automation including triggers. userPrompt is returned as HTML (automation prompt format: basic nodes, mentions, images; no files or videos).
/automations/{id}AuthorizationOAuth2 access token · headerrequiredapi:readAuthorizationBearer token (JWT) · headerrequiredidstringrequiredcreatedAtstring<date-time>requiredCreation timestamp
createdBystringrequiredCreator user ID
executionConfigobjectrequiredExecution config
executionTypestringrequiredExecution type
agentworkflowexecutorUserIdstringrequiredExecutor user ID
idstringrequiredAutomation ID
isEnabledbooleanrequiredWhether automation is enabled
ownerUserIdobject | nullrequiredOwner user ID (for personal scope)
scopestringrequiredScope
personalworkspacetitlestringrequiredAutomation title
triggersobject[]requiredTriggers. For type webhook, webhookSecret is present after save; use POST {base}/api/automations/webhooks/{webhookSecret} to run. For type slackMessageInPublicChannel, definition contains channelId (Slack C…) and optional textPattern/useRegex. For type slackReactionAdded, definition contains emojiName and optional channelId.
Show propertiesHide properties
objectdefinitionobjectidstringisEnabledbooleansortOrdernumbertypestringdailyweeklymonthlycustomCronwebhookorganizationCreatedprojectCreatedtaskCreatedobjectCreatedslackMessageInPublicChannelslackReactionAddedwebhookSecretstring | nullOnly for webhook triggers. Present after save. Inbound webhook: POST {base}/api/automations/webhooks/{webhookSecret} with Content-Type: application/json. No auth; secret authenticates. Request body is passed to the agent as context.
updatedAtstring<date-time>requiredLast update timestamp
updatedByobject | nullrequiredLast updater user ID
userPromptobject | nullrequiredUser prompt for agent (HTML, automation prompt format: basic nodes, mentions, images; no files or videos)
workspaceIdstringrequiredWorkspace ID
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions