How to send “Thanks for booking” receipt to customer using Mailchimp
Automatically send a custom “Thanks for booking” email to customers in Tangram using Mailchimp, Zapier, and Tangram.
At A Glance
- Create “merge tags” in Mailchimp for every piece of transaction info you want in the receipt (e.g. provider name, listing name, price, date/time, etc)
- Create a Zap in Zapier that updates a user’s merge tag values (aka the details of their most recent transaction) and adds the tag “CustomerNeedsReceipt” in Mailchimp using the Tangram “New Transaction Created” Webhook
- Use the “CustomerNeedsReceipt” tag as a starting point for a new Mailchimp Customer Journey. Make the 2nd step to send the email. Once the email is sent remove the “CustomerNeedsReceipt” tag.
Step 1: Create Merge Tags
- Login to your Mailchimp account and navigate to ”Audience” > “All Contacts” > “Settings” > “Audience fields and *|Merge|* tags”
- Create a text merge tag for every piece of data you want passed from the transaction into the email (e.g. listing name, provider name, location, subtotal, total, etc.). Name them something along the lines of “Listing Name (Most Recent Transaction)”. Click “Save” after creating every field.
Note: Each merge tag must be of the type “text” in Mailchimp in order to display properly in the automated Mailchimp emails as the data being passed via the Tangram webhook is a “string”.
The following data is currently passed in the Tangram, “New Transaction Created” Webhook and can be pulled into your Mailchimp emails:
Customer Name: (customer’s full name)
Provider Name: (listing creator fname and lname)
Listing Name: (title)
Listing Description: (description)
Start Date/Time: (start date/time of event in UTC)
Location: (links to a page in-app with all transaction details)
Link: (links to a page in-app with all transaction details)
Total: (total customer was charged)
Step 2: Create Zap
- For your Zapier trigger you will want to search for Webhooks by Zapier and select “Catch Hook” for the trigger event. Note: Remember to name your Zap something clear like “Customer New Transaction Mailchimp x Tangram”.
- Copy the Custom Webhook URL that has been provided by Zapier at this step and paste it into the Webhook URL field in your admin settings in the “Webhooks” tab.
- Click “Test Webhook” in Zapier to send test data to Zapier. This test data will be what you use to build your custom email.
- Click “Test Trigger” in Zapier to test that the test data arrived properly from Tangram.
- For your Zapier action you will want to search for Mailchimp and choose “Add/Update Subscriber” for the app event
- Select a Mailchimp account and audience. If you have not created a mailchimp audience yet read how to do so here. You usually only ever need one audience for all your contacts, so it is usually sufficient to have one named something like [your company name] Audience. Fill the “Subscriber Email” field with the customer email from the test data.
- Tag the Subscriber as a “Customer” and “CustomerNeedsReceipt” and click “continue”. If you also want to pass the first and last name of the user or other fields you can also do so in this section.
Note: learn how to split the name of the user into first and last name here.
- Send a test subscriber to your mailchimp account to make sure the Zap works properly. If it is successful you should see a new user in your Mailchimp contacts for the audience you specified with a tag “Customer” and “CustomerNeedsReceipt”.
- Turn the Zap on
Step 3: Create Mailchimp Customer Journey
- Click the “Customer Journeys” tab in Mailchimp under “Automations” on the left-hand side. Click “Create Journey”.
- Choose a starting point for the customer journey. In this case, we want the starting point to be when the “CustomerNeedsReceipt” tag you created in the earlier steps is added to a subscriber in Mailchimp.
- The next step in the customer journey is to send the email. Click “Add a journey point” then select the “Send Email” action.
- Specify To & From Emails, Subject, and Schedule
- Design your email. See how to use the Mailchimp email designer here.
- The last step is to remove the “CustomerNeedsReceipt” tag after the email is sent.
- Hit “Continue” to save and publish your Mailchimp Customer Journey
- Congrats! Your custom email is now set up!