Discount codes are not appearing in the emails sent by Mailchimp

Sometimes Discounteo codes are not appearing in the emails sent by Mailchimp.

In some cases, Mailchimp may send the welcome email before Discounteo finishes generating and syncing the discount code. When this happens, the email can be sent without a discount code.

Previously, we recommended adding a filter to the automation trigger that allowed emails to be sent only when the Shopify Discount Code field was not empty. Mailchimp would recheck this condition after some time, and the email would eventually be sent with the discount code.

Mailchimp email Journey showing a filter that sends emails only when the discount code field contains a value.
Mailchimp Journey with a filter checking whether the discount code field is not empty

However, currently, Mailchimp no longer rechecks this condition. As a result, emails that do not meet the condition are never sent.

How to make sure your Mailchimp emails always include a discount code

To avoid this problem, update your Journey by adding a separate node that checks whether the field used to store the discount code is not empty.

  • If the discount code has already been synced to Mailchimp, the email will be sent immediately.

  • If the discount code is not yet available, the email will be sent after a delay. Please note that the minimum delay supported by Mailchimp is 1 hour.

Mailchimp welcome automation email displaying a Shopify discount code sent to a new subscriber
Mailchimp welcome automation sending an email with a Shopify discount code
Mailchimp filter condition set to check that the Shopify discount code field is not blank.
Filter condition checking whether the Shopify discount code field is not blank

If you previously set a discount code is not blank condition directly on the trigger node, remember to remove it.

Mailchimp Journey editor displaying the filter condition settings being modified.
Editing a filter condition in a Mailchimp Journey
Mailchimp Journey settings showing the deletion of a filter condition.
Deleting a filter condition from a Mailchimp Journey

Alternative way to send Shopify discount codes instantly in Mailchimp

If you want all Mailchimp emails with a discount code to be sent immediately, you can use an alternative integration method. With this approach, the discount code is displayed in the email as a clickable image that redirects customers to your store with the discount automatically applied at checkout.

You can find more details in the following article:

How to display a discount code as an image in a Mailchimp message

Last updated