Look up English vocabulary via Telegram and save results to Notion
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI, OpenAI Chat Model and Notion.
How it runs
Trigger: On Telegram events (message).
- Config — Edit Me (Edit Fields (Set)): sets 4 fields: TELEGRAM_CHAT_ID, TELEGRAM_BOT_TOKEN, NOTION_VOCABULARY_DB_ID…
- Authorize User (If): checks a condition and branches into true / false
- Detect Input Type (Switch): routes items into 3 branches
- Reject Unauthorized User (Telegram): uses Telegram
- Set Text Input (Edit Fields (Set)): sets 2 fields: chat_input, type
- Get Voice File (HTTP Request): calls an HTTP API
- Get Photo File (HTTP Request): calls an HTTP API
- Dictionary Agent (AI Agent): runs an AI agent, with model: OpenAI (Dictionary); output parser: Dictionary Output Parser
- Download Audio (HTTP Request): calls an HTTP API
- Download Image (HTTP Request): calls an HTTP API
…plus 7 more steps. See the full node list below.
Services it uses
Other Telegram + OpenAI templates (807) · Other OpenAI + Notion templates (157) · Other Telegram + Notion templates (74)
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 (12)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Notion
n8n-nodes-base.notion
From the author
Build a personal Telegram bot that looks up English vocabulary and saves every entry to Notion — supporting text, voice, and photo input. Send a word by typing, voice message, or photo. The bot auto-detects the input type: voice is transcribed via Whisper,…