How to Send Your Code Email via Mandrill
Coupon Carrier can send Code Emails through Mandrill, Mailchimp’s transactional email service. This lets you keep using your Mandrill templates and sending setup while Coupon Carrier assigns the unique code, voucher link, QR code, or barcode for each recipient.
Use Mandrill delivery when you want more control over your transactional email templates, sending domain, or Mandrill subaccounts. If you want the fastest setup, use Coupon Carrier’s built-in email instead.
New to this workflow? See the Mandrill integration overview for when to use Mandrill, what Coupon Carrier handles, and common transactional email use cases.
Before you start
You’ll need:
- A Coupon Carrier Code Email configuration
- A Mandrill account
- A Mandrill API key
- A Mandrill template where the code or QR/barcode should appear
Mandrill merge tags
Use these merge tags in your Mandrill template:
- Unique code:
*|CC_CODE|* - QR/barcode image URL:
*|CC_BARCODE_URL|*
You can also use trigger fields such as *|FNAME|* or *|EMAIL|* when those values are available from the trigger.
Here's how to get started
Create or edit your Code Email, then choose Mandrill as the option for sending the email.

When selected, you're prompted to enter your Mandrill API key, which you can find under the settings menu in your Mandrill account.
Once connected, you're required to select a template to be used for sending the emails. Switch over to Mandrill and create a new or edit the email template that you want to use. To display the unique code in the email, you need to add the merge tag, *|CC_CODE|*, which Coupon Carrier passes when triggering the email to be sent.

Save and publish the template changes and then switch back to Coupon Carrier, where you can select the template.

The next step is to test the template to verify that it's working as expected. Use the Send a Test Email button to send a test to yourself. You can optionally change the code value passed along and add additional merge values that you're using in your template, for example, the recipient's first name or email address.
