Automate WooCommerce customer support with Gemini & GPT via Telegram & Gmail
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs on Telegram events (message, *) (plus 1 other trigger). Along the way it connects WooCommerce, Telegram, Gmail and Google Gemini Chat Model and 1 more.
How it runs
Trigger: On Telegram events (message, *) (plus 1 other trigger).
- Merge: merges the data from its input branches
- Set Manual Fields (Edit Fields (Set)): sets 5 fields: platform, sender_id, query_text…
- WooCommerce Customer support Agent (AI Agent): runs an AI agent, with model: Fallback Model [GPT 4.1 mini], Primary Model [Gemini 2.5 Flash]; 1 tool (Get an order in WooCommerce); memory: Conversation Memory
- Reply to Specific Platform (Switch): routes items into 2 branches
- Send Telegram Response (Telegram): uses Telegram
- Send Response via Mail (Gmail): reply
- Mark received mail as read (Gmail): mark as read
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Fetch support mail).
Nodes used (12)
- Merge
n8n-nodes-base.merge - Woo Commerce Tool
n8n-nodes-base.wooCommerceTool - Telegram Trigger
n8n-nodes-base.telegramTrigger - Gmail Trigger
n8n-nodes-base.gmailTrigger - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - Gmail
n8n-nodes-base.gmail - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
🤖 AI Support Bot for WooCommerce with Gemini & GPT (Telegram & Gmail) Managing customer support across multiple platforms like email and chat can be a huge time sink. Answering the same questions about order status repeatedly takes your focus away from…