Connectors

/

Shopify

/

Enroll a Shopify customer in a Drip campaign
Write
Cross-Connector

Enroll Shopify customers in Drip only with consent

For email marketers who want one Shopify customer added to a Drip campaign after consent and enrollment checks, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Enroll a Shopify customer in a Drip campaign
Add dana@northwindtraders.com from Shopify to the Welcome Series campaign in Drip.
Dana Whitfield accepts marketing in Shopify and is active in Drip. - Campaign: Welcome Series, active - Enrollment: not yet enrolled - Consent: accepted in Shopify, subscribed in Drip Shall I enroll Dana in Welcome Series?
Shopify
Sample figures. Your results come from your own account.
shopify-get-customer
drip-get-subscriber
drip-get-campaign
drip-get-campaign-subscriber
drip-add-subscriber-to-campaign

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Shopify

Shopify
Run it on your own Shopify data.

Connect Shopify, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

One Drip enrollment needs three consent checks

Adding one Shopify customer to a Drip series means checking they accepted marketing in Shopify, have not unsubscribed in Drip and are not already enrolled. Skip one and you email someone without consent or send the same series twice.

Without PopdockAI

  • Check marketing consent on the Shopify customer
  • Look up their subscriber status in Drip
  • Find the right campaign and check current enrollment
  • Risk emailing someone who opted out

With PopdockAI

  • Consent is checked in Shopify and Drip before anything else
  • The campaign is found and existing enrollment checked
  • You see consent and campaign status and confirm first
  • The enrollment is read back from Drip afterwards

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Add the Shopify customer with email `{email}` to the Drip campaign named `{campaign-name}`, but only if their consent allows it.

**Step 1: Check the Shopify customer**

Call `shopify-get-customer` with `email` set to `{email}`. If nothing comes back, say the person is not a Shopify customer and stop. Note accepts-marketing, name, orders-count and total-spent.

**Step 2: Check Drip**

Call `drip-get-subscriber` with `email` set to `{email}`. If the status is unsubscribed, stop and report that the person has opted out in Drip. If accepts-marketing is false in Shopify, stop and report that the customer has not consented, even if they are in Drip.

**Step 3: Find the campaign**

Call `drip-get-campaign` with `name.contains` set to `{campaign-name}`. If more than one matches, list them (name, status, campaign-id) and stop. If none match, say so and stop. Then call `drip-get-campaign-subscriber` with `email` set to `{email}` and `campaign-id` set to that campaign-id; if a row comes back, say they are already enrolled and stop.

**Step 4: Confirm**

Show the customer, their consent, the campaign name and its status, and warn if the campaign status is not active. Ask the user to confirm. Do not continue without a clear yes.

**Step 5: Enroll and verify**

Call `drip-add-subscriber-to-campaign` with `email` set to `{email}` and `campaign_id` set to the campaign-id. Then call `drip-get-campaign-subscriber` again with the same email and campaign-id and report whether the enrollment is now visible.

**Rules & Guidelines:**

* `shopify-get-customer` is on the shopify server; `drip-get-subscriber`, `drip-get-campaign`, `drip-get-campaign-subscriber` and `drip-add-subscriber-to-campaign` are on the drip server.
* `drip-add-subscriber-to-campaign` is the only tool that may write, once, after Step 4.
* Do NOT call `drip-activate-campaign`, `drip-update-subscriber`, `drip-start-subscriber-workflow` or `shopify-update-customer`.

**Validation:**

* Compare emails case-insensitively.
* If the enrollment does not appear on re-read, report that Drip may take a moment to update rather than retrying the write.

Who it's for

One answer, three teams that use it

Lifecycle marketers

Start the right series for one customer

Put a buyer into a nurture or win-back series in one message, with consent checked for you.

Enroll jordan@contoso.com from Shopify in the Win Back campaign in Drip.

Customer success

Follow up a conversation with the right emails

After a call, add the customer to an onboarding series without worrying they opted out or are already in it.

Add priya@fabrikam.com to our Product Onboarding campaign in Drip if she agreed to marketing in Shopify.

Privacy and compliance

Honour opt-outs on every manual add

Customers who have not consented in Shopify or opted out in Drip are stopped, so manual adds stay compliant.

Check whether sam@northwindtraders.com can be added to the VIP Offers campaign in Drip, and add him if so.

How it works

What PopdockAI does when you ask

You give the customer email and the campaign, and your AI assistant checks consent in both systems. Nothing is added until you have seen the details and said yes.

01

Ask

You give the customer email and the Drip campaign.

Your AI tool

02

Check

It stops if they have not consented in Shopify or opted out in Drip.

shopify-get-customer
drip-get-subscriber

03

Confirm

It finds the campaign, checks they are not enrolled and you say yes.

No items found.

04

Enroll

It adds them and reads the enrollment back from Drip.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Shopify and one secure connection to your AI tool. No code, no exports.

get-data

shopify-get-customer

Returns Shopify customers with their account state, total spent and default address. Filter by name, email, tags, customer id, city, province, created date and total spent.
get-data

drip-get-subscriber

Returns Drip people (subscribers) with name, email, location, tags, status, GDPR consent, lead score and lifetime value. Filter by exact email, email domain, tag, status, country, minimum lead score, minimum lifetime value or date added.
get-data

drip-get-campaign

Returns Drip email series campaigns with status, active and unsubscribed counts, number of emails, sender and opt-in settings. Filter by name, status, minimum active subscribers or created date.
get-data

drip-get-campaign-subscriber

Returns the people subscribed to each Drip email series campaign, with the campaign's status and the person's tags and lead score. Filter by campaign id or name, a person's email, subscriber status or minimum lead score.
run-action

drip-add-subscriber-to-campaign

Subscribes a person to a Drip email series campaign by email address. Drip creates the person if they are not in Drip yet.
Read only.Nothing in Shopify Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Enrolled once, and only with consent

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation