Lob's website experience is not optimized for Internet Explorer.
Please choose another browser.

Arrow Up to go to top of page
Hero Image for Lob Deep Dives Blog PostDrive Repeat Shopify Customers With Personalized Thank You Postcards
Engineering
October 5, 2021

Drive Repeat Shopify Customers With Personalized Thank You Postcards

Share this post

You spend a lot of time and money acquiring customers - so much that there's an acronym for it - CAC or customer acquisition cost. One of the best ways to drive down your customer acquisition costs is to increase repeat customers. How much more valuable are repeat customers to your business? On average, repeat customers spend 3x more than one-time shoppers.

There are many ways to get repeat customers. You may have started a loyalty program, emailed out special offers or employed retargeting campaigns to encourage customers to return and complete that next purchase. The problem is digital channels are saturated and customers are harder to reach. Research shows the average consumer receives 88 emails per day. One way to diversify your marketing channels is by incorporating direct mail to reach your existing customers and turn them into repeat customers.

In this tutorial, we'll show you how to send a follow up email (with Gmail) and a postcard (with Lob) when an order is fulfilled from your Shopify store. Zapier, the no code tool, will help us automate this workflow. Once set up, the emails and postcards will go out automatically.

What you’ll need to configure the automated workflow

Access to the following accounts:

  • Your Shopify store
  • Zapier account - sign up for the starter plan with a 14-day free trial(Shopify is a premium app)
  • Lob account - free to sign up and create test postcards
  • Gmail account - free to sign up

Zachary Swetz, product manager at Clearbit inspired the workflow we’ll use in this blog post. The workflow is titled Drive repeat Shopify customers with a personalized thank you email and postcard after they purchase.

You can also see the setup in this 10 minute video.

Create test order data in Shopify

Let’s start by creating a test order with your email address. As we configure the workflow, we'll retrieve your test order from Shopify and use that customer information to send an email and create a test postcard.

  • Login to your Shopify account
  • Navigate to Customers and create a new customer with your name and email address
  • Don’t forget to tick the box “Customer agreed to receive marketing emails.
  • Complete the address details and Save.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 2


Next, click Create Order for your newly created customer.

  • Browse products and Add a product to the order
  • Collect payment and select Mark as Paid
  • Click Save on the order
  • Click the fulfill item button


Drive Repeat Shopify Customers With Personalized Thank You Postcards image 3

Configure the Zap

We are ready to connect Shopify, Gmail and Lob.

Go to our Zap page: Drive repeat Shopify customers with a personalized thank you email and postcard after they purchase.

Click on the “Try this Zap” button and login to your Zapier account.

Get order data from Shopify

We are going to trigger our Zap every time we get a new order on Shopify.

First, choose a Shopify account or connect a new account in Zapier.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 4



Run a Test trigger to confirm you are receiving data from Shopify.


Drive Repeat Shopify Customers With Personalized Thank You Postcards image 5


Filter orders from Shopify

We don’t want to send postcards to EVERY order in our Shopify store - only under the following conditions.

*Do not* continue unless the order status = *Fulfilled*

*Do not* continue unless the customer has chosen to *Accept Marketing*

This means Shopify orders whose Line items Fulfillment Status equal “fulfilled” and Customer Accepts Marketing equals true.

You can modify these filters to support your specific use case.

The Zap is already configured for you. Click Filter setup and testing, then Continue to see the test order from Shopify.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 6


The green banner with the message Your Zap would have continued, means your filter worked successfully on the test order from Shopify.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 7

Connect to Gmail to send a personalized email

Click continue to select which Gmail account to send an email from.

If you connected your Gmail account previously, choose your email address or click Connect a new account.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 8


Click To continue, finish required fields.

You’ll see we populate the To with the customer email address from our Shopify test order. Scroll down and update the From Name and Reply To email address to your own.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 9


Send a test email to the Shopify test customer email address (make sure it’s YOU and not a real customer!).


Drive Repeat Shopify Customers With Personalized Thank You Postcards image 10


Check the Sent folder in your Gmail Inbox to find the email.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 11

Send the customer a personal postcard in Lob

Now we move to the Lob action in the Zapier workflow. The Choose app & event section is already configured. No action is required.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 12


Next, select Choose account. From the Lob account drop down select an existing Lob account or connect a new account.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 13


You’ll be prompted to enter your Lob API keys.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 14



Login to your Lob.com account and go to Settings > API Keys. Copy your Test Environment API key and paste into Zapier.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 15


Back in Zapier, you can open the Set up action tab to see how we’ve configured the postcard.

  • Front File for Postcard points to a PDF image.
  • Back File for Postcard is inline HTML you can modify


Choose Lob action under Test action to confirm your test postcard is created successfully.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 16


Login to Lob.com dashboard and go to the Postcards section to see a preview of your test postcard.

Drive Repeat Shopify Customers With Personalized Thank You Postcards image 17


That's it! Now, after customers purchase on your store, you automatically:

  1. Send a thank-you email
  2. Ask for a review to support my product
  3. Send a thank-you postcard directly to their shipping address!

When you are ready, to turn on this Zap, upgrade to a paid Lob account and make sure you update your Lob API key from Test to Live.

To learn more about Lob, request a demo today!

Continue Reading