The Automation Email Action API manages the email content of a "send email" action within a site's automation: the subject line, preview text, and editor content sent when the action runs.
With the Automation Email Action API, you can:
Send email actions are configured as part of a site's automation using the Automations V2 API. The Automation Email Action API manages an existing action's email content only. It doesn't create the action itself.
It's important to note the following points before starting to code:
automationId of the automation it belongs to and the actionId of the send email action within that automation. Find these values by retrieving the site's automations with the Automations V2 API and looking for an APP_DEFINED action whose actionKey is triggered-emails.composer.composerDataJson, a proprietary structure: an invalid value can prevent the content from being previewed or sent.language selects a single translation of the content. Content structure is shared across languages, so only the text differs between them.triggered-emails, which sends an email when the automation runs.Last updated: 16 September 2026