Transactional Mailer
Overview:
The Transactional Mailer is triggered by API to send emails based on actions taken on your website or app. Common use cases include order confirmations and password reset links.
Use Cases:
- Password reset emails
- Order/invoice confirmations
- Account status notifications
How to Create a Transactional Mailer:
- Go to the Campaigns section and click Create Campaign.
- Select Automations.
- Choose Transactional Mailer and click Next.
- Select a subscriber list (email addresses will be added if not present).
- Click Next, name the campaign, and confirm sender details.
- These sender details can be included in the API for customisation.
- Proceed to the next step to set subject line, preheader, and UTM settings.
- You may enter a dummy subject line and preheader as they will be sent via API
- On the template selection screen:
- You may choose a blank template since content will be sent via API.
- Click Next to review settings and save the automation.
Integration:
- The Trigger APIs are available in cmercury’s API documentation.
- A trigger ID is generated for each automation mailer.
- Trigger ID can be seen in the campaign dashboard and should be included in API.
- Use the Fire Trigger API to send emails.
- For emails with attachments, use the Attachment Trigger API.
- Subscribe to delivery events via the Event Subscription given in API documentation.
API Documentation is available on final step or at https://cmercuryapi.readme.io/