You are helping me build the following AI agent workflow. ## Goal Match WooCommerce Orders To Zendesk Tickets: New Zendesk ticket? It finds the customer's recent WooCommerce order, adds details as a private note with status tags. ## Specification - What it does: You instantly get relevant WooCommerce order details attached to new Zendesk tickets as private notes with status tags. This eliminates manual lookups by automatically matching customer emails from your ticket to recent orders via Gmail and a code node. You receive a confirmation email if the matched order is completed, ensuring your support team has full context immediately. - Trigger: Triggered by an event (Event ยท on new ticket) - Autonomy: Fully hands-off - Expected setup effort: under an hour - Tools/services involved: - Zendesk: Ticket management and updates - WooCommerce: Order data retrieval - Gmail: Sending confirmation emails - Code: Email matching and tag generation logic ## Known pitfalls, handle each one explicitly in your implementation 1. Email addresses may have case sensitivity issues, normalize all strings to lowercase before comparison. 2. Zendesk ticket updates might fail if the user lacks permissions, verify role-based access control settings. ## Reference implementation https://n8n.io/workflows/12906 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/match-woocommerce-orders-to-zendesk-tickets/ via usecasesforagents.com