Dynamic Content Mailer
Overview:
This mailer sends templated emails with content customized dynamically through API requests. Perfect for personalized communication, form acknowledgments, or internal team alerts.
Use Cases:
- Personalized invoices
- Form submission acknowledgment
- Internal lead alerts
How to Create a Dynamic Content Mailer:
- Go to Campaigns and click Create Campaign.
- Select Automations.
- Choose Dynamic Content Mailer and click Next.
- Choose a subscriber list.
- Name your campaign and confirm sender details.
- Set subject line, preheader, and UTM settings.
- Create or select a template. Template creation is mandatory.
- Insert dynamic codes like {first_name}, {order_details} etc in the template where they should be replaced by the content passed through API. Include these codes along with content to replace them in the API.
- Click Next to reach the review page.
- Review and Save 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 Dynamic Template Trigger API.
- Pass dynamic values using HtmlMergeFields in API:
“HtmlMergeFields”: [
{“code”: “first_name”, “value”: “John”},
{“code”: “last_name”, “value”: “Doe”},
{“code”: “order_details”, “value”: “Order #1234 placed on May 20”} ]
Examples:
- Sending personalized invoice with itemized breakdown
- Thank-you mailers with customer name and product bought
- Dynamic product recommendation emails suitable for each customer.
- Alerts to sales team with lead form contents
API Documentation is available on final step or at https://cmercuryapi.readme.io/