Actions4
- Recipient Actions
- Transactional Mail Actions
Transactional Mail → Send
AI-generatedSummary
Sends a transactional mail via the Optimizely Campaign API using a selected mailing, recipient list, and mapped recipient attributes from incoming workflow data.
Inputs
- transactionalMailId (required) — Pick which mailing should be sent out
- transactionalMailRecipientListId (required) — Choose the recipient list linked to this transactional mail
- transactionalMailRecipientIdField (required) — Select the field that will be used as the unique recipient ID. This field will be used for matching.
- txnColumns (required) — Map incoming data to the recipient list attributes used by this transactional mail
Output shape
{ success: true, operation: 'send', data:
On failure, throws a NodeApiError with the API error details.
Examples
Example 1: Send a transactional mail with recipient ID from mapped data
Select a transactional mail, its linked recipient list, the recipient ID field, and map the incoming item's data so the recipient ID field value is included. The node will POST to the send endpoint with the recipient list ID, recipient ID, and any other mapped attributes as data.* parameters.