SMTP Step
Sends an email via SMTP are part of your workflow. Use this step when you manage your own SMTP server or must deliver through specific domains.
Top-level properties
| name | type | required | constraints | |
|---|---|---|---|---|
connection | string | yes | Name of the connection instance | |
action | string | yes | enum: SEND_EMAIL | Operation to perform |
sendFrom | string | yes | Sender email address | |
sendTo | string | yes | Recipient email address | |
subject | string | yes | Email subject line | |
message | string | yes | Email body content | |
attachments | array[File] | no | Optional attachments |
Attachment File — same as other integrations.
Example (JSON)
{
"connection": "smtp-prod",
"action": "SEND_EMAIL",
"sendFrom": "[email protected]",
"sendTo": "[email protected]",
"subject": "Invoice",
"message": "Please find your invoice attached.",
"attachments": [
{
"source": {
"id": "file-777",
"downloadUrl": "https://files.example.com/download/file-777"
},
"name": "invoice.pdf"
}
]
}Updated 22 days ago
