Create WooCommerce products via Telegram bot with Google Gemini AI
Ready for 3.0What this workflow does
This AI workflow has 87 nodes and runs on Telegram events (message, callback query). Along the way it connects Telegram and Google Gemini Chat Model. It also calls api.telegram.org over HTTP.
How it runs
Trigger: On Telegram events (message, callback query).
- Get User State (Data table): get
- If: checks a condition and branches into true / false
- Delete row(s) (Data table): delete rows
- Code: runs custom JavaScript code
- Delete row(s) (Data table): delete rows
- If: checks a condition and branches into true / false
- Send a text message (Telegram): uses Telegram
- Get User State (Data table): get
- If: checks a condition and branches into true / false
- Switch: routes items into 7 branches
…plus 66 more steps. See the full node list below.
Services it uses
Other Telegram + Google Gemini templates (354)
HTTP calls to: api.telegram.org
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (13)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Data table
n8n-nodes-base.dataTable - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
How it Works? 1. User Answers Questions Prompted by the Telegram Bot 2. Data Tables are updated to with relevant step of the process and a chat id 3. Upon Approval, the Title, Description and Slug are created and then Product is created on WooCommerce via API…