Use this powerful n8n workflow to automatically classify 'Where Is My Order?' emails, fetch Shopify data, and generate friendly, accurate replies using OpenRouter AI. Integrate Gmail and Shopify easily.
Download this n8n workflow template and start using it instantly.
Handling repetitive customer inquiries, especially those asking about order status, can consume significant staff time. This sophisticated n8n workflow solves this challenge by providing instant, accurate, and personalized replies. The system uses a specialized n8n node for text classification to identify WIMO emails received via Gmail. Once identified, the query is passed to an AI Agent powered by OpenRouter, which is granted access to a Shopify n8n node tool. This allows the AI to retrieve real-time order details and construct a calm, friendly, and precise response, ensuring rapid customer satisfaction without manual intervention. This complete n8n workflow demonstrates the power of combining business systems with advanced AI models to achieve seamless CRM automation.
The entire process is initiated by the Gmail n8n trigger, which monitors your support mailbox for new messages every minute.
To deploy this powerful n8n workflow, follow these steps:
read_orders scope, install the app, and paste the Access Token and Subdomain into the Shopify credential setup. Gmail Trigger: This n8n trigger starts the automation. It is configured to poll a specified Gmail mailbox every minute, looking for new messages to classify and process.
Text Classifier1 (LangChain): This crucial n8n node uses defined categories ('WISmo', 'other') and descriptions to classify the incoming email snippet, directing only support inquiries to the expensive AI components.
AI Agent1 (LangChain): The core of the intelligence. This n8n node defines the AI's role and logic, specifically instructing it on how to handle missing order IDs and how to use the available Shopify tool.
OpenRouter Chat Model (LangChain): This n8n node serves as the large language model backend for the AI Agent, utilizing a model like openai/gpt-5-nano to execute the reasoning and prompt following defined in the agent.
get order details (Shopify): Functions as the data retrieval tool for the AI Agent. It is configured to perform the getAll operation to allow the agent to look up order information necessary for generating the response. This is a vital n8n node for data context.
Reply to the query (Gmail): This final n8n node completes the customer service loop. It uses the reply operation and dynamically inserts the AI Agent's generated output ({{ $json.output }}) into the email thread specified by the original email's threadId.
Deploy this powerful n8n workflow to automatically fetch NASA's APOD, translate it using AI (Gemini), generate relevant hashtags, and publish it daily to LinkedIn for consistent social media content.

A powerful n8n workflow template for automated Twitter liking. Features Phantombuster integration, SharePoint state management, AI-driven session cookie rotation, and robust deduplication logic.

This advanced n8n workflow template uses OpenAI to generate dynamic LinkedIn search terms, Phantombuster for automated scraping and liking, and SharePoint for session and history management.

This n8n workflow automates Jira ticket resolution by leveraging Port.io's context lake and GPT-5 to create context-rich GitHub issues, instantly assigned to GitHub Copilot.


Ai Automation consultant specialist in shopify automation.Working on multiple tasks in shopify using advance AI tools.







































