Loops icon

Loops

Consume the Loops API

Actions12

Transactional Email → Send

AI-generated

Summary

Send a transactional email using a specified published transactional email template to a recipient email address, optionally including data variables, attachments, and adding the recipient to the audience.

Inputs

  • Transactional ID (required) — ID of the published transactional email template to send.
  • Email (required) — Recipient email address for the transactional email.
  • Data Variables — Key-value pairs to personalize the template with dynamic data.
  • Attachments — Multiple file attachments with filename, MIME type, and base64-encoded content.
  • Add to Audience — Whether to add the recipient as a contact if they do not already exist.
  • Idempotency Key — Unique key to prevent duplicate email sends in case of retries.

Output shape

a single response object indicating the result of the transactional email send request

The operation sends a POST request to the '/transactional' endpoint and returns the API response as JSON. If an idempotency key is provided, it is sent in the request headers to avoid duplicate sends.

Links

Discussion