Skip to content
← All AI workflows

n8n: draft reviewed Shopify order-status replies

This Gmail-triggered n8n template classifies order-status emails, retrieves Shopify data and generates a reply through an OpenRouter model. The original sends automatically and retrieves all orders. A safe pilot needs narrow customer access, full email context and human send approval.

From the source

Public documentation page from uzman / n8n
uzman / n8n · Captured 2026-10-14Read the original

How it works

  • The inspected export has 11 nodes. A Gmail snippet feeds classification; non-order messages route to No Operation rather than a completed support response.
  • The Shopify tool uses getAll with returnAll true. Read-only order access is still broad and does not establish requester authorization or least privilege.
  • The final Gmail node directly replies with the agent output and uses the trigger's threadId as messageId. Review identifiers and duplicate triggers before use.
  • Shopify read-only access does not make the whole workflow read-only: sending email is an external write. The export has no human approval or draft-only step.
  • No support accuracy, resolution or time-saving result is verified. A safe pilot needs full email context, narrow order access and explicit send approval.

Workflow guide

  1. Import workflow 9705 into an isolated test environment with a test mailbox, synthetic orders and a fixed email sample. Disable automatic replies before running it.

  2. Route uncertain and non-order messages to normal support instead of the original No Operation branch.

  3. Replace all-order retrieval with an approved narrow lookup that verifies requester access to the order.

  4. Draft from timestamped fulfillment and tracking facts plus the relevant full email, not the snippet alone.

  5. Replace automatic sending with human review. Test message IDs, thread IDs and duplicate-trigger protection.

  6. Compare classification, exact status, access checks and review time with manual handling. Record failures, duplicate sends and leakage before approving any sends.

Sources and downloads

See this workflow in order-to-cash →Discuss this workflow →

Book a call

A free 30 minute call. Tell us where you are with AI, what your IT allows, and what management needs to see. We'll tell you honestly what we would do first.