Skip to main content
All CollectionsIntegrations
Awaz.ai + Shopify Integration: Update E-commerce Records & Trigger Post-Purchase Calls
Awaz.ai + Shopify Integration: Update E-commerce Records & Trigger Post-Purchase Calls

Enhance customer engagement with Awaz.ai–Shopify integration via Zapier to log calls and trigger AI outreach for online orders.

Updated this week

Overview


Integrate Awaz.ai with Shopify using Zapier to improve customer interactions. This guide covers:


Scenario A: Updating Shopify order or customer records after an AI call (e.g., tagging a customer post-follow-up).
Scenario B: Triggering AI calls for new Shopify orders (e.g., confirmation calls, upselling opportunities).


This integration helps bridge voice outreach with online sales for personalized, automated customer engagement.


Scenario A: Update Shopify Customer/Order Info After an Awaz.ai Call

Goal:

When an Awaz.ai call happens (likely to a customer), update their Shopify record – for instance, add a note to their customer profile, or update an order’s notes/tags if the call was about a specific order.

Step 1: Set Up Awaz.ai Call Trigger

  1. Create Zap with Awaz.ai “New Call” trigger: Choose Awaz.ai with trigger “New Call (call finished)”. Connect account if needed.

  2. Test trigger: Get sample call data, which should include the phone number at least, possibly the customer’s name if known to Awaz.

Step 2: Find the Shopify Customer or Order

To update Shopify, we need to identify the right record:

  • If the call was in general to the customer, we likely want to find the Shopify Customer by phone or email.

  • If the call was specifically about an order (like an order confirmation call), we might want to find that Order by number or ID.

Option 1:

Find Customer by Phone or Email:

3. Add Shopify “Find Customer” action: Choose Shopify, event = Find Customer. Set search term – if Awaz provided an email, use that (Shopify customers are uniquely identified by email usually). If only phone, Shopify’s find customer may not search by phone through Zapier by default (Zapier’s find might allow phone as query though). If not, consider using Shopify’s Search (there’s also “Find Order” but for customers, likely email is best).

  • If Awaz call didn't have email, but you have phone, you could do a workaround: search customers by phone could require a GraphQL or custom API call. Alternatively, if phone is included in customer record as phone or as default address phone, Zapier's find might not support phone directly. Another approach: use Find Order by phone (if the call was related to an order, but not guaranteed to match).

  • For simplicity, let’s assume you have customer’s email available (maybe Awaz agent asked it or you had it in Awaz contact). If not, you may skip find and just create note by phone reference, which is tricky. Possibly better to do nothing if we can’t identify or perhaps create an internal record in Shopify via meta.

4. If find fails: You can either create a new customer (not likely want to do from call) or just not update. You might want to log this in an admin notification instead.

Option 2:

Find Order by Number (if call about an order confirmation):

3. Add Shopify “Find Order” action: If during call the order number was mentioned or you triggered call from order (scenario B), you might pass the order ID along. Without that context, finding by phone might find multiple orders by that phone (e.g., if the phone is in shipping info, could query via Shopify Order search by phone).

  • Shopify find order by Zapier allows search by Order Number or Name, or perhaps by other fields. If phone is present in order contact info, you might try search query as phone. Possibly better: find customer first, then find their latest order.

  • If your use-case is specifically post-purchase calls, you likely triggered the call from scenario B with order info, so scenario A could instead be triggered by the same event (though that would be redundant). Possibly scenario A is more for an inbound support call and then you'd update something.

Given complexity, let’s illustrate a straightforward one: Assume we want to tag the Shopify Customer who was called.

4. Add “Update Customer” action: Instead of find plus update separate, Shopify might have a direct “Update Customer” action where you provide ID. But you need the ID from a find. So do find first:

  • Use “Find Customer by Email” if possible. Map Awaz email.

  • Then “Update Customer” with the ID from find.

5. In Update Customer, set fields: e.g., add a Tag “Called”. Shopify allows adding tags. If you want to keep existing tags plus add, be careful: Zapier might need the full list of tags (including old ones) when updating. The API expects the entire tag string. So ideally, fetch current tags from find step and append new tag. Zapier might have a field for tags and will override. You can do like {{Found Customer Tags}}, Called in the tag field to append. Or if there's a specific note field, you could update that: e.g., add text to Customer Note: “Spoke with customer via Awaz on 2025-03-05 – interested in VIP program.”

  • Alternatively, create an Order Note if referencing an order. Then you'd do “Update Order” action, providing order ID and then note or tag.

6. Test update: This will modify the customer (or order). Check in Shopify admin if it succeeded: the customer should now have the new tag or note.

  • If the customer wasn’t found, Zap might error. You could handle that with Paths: Path A if found -> update; Path B if not found -> maybe create an internal record or skip. For simplicity, ensure your test uses a known customer.

Troubleshooting Scenario A:

  • Find by phone fallback: If email isn’t available, and if phone is unique enough, one workaround: use Shopify API via Webhooks or code: There's the “Shopify Admin API” which you could call in a Webhook step to search customers by phone (GraphQL or REST). That’s advanced and requires API credentials and careful use to avoid complexity beyond this guide.

  • Ensuring no duplicates: If you choose to create new customer when not found (Zapier find has that option), you might inadvertently duplicate an existing one if search criteria misses. Prefer to not auto-create or use robust search.

  • Mapping correct fields: For update, to add a tag without wiping existing, know that Shopify expects a comma-separated string of all tags. If Zapier’s integration requires explicit tags, you might do: {{find_customer_step.tags}}, AwazCalled in the field.

  • Limitations: Shopify triggers (like new order) give complete data including customer ID, which could simplify scenario A if we use scenario B’s trigger for scenario A actions. Possibly easier: combine scenario B and A in one Zap triggered by order, then call, then update order or customer. But scenario A as separate makes sense if calls can happen outside just new order events.


Scenario B: Trigger an Awaz.ai Call when a Shopify Order is Placed

Goal:

Whenever a new order is created in Shopify, trigger a follow-up call. Examples: an automatic order confirmation call (the AI thanks them for purchase and confirms details), or an upsell call (AI offers a related product or asks for feedback), or a delivery confirmation call later (though that would be at fulfillment, which is a different trigger).

We will do for simplicity: call soon after order is placed.

Step 1: Set Up Shopify Order Trigger

  1. Create Zap with Shopify “New Order” trigger: Choose Shopify, event = New Order (triggered when an order is created, typically when checkout is completed).

  2. Connect Shopify account: If not connected, do so (you’ll need store URL and API credentials which Zapier handles via OAuth usually).

  3. Configure trigger: If you want all orders or only certain ones? You can use a Filter later if needed (e.g., only orders over $X trigger a VIP call, or only for certain product triggers an upsell). Initially, trigger on all new orders.

  4. Test trigger: Zapier will fetch a sample order. Check the data: key parts are Customer info (name, email, phone, etc.), Order ID/number, line items, total price, etc.

    • Ensure the order has a phone number. In Shopify checkout, phone may or may not be required depending on settings (for shipping updates Shopify can ask for phone). If many customers only have email, you might not have a phone to call. Decide: either set phone as required in checkout, or if missing phone, perhaps call isn't possible. You can choose to fall back to something like if no phone, maybe send an email or skip. We’ll likely filter to only proceed if phone exists.

Step 2: (Optional) Filter orders

If you want to restrict which orders get calls: 5. Add Filter step: For example, filter if Order Customer Phone exists (not empty) – essential so we only call if we have number.

  • Additionally, you could filter by Gateway (maybe only COD orders get confirmation call), or by Tags or any line item property. Example: If upsell call for specific product, filter if product title contains "Premium".

  • If no filter, just proceed with all (with phone check ideally).

Step 3: Awaz.ai Call Action for new Order

  1. Add Awaz.ai “Make a Call” action:

  2. Map fields:

    • Agent ID: Choose an agent script suited for post-purchase call. For instance, an agent that says “Thank you for your purchase of X. This is an automated call to confirm your order details and see if you have any questions. ...” Possibly even offer an upsell: “We noticed you bought Y, we have a related accessory with 10% off, are you interested?” (This would require AI to take order info; if we want the agent to know what they bought, we might need to feed that via a custom field or design agent that can pull minimal info).

    • From Number: Your business number.

    • Contact Name: Use Shopify order’s customer name (full name). It’s available typically as separate first and last or combined. Use what’s appropriate, maybe first name if you want a casual greet. You can map first name field if present.

    • Contact Phone Number: Map the customer’s phone from the order. The trigger should have a field for that (if customer provided it). Sometimes Shopify gives phone in shipping address or billing address. The “Phone” field might be under customer or shipping. Look at sample: maybe use Shipping Address Phone if not directly under customer.

    • Call DateTime: Default to immediate (leave blank) meaning call soon after order. If you wanted to delay (maybe call 30 minutes after order to avoid hitting them instantly), you could add a Delay here in the Zap (or use Awaz scheduling via adding +30 min to now). Perhaps immediate is okay if it's within a minute or two as they finish checkout.

    • Additional context: The agent might benefit from order details like order number or items. Awaz’s Zap action doesn’t have extra fields for that, but you could be creative: e.g., set Contact Name to “John (Order 1234)” – then the agent could be instructed to note the number or use it. Or more reliably, after initiating call via Zap, you could send the order info to the agent via some API or the agent might call Shopify API. That’s beyond Zapier scope. So likely the agent’s script will be generic, maybe not mentioning specific items, or only generic like “your recent purchase”.

  3. Test the action: Use the sample (with your number if possible in sample). This will call you. Evaluate if the agent’s message makes sense given it doesn’t explicitly mention the product (unless you programmatically fed it).

    • If error like missing phone, you missed filter. If agent doesn't behave as expected, adjust prompt or agent settings in Awaz (outside Zap).

  4. Turn on Zap.

Step 4: (Optional) Follow-up actions

  • You might want to record that this call was queued or done in Shopify (like scenario A does). But since this triggers right after order, you could directly update the order:

    • For instance, add a tag "Call Scheduled" to the order or customer. You can add a Shopify action after the Awaz call step: Update Order - add tag "Awaiting Call" or after call completes via scenario A you tag "Called".

    • But careful: If you update order in the same Zap after scheduling call, that's before call actually happens. Might tag it "Call Initiated".

    • To mark after completion, scenario A would handle via separate flow on call completion.

  • Could send a Slack message to sales team: "Awaz is calling customer X for order #1234 now." so team is aware.

Troubleshooting Scenario B:

  • No phone number cases: If many orders lack phone, maybe you pivot strategy: maybe send an email with a link to schedule a call (pull them into Calendly scenario) rather than immediate call. Or make phone required at checkout for shipping (Shopify allows you to require phone for shipping contact, but many customers prefer not giving phone).

  • International calling costs: If you have global customers, ensure your Awaz can call those numbers and consider cost. Perhaps filter by country if needed (like maybe don't auto-call international because of language/timezone issues).

  • Call timing: Middle of night orders would trigger immediate calls – maybe not ideal. You could refine by checking order timestamp vs a window. Possibly use a Filter: if order time (Zapier gives in UTC or store timezone) is within business hours, call immediately; else, schedule for next morning. This is advanced: you can use Zapier Formatter to parse order time and check hour. Or simpler, always delay calls by e.g. 8 hours, or use Delay until a fixed time next day if outside hours. Those require conditional delays or multiple Zaps for day/night. Keep it in mind to not annoy customers at 3 AM.

  • Agent script limitations: Without feeding exact order details, the agent will speak generally. If you want the agent to reference the product, you might need to integrate deeper (maybe use an Agent Trigger system where you pass the product name via an API call to Awaz right before call, or have Awaz fetch via Shopify API given order ID maybe you passed as contact name). That would require Awaz agent custom development. If not, keep it generic: e.g., "your recent purchase from [StoreName]".

  • Upsell logic: If upsell, maybe filter which orders to call (like only if they bought product A, call to upsell product B). Or have the agent dynamically decide based on what they bought (again needs item info).

  • Testing with real orders: Try placing a test order on your store (maybe a $1 product or draft order) with your number, see if you get the call and how it goes. Ensure to disable the Zap or use a filter to avoid calling actual customers until you're satisfied.

  • Shopify Flow conflict: If you also use Shopify's native Flow automation or other apps, ensure no double contacting. Our Zap triggers on order creation just like those might.

This integration can give your e-commerce a personal touch by reaching out to customers proactively. Just be careful to do it in a helpful manner (confirmation or help), rather than coming off as intrusive. An AI follow-up can be novel and impressive if done right, potentially increasing customer satisfaction or generating additional sales.


Need help?

We’ve got plenty of resources to assist you!

📺 Tutorial Videos: Watch step-by-step guides
🔑 Login / Sign-up: Access Awaz.ai
📖 Help Center: Visit our knowledge base
📧 Support Email: [email protected]

Did this answer your question?