Turn your Shopify customer segments into always-on AI Voice Agent campaigns. Pick a segment once when you create the campaign: it stays in sync with Shopify, so every shopper who matches your conditions is called by your AI Voice Agent (AIVA).
This article covers the Shopify-specific steps. For the full campaign setup, please see Outbound Campaigns: Creating and managing AI Voice Agent campaigns.
What you can do with Shopify segments
It works with any segment you create in Shopify, for example for:
- Abandoned cart and checkout recovery
- Post-purchase upsell and cross-sell
- Replenishment reminders
- Subscription retention and cancellation saves
- Failed payment recovery
Whatever the scenario, create the segment in Shopify before you create the campaign. This article uses one example throughout: calling shoppers who abandoned a checkout, to help them complete their order.
Before you start
- Shopify connected to Aircall. If it isn't yet, follow Using your Shopify integration. No new permission is needed if your store is already connected.
- A customer segment in Shopify with the shoppers you want to call, for example shoppers who abandoned a checkout (see Step 1).
- Consent and calling rules checked for your target markets (see Step 1).
- An AIVA agent configured for outbound use (see Step 2).
- An AI Voice Agent campaign configured with your AIVA agent (see Step 3).
Setting up your campaign
Setting up your campaign takes three steps: prepare your segment in Shopify, configure your AIVA agent, then create the campaign and import your segment.
Step 1: Prepare your contact list in Shopify
Your campaign calls the shoppers of a Shopify customer segment. Set it up in Shopify first, so the campaign can pick it up.
Collect phone numbers at checkout
Without a phone number, a shopper can't be called. To collect phone numbers at checkout:
- In Shopify, go to Settings > Checkout > Customer information.
- Make sure the phone number field isn't hidden: set it to Optional or Required.
Create your customer segment
- In Shopify, go to Customers > Segments and create the segment.
- Define the segment's condition. You can write it yourself or describe it to Shopify's AI assistant. For abandoned checkouts, use one of these:
- The condition
abandoned_checkout_date >= -7d(shoppers who abandoned a checkout in the last 7 days). - This prompt: Create a customer segment called "Abandoned checkouts" with customers who abandoned a checkout in the last 7 days.
- The condition
- Save the segment.
Good to know:
- A checkout counts as abandoned once the shopper has entered their contact details and left without paying. Shopify records the abandoned checkout about 10 minutes after the shopper leaves.
- Date conditions work in whole days, from 1 day up, in your store's time zone.
- A shopper leaves the segment once their most recent abandoned checkout is older than the time window of your condition. With the 7-day condition above, that is 7 days after they abandoned the checkout.
Note: Shoppers who bought aren't called. You don't need to exclude buyers from your abandoned checkout segment: Aircall checks their orders. See What's imported, and what's rejected below.
Consent and calling rules
You're responsible for obtaining the right consent from your customers and for complying with telemarketing laws in your target markets.
Note: Campaigns don't check consent or handle opt-outs. Every customer in the segment you pick is imported and can be called. It's up to you to make sure your segment only includes customers who agreed to be called, and to exclude those who ask not to be called again.
For AI Voice Agent calls, keep in mind:
- Consent: in most markets, contacts must have given prior, specific consent to receive automated or AI voice calls from your company (for example, prior express written consent in the US). Make sure every customer in your segment has given it, and keep a record.
- Calling hours: call only within the hours allowed in each country.
- AI disclosure: your AIVA opening message should state clearly that the caller is an AI. Remove contacts who ask not to be called again.
For more details, please see the compliance requirements in Outbound Campaigns: Creating and managing AI Voice Agent campaigns and Outbound AI Voice Agent setup guide.
Step 2: Configure your AIVA agent
Follow the detailed steps in Outbound AI Voice Agent setup guide.
Steps
- Write the call script and first message, for example helping the shopper finish their order.
- Set up the voicemail drop.
- Set up transfer rules if needed.
- Add variables to personalize the call, for example
first_namein your greeting. In the campaign, you map Shopify customer fields to them, such as first name, last name, email or company.
Step 3: Create the campaign and import your Shopify segment
Create an AI Voice Agent campaign as described in Outbound Campaigns: Creating and managing AI Voice Agent campaigns: general settings, AIVA agent, dialing strategy and calling hours.
Choose the campaign type
Under Campaign type, choose Continuous. Your calling list then stays up to date on its own: shoppers who match your segment conditions keep arriving, and AIVA calls them with no further effort. You set it up once, and it runs.
Note: One-time campaigns import a snapshot of the segment when you add it. Shoppers who ordered before the import are left out, but later changes aren't reflected: shoppers who order after the import aren't withdrawn and can still be called. That's why continuous campaigns are recommended for abandoned checkouts.
Import your segment
In the Contact sources step of the campaign creation:
Steps
- Open the Import with integrations tab and select Shopify in the Integration list.
- Search for your segment and select it.
- Choose the Import mode:
- Import, then keep updating (recommended for abandoned checkouts): calls the shoppers already in the segment, imports the shoppers who are in the segment now (for example, those who abandoned a checkout recently), then adds every new shopper who joins it.
- Keep updating: only calls shoppers who join the segment from now on. Choose it if you don't want to call the shoppers who are already in the segment.
- Set the Priority for new contacts: At the beginning calls new shoppers before the contacts already waiting in the Live queue, so shoppers who just abandoned a checkout are called first. At the end calls them after the contacts already waiting.
- Set the Default country prefix: it's added to numbers saved without a country prefix, so they're dialed correctly.
- Map the phone number and the Shopify customer fields (first name, last name, email, company, etc.) to your AIVA variables.
- Select Save as draft or Launch campaign.
- After you launch the campaign, open the Sources tab to check that your contacts were imported as expected. Select View events for details.
What's imported, and what's rejected
- Imported: every customer in the segment you picked. Aircall adds no filter of its own, except for abandoned checkout segments (see below).
- Phone number: Aircall looks for it in this order - the customer's profile, then the abandoned checkout, then the shipping address of their last order.
-
Rejected at import: you can see each rejection and its reason in Sources > View events.
- No phone number: no phone was found for the customer. You don't need a phone condition in your Shopify segment.
- Duplicates and invalid numbers, as for any import.
Exception: shoppers who bought, in abandoned checkout segments
Shopify keeps a shopper in an abandoned checkout segment after they complete their order, so the segment and its count in Shopify still include them. For segments that use the abandoned checkout condition, Aircall checks orders so buyers aren't called:
- Ordered before being added to the campaign: not added. You see them in Sources > View events, with the reason Ordered.
- Ordered after being added: withdrawn from the Live queue almost instantly. A call in progress continues, and past results stay in Outcomes.
- Ordered, then abandoned another checkout: added and called, as long as they weren't called before in this campaign. Shoppers who were already called aren't called again (see Current limitation in How the sync works).
Other segments are imported exactly as Shopify returns them, buyers included. For example, a segment of customers who spent more than $100 this week works for courtesy calls or post-purchase upsell.
How the sync works
- Customers joining or leaving the segment are synced almost instantly. Aircall checks for changes every minute: as soon as Shopify adds a customer to the segment, they're added to the queue, and when a customer no longer matches the segment's conditions, they're removed (see below).
- If you edit the segment's conditions in Shopify, the campaign usually updates just as fast, but it can take up to 1 hour due to a Shopify limitation.
- When a customer leaves the segment (for example, their abandoned checkout is older than 7 days):
- Not called yet: removed from the campaign.
- Called, with a retry pending: no more calls; their results stay in Outcomes.
- Already completed: stays in Outcomes with their final outcome.
- On a call: the call continues normally.
- Pausing the campaign stops dialing, not the sync. To stop the sync, select Stop sync in the Sources tab, or archive the campaign.
Note: Current limitation: customers who already have an outcome in the campaign can't be added again. If they join the segment again, they're skipped as duplicates. To call them again, use a separate campaign.
Running and monitoring your campaign
Run your campaign
- AIVA calls shoppers within your calling hours, following your attempts and retry settings.
- Parallel calls: the campaign's number pool sets how many AIVA calls run at the same time, within your organization's limit. See Outbound AI Voice Agent setup guide.
- A continuous campaign with an empty queue stays in progress: AIVA calls new shoppers as soon as they join the segment.
Follow the results
- In the campaign Overview: follow contacts waiting to be called in Live queue and results per contact in Outcomes.
- In Analytics: see overall campaign results in the Outbound+ dashboard, filtered by campaign. Please see Outbound+ dashboard.
- For statuses, retries and duplicating campaigns, please see Outbound Campaigns: Creating and managing AI Voice Agent campaigns.
FAQs
Can I use Shopify segments in human agent campaigns?
Yes. Human agent campaigns can use Shopify segments the same way. Follow the calling rules of your target markets, such as Do Not Call registers: see Outbound Campaigns: Overview and Outbound Campaigns: Creating and managing human agent campaigns.
Are shoppers who already bought still called?
Not in abandoned checkout segments: Aircall checks orders, so shoppers who ordered before joining the campaign aren't added, and shoppers who order afterwards are withdrawn from the Live queue. Other segments are imported exactly as Shopify returns them, buyers included. See the exception in What's imported, and what's rejected.
Why isn't a customer in my campaign?
Open Sources > View events to see each rejection and its reason. Possible reasons:
- The customer has no phone number, or the number is invalid.
- The phone number is already in the campaign (duplicate).
- The customer ordered, in an abandoned checkout segment.
- The customer already has an outcome in this campaign and joined the segment again.
- You edited the segment's conditions in Shopify, and the update can take up to 1 hour.
Does Aircall check consent or handle opt-outs?
No. Campaigns don't check consent or handle opt-outs. It's up to you to make sure your segment only includes customers who agreed to be called, and to exclude those who ask not to be called again.