Skip to main content

Auto-reply to 'Where Is My Order?' Emails with Shopify, Gmail and OpenRouter AI

Workflow preview

Workflow preview
100%
Auto-reply to 'Where Is My Order?' Emails with Shopify, Gmail and OpenRouter AI preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

What This Workflow Does Automatically handles customer support emails about Shopify orders using AI. When customers email questions like "Where is my order?" or "When will it arrive?", this workflo...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.textclassifier, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.noop, n8n-nodes-base.gmailtrigger, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.shopifytool, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by uzman.

Original n8n.io source

1.1 Workflow description

Title
Auto-reply to 'Where Is My Order?' Emails with Shopify, Gmail and OpenRouter AI
Workflow name
Auto-reply to 'Where Is My Order?' Emails with Shopify, Gmail and OpenRouter AI

What This Workflow Does Automatically handles customer support emails about Shopify orders using AI. When customers email questions like "Where is my order?" or "When will it arrive?", this workflow:

  • Receives the email via Gmail trigger
  • Classifies the email to identify order-related queries (WISmo - Where Is My Order)
  • Retrieves real-time order data from your Shopify store
  • Generates a friendly, personalized response using AI
  • Sends an automatic reply directly to the customer

Key Features

✅ Smart email classification (handles only order-related queries) ✅ Real-time Shopify order lookup ✅ Natural, empathetic AI responses ✅ Fully automated - no manual intervention needed ✅ Non-order emails are filtered out automatically

Setup Requirements Estimated setup time: 20-30 minutes You'll need:

Gmail account (for receiving/sending emails) Shopify store with Admin API access OpenRouter API key (for AI model)

Setup steps:

  1. Gmail: Connect your Gmail account to the trigger node (watch this tutorial)
  2. OpenRouter: Sign up at openrouter.ai and add your API key
  3. Shopify: Create a custom app in your Shopify admin with read_orders permission

Detailed setup instructions are included in the workflow's sticky notes. Use Cases

  1. E-commerce stores with high email volume
  2. Small businesses wanting to automate order inquiries
  3. Shopify merchants looking to improve response times
  4. Support teams needing 24/7 automated assistance

Notes

Only responds to order-related emails automatically Other emails are ignored (passed to "No Operation" node) Customize the AI's tone and behavior in the Agent node's system message Safe and secure - only reads order data, doesn't modify anything

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Text Classifier1

Type / Role
@n8n/n8n-nodes-langchain.textClassifier - textClassifier
Config choices
Version 1.1

Block 2 - AI Agent1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 3 - No Operation, do nothing

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 4 - Gmail Trigger

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1.3

Block 5 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - OpenRouter Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 7 - get order details

Type / Role
n8n-nodes-base.shopifyTool - shopifyTool
Config choices
Version 1

Block 8 - Reply to the query

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 9 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Auto-reply to 'Where Is My Order?' Emails with Shopify, Gmail and OpenRouter AI
Complexity intermediate
Nodes 11
Categories Support Chatbot, AI Chatbot
Author uzman
Published 15 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9705/9705.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-reply to 'Where Is My Order?' Emails with Shopify, Gmail and OpenRouter AI do?

What This Workflow Does Automatically handles customer support emails about Shopify orders using AI. When customers email questions like "Where is my order?" or "When will it arrive?", this workflo...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.