AUTOMATING SPRINGBIG EMAIL TRIGGERS USING SHOPIFY FLOWS

This guide walks you through setting up a Shopify Flow that automatically sends Email messages via Springbig. Merchants can now harness the rich customer and behavioral data from Shopify with Springbig’s Email marketing engine—all without leaving the Shopify admin.

What You’ll Learn
  • Set up Shopify Flow to send Email through Springbig
  • Use triggers like “Abandoned Cart” or customer segments
  • Create conditions to ensure customers are opted into Email
  • Create your email template in springbig
  • Send HTTP requests to Springbig to trigger emails
  • Manage API keys securely using Shopify secrets

WHY USE THIS INTEGRATION?

Through this integration, Shopify merchants gain access to the full power of Springbig’s Email marketing while leveraging the vast behavioral and transactional data available in Shopify. This combination allows merchants to:

  • Send personalized and timely emails
  • Re-engage customers who abandoned carts
  • Reward high-value or frequent shoppers
  • Win back customers who stopped engaging
  • Target based on product views, email inactivity, collection visits, and more

Think of this integration as unlimited segmentation + email automation= growth machine

SETUP INSTRUCTIONS

Step 1: Install Shopify Flow
  1. Go to the Shopify App Store
  2. Search for Shopify Flow
  3. Click Install
Install flow
Step 2: Create a New Workflow
  1. In your Shopify admin, open the Flow app
  1. Click Create Workflow
  2. You may also browse template workflows

The following screenshot is browse templates. Take a look here to get some ideas on automation flows you can setup, however, they do need to be adjusted to trigger an Email message through Springbig

Step 3: Choose a Trigger
    1. After selecting create workflow in the previous step, Click Select a trigger
    2. click the shopify app on the right side of the page
    3. here you will see a large list of triggers (75+) like: order created, refund created, etc..
    4. You can also use a segment-based trigger ‘customer joined segment’
      1. See the section below on how to create a segment
    5. For this guide we will be using the example of ‘Customer abandons checkout’. Search for this trigger and select it.

An abandoned cart in Shopify is defined as a customer adding an item to their cart, going to checkout, filling in their details and then leaving the checkout, within 1 hour of inactivity.

Step 4: Add an Email Opt-In Condition
  1. Under Then, click the + → choose Condition
  2. Click Add a variable
  1. Search for email
  2. Check Show deprecated fields
  1. Select CustomerEmailMarketingState
  1. Set condition: is equal to → Subscribed

Before moving on to the next step, make sure you have your email template created and ready to send from within Springbig. See that section here!

Step 5: Trigger the Springbig email Action
    1. Under the next Then, click the + → select Action
    2. Choose Flow → Send HTTP Request
  1. If you have a cURL from your CSM, click Import cURL
  2. Or fill in the details manually as laid out in the next section HTTTP Request Configuration:

HTTP Request Configuration

  • HTTP methodPOST
  • URLhttps://production.api.springbig.technology/general/v1/auto_campaigns/trigger

Headers

  1. Add a new header auth-token
    1. select add secret and choose auth token
    2. If you do not have a secret saved see the recommended section below
  2. Add a new header x-api-key
    1. select add secret and choose x-api-key
    2. If you do not have a secret saved see the recommended section below

IT IS VERY IMPORTANT THAT THE HEADERS HAVE THE EXACT SYNTAX 'AUTH-TOKEN' AND 'X-API-KEY'

Also we highly recommend using secrets for the security of your account. Please review the “How to add secrets” section below

Body (JSON)

This is just an example curl. Your ID’s and shopify liquid variables will change.

Paste in your ‘copy api call’ text that was copied in the email template config section here

				
					{
	"email": "{{customer.email}}",
	"auto_campaign_scope_id": 175071,
	"auto_campaign_id": 169479
}
				
			
  • auto_campaign_id
    • Description: The ID that connects to the email template message you would like to send in this flow.
    • Ask your CSM for this ID
  • auto_campaign_scope_id
    • Description: The ID that connects to the email template message you would like to send in this flow.
    • Ask your CSM for this ID
  • email
    • Description: the email you would like to send to when they come into this flow
    • you can select ‘add a variable ‘ and use a liquid dynamic variable like{{customer.email}}
Step 6: Finalize
    1. Click Apply changes
    2. Turn the workflow ON

Your Automated Workflow is now LIVE!

CREATE EMAIL TEMPLATES IN SPRINGBIG

  1. In the menu bar select autoconnects > new autoconnect
2. Scroll down to the bottom of the page and select api triggered > get started
3. Name your autoconnect, then click add email to set the campaign type as an email, and enable

4. You will now be taken to our email builder tool. If you have any questions about the tool please ask your CSM. You can browse existing templates or create a new one

5. Here is a quick view of creating a new one. Add a subject line and select schedule email when finished building your email template

6. Enable the autoconnect and click done at the bottom
7. In the next page click actions > copy api call. This will be needed for the body JSON when setting up the flow action.

TRIGGERING FROM SEGMENTS

  1. Using the Shopify app option in the right hand side, Set trigger as: Customer joins segment

  2. If segment already exists, choose it and build flow from there

3. To create a new segment:

  • Click Select segment → scroll to bottom → click Segment page

4. In admin, click Create segment

  • Choose a template or build from scratch

  • Save the segment and return to Flow

Common segment examples:

  • High-value customers
  • Inactive for X days
  • Viewed product but didn’t add to cart
  • Viewed a collection page

ADDING API KEYS AS SECRETS

Ask your CSM for Springbig API credentials - auth token and x api key

  1. In the Send HTTP Request step, click Add secret under headers
  2. Click Manage secrets → redirected to admin
  3. Click Add secret
  1. Set handle name like auth-token or x-api-key
  2. Enter value (your token or API key)
  3. Add description for clarity
  4. Save and return to Flow to use the secrets

FAQ

Q: What is the purpose of this integration?
A: It allows Shopify merchants to automatically trigger Springbig email campaigns using Shopify Flow events like abandoned cart, customer segmentation, or purchases—without needing to leave Shopify.

Q: What do I need before starting setup?
A: You’ll need an active Shopify store, the Shopify Flow app, a Springbig account with API credentials, and at least one email template created and enabled in Springbig.

Q: How do I get the auto_campaign_id or auto_campaign_scope_id?
A: These values are linked to your Springbig email template. Click Actions → Copy API Call in the Springbig dashboard, or contact your Springbig CSM.

Q: Can I use other triggers besides Abandoned Cart?
A: Absolutely. Shopify Flow supports 75+ triggers including order created, refund issued, or segment joined. You can create flows based on almost any customer or order behavior.

Q: Can I use customer segments as a trigger?
A: Yes. Choose “Customer joins segment” as a trigger in Shopify Flow. You can build segments like high spenders, inactive customers, or product viewers directly in Shopify.

Q: How do I ensure only opted-in users receive the email?
A: Add a condition using CustomerEmailMarketingState and set it to Subscribed. This ensures compliance with marketing regulations.

Q: What if I don’t see CustomerEmailMarketingState as a variable?
A: Click Add a variable, search for email, and check “Show deprecated fields” to make it appear.

Q: How do I securely store my Springbig API keys?
A: Use Shopify’s Secrets tool. In the HTTP request step, click “Add secret” for each header. Never paste keys directly—this helps keep your credentials safe.

Q: Do I need developer skills to set this up?
A: Nope! Everything is configured using Shopify’s point-and-click Flow builder and Springbig’s dashboard—no coding required.

Q: Can I use this for SMS messages too?
A: This guide focuses on email. For SMS flows, see the SMS configuration page here

ENJOY BUILDING YOUR AUTOMATINO WITH SPRINGBIG + SHOPIFY