Telegram multi-language translation bot with GPT-3.5
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.openai.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Extract Message Data (Code): runs custom JavaScript code
- Detect Language (OpenAI) (HTTP Request): calls api.openai.com
- Parse Detected Language (Code): runs custom JavaScript code
- Get Group Members & Languages (Code): runs custom JavaScript code
- Translate Message (OpenAI) (HTTP Request): calls api.openai.com
- Wait: pauses before continuing
- Format Translation Result (Code): runs custom JavaScript code
- Split to Individual Recipients (Code): runs custom JavaScript code
- Send Translated Message (HTTP Request): calls an HTTP API
- Log Delivery Status (Code): runs custom JavaScript code
…plus 1 more step. See the full node list below.
HTTP calls to: api.openai.com
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.
Nodes used (5)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Respond to Webhook
n8n-nodes-base.respondToWebhook - Wait
n8n-nodes-base.wait
From the author
SmartPoll Automator is an n8n-powered workflow that automatically creates and publishes polls in Telegram. It helps teams, communities, and businesses run polls without manual work. You simply send a command or submit a form — the workflow creates the poll…