E-Commerce · Voice Workflow
E-Commerce Order Lookup
When lookup_order fires, the workflow pulls the order from Shopify, reads back the status, and — if the caller wants a return — opens an Airtable ticket and texts a return link.
Workflow
How it runs, step by step
- 01TRIGGER
Tool call: lookup_order
The agent calls lookup_order when a caller asks about an order.
- 02AI AGENT
Get order identifier
Collect the order number or email from the caller.
- 03INTEGRATION
Fetch order
Look up the order and fulfillment status in Shopify.
- 04BRANCH
Order found?
Branch on whether a matching order exists.
- if no → Not found → offer help
- if yes → Read order status
- 05VOICE
Not found → offer help
Explain that no match was found and offer a human handoff.
- 06VOICE
Read order status
Tell the caller the current status and expected delivery.
- 07END
Transfer to human
Warm-transfer the caller to a support rep.
- 08BRANCH
Return or issue?
Branch on whether the caller wants a return or reports a problem.
- if yes → Open return ticket
- if no → Save to Zep
- 09INTEGRATION
Open return ticket
Create a return/RMA ticket in Airtable.
- 10INTEGRATION
Send return link
Text the caller a return label or status link via Twilio.
- 11MEMORY
Save to Zep
Persist the interaction to memory.
- 12END
Return tool result
Return the result to the agent.