Give customers fast order answers right inside a chat on your site. The system checks a secure email token, finds the right WooCommerce customer, pulls recent orders, and adds live DHL tracking details. It reduces support tickets and speeds up response time for common order questions.
A chat webhook starts the flow. The email in the chat metadata is decrypted and verified. The build looks up the WooCommerce user ID, fetches orders, and reads the shipment tracking items from order meta. If tracking exists, each tracking number is sent to DHL, then all results are merged back into the order data. An AI agent with OpenAI and short term memory uses a WooCommerce tool to request order data and writes clear replies. Responses go back to the chat in real time.
Setup needs WooCommerce, DHL, and OpenAI credentials, plus one shared secret for email encryption and decryption. Keep the crypto setting enabled, update the agent system message with your store name, and embed the example chat page with the provided webhook URL. Expect fewer tickets, faster updates, and a smooth customer experience for post purchase support. Stores that use DHL get live tracking in the same chat. If you use another carrier, you can swap the tracking step.