Answer Shopify order status questions on WhatsApp with OpenAI and Shiprocket
Needs changesWhat this workflow does
This AI workflow has 29 nodes and runs on WhatsApp events (messages) (plus 1 other trigger). Along the way it connects WhatsApp Business Cloud, Google Sheets, Slack and OpenAI Chat Model and 1 more. It also calls apiv2.shiprocket.in and replace_store.myshopify.com over HTTP.
How it runs
Trigger: On WhatsApp events (messages) (plus 1 other trigger).
- Parse WhatsApp Message (Code): runs custom JavaScript code
- Look Up Conversation (Google Sheets): uses Google Sheets
- Read Conversation State (Google Sheets): uses Google Sheets
- Validate Resume Token (Code): runs custom JavaScript code
- Decide Bot or Human (Code): runs custom JavaScript code
- Token OK? (If): checks a condition and branches into true / false
- Route by Conversation Mode (Switch): routes items into 3 branches
- Switch Chat Back to Bot (Google Sheets): update
- Show Not Applied Page (Respond to Webhook): sends the response back to the webhook caller
- Get Shiprocket Auth Token (HTTP Request): calls apiv2.shiprocket.in (POST)
…plus 10 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Sheets + Slack templates (1,314) · Other OpenAI + Slack templates (979)
HTTP calls to: apiv2.shiprocket.in, replace_store.myshopify.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in WISMO AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) WISMO AI Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (16)
- WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Slack
n8n-nodes-base.slack - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Http Request Tool
n8n-nodes-base.httpRequestTool - AI Agent
@n8n/n8n-nodes-langchain.agent - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow answers WhatsApp “Where’s my order?” questions using an OpenAI agent with live Shopify order lookups and Shiprocket tracking, logs each turn to Google Sheets, and hands the conversation to a human via Slack with a one-click link…