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

nametyperequiredconstraints
connectionstringyesName of the connection instance
actionstringyesenum: SEND_EMAILOperation to perform
sendFromstringyesSender email address
sendTostringyesRecipient email address
subjectstringyesEmail subject line
messagestringyesEmail body content
attachmentsarray[File]noOptional 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"
    }
  ]
}