/
/
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.
On this page
Connector
Connect Shopify, pick your AI tool and paste the prompt.
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.
**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.
02
Check
It stops if they have not consented in Shopify or opted out in Drip.
03
Confirm
It finds the campaign, checks they are not enrolled and you say yes.
04
Enroll
It adds them and reads the enrollment back from Drip.
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.
shopify-get-customer
drip-get-subscriber
drip-get-campaign
drip-get-campaign-subscriber
drip-add-subscriber-to-campaign
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.
The outcome
Enrolled once, and only with consent
Related use cases
More ways to put this data to work
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.

.webp)
