E-Commerce · Voice Workflow
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
Tool call: lookup_order
The agent calls lookup_order when a caller asks about an order.
Get order identifier
Collect the order number or email from the caller.
Fetch order
Look up the order and fulfillment status in Shopify.
Order found?
Branch on whether a matching order exists.
Not found → offer help
Explain that no match was found and offer a human handoff.
Read order status
Tell the caller the current status and expected delivery.
Transfer to human
Warm-transfer the caller to a support rep.
Return or issue?
Branch on whether the caller wants a return or reports a problem.
Open return ticket
Create a return/RMA ticket in Airtable.
Send return link
Text the caller a return label or status link via Twilio.
Save to Zep
Persist the interaction to memory.
Return tool result
Return the result to the agent.