Skip to main content

How to Integrate Deadline Funnel and Shopify Email and Shopify Flow

How to connect Deadline Funnel with Shopify flow and email

Team avatar
Written by Team
Updated over a week ago

Quick Links

Intro

In this guide, we'll show you how to integrate Deadline Funnel with Shopify and use our email links in your Shopify emails.

Integrate Deadline Funnel with Your Shopify Flow Automation

1. Copy the Webhook

After you have created your discount, you should copy the webhook:

2. Open Your Shopify Flow Automation

Open your Shopify flow, click on the plus sign, and select Action:

Search for HTTP, and select HTTP request:

3. Add The Deadline Funnel Webhook

Change HTTP method to POST, and add the webhook from step 1 to the URL field:

Add this code to the Body field:

email={{customer.defaultEmailAddress.emailAddress}}

Add Deadline Funnel Email Links to Your Shopify Emails

Whenever a subscriber clicks the Deadline Funnel email link in your emails, they will be redirected to your Shopify store and they will see the Deadline Funnel floating bar. The subscriber's unique discount code will automatically be applied when they add an item to their cart. And the discount code will only be available until that subscriber's unique deadline expires.

1. Copy the Email Link

Navigate to the 'Emails' tab in the left-hand menu.

Click on the Email Link to copy it so you can use it in your Shopify email and automatically include the subscriber's email address in your link for tracking purposes:

2. Add a Section

In your Shopify email, click on Add section:

Select Custom Liquid:

3. Add Your Email Link

Add your Deadline Funnel email link using HTML:

Your email link now appears in your email and will track your subscribers who click that link and take them to your campaign page.

Add Deadline Funnel Email Timer to Your Shopify Emails

When you are adding timers to your emails, it's important that you copy and paste a new timer code for each individual email.

Every time you copy an email timer code in Deadline Funnel, a new one is immediately created. This is to prevent email platforms from caching the timer image. This helps to ensure that your subscribers always see an updated deadline timer in their emails.

1. Copy Your Email Timer

Open the Emails tab in your campaign editor, and copy the HTML timer code:

2. Add the Timer to Your Email

Open your Shopify email and create a Custom Liquid block. Add the Deadline Funnel email timer code into the Custom Liquid field:

Save your email when you are done.

When a user receives this email, they will see a timer with their unique deadline in your Deadline Funnel campaign.

Test Your Campaign

Once you've set up your integration, make sure to do a quick test to make sure all the pieces are connecting properly. You should first visit your page to make sure that the floating bar can be seen. After that, you should opt-in to the funnel, to make sure that the integration is working.

1. Clear Your Tracking

Open your campaign, go to the testing tab, and click on Clear My Tracking:

2. Enter Your Email Address

Enter the email address that you want to use for this test:

You can now see that Deadline Funnel is waiting for our test user to go through the HTTP request in your Shopify flow:

3. Add Your Test User to Shopify

Add your test user to Shopify. You can do that by going to Customer and selecting Add Customer:

Once the user has been created, you should trigger the Shopify flow. If you, for example, have chosen "Customer tags added" as your trigger, you can add a tag to your user to enter the flow automation.

4. Confirm Your Test User

Once you have opted in to your Shopify flow, you should be able to see the user in your Deadline Funnel campaign (it might take a few minutes, so make sure to wait and refresh the page):

If you can see that the event was received, it means that your integration is working!

Related Resources

Support

If you have any questions please chat with us through the messenger in your account, send an email to help [at] deadlinefunnel [dot] com, or schedule a quick call with our team. We'd love to hear from you and we're happy to help!

Did this answer your question?