Process voice, images & documents with GPT-4o, MongoDB & Gmail tools
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI, OpenAI Chat Model and MongoDB Chat Memory and 1 more. It also calls v2.convertapi.com over HTTP.
How it runs
Trigger: On Telegram events (message).
- Switch: routes items into 4 branches
- Get photo file (Telegram): work with file
- Get audio file (Telegram): work with file
- Get a file (Telegram): work with file
- Get text from Message (Edit Fields (Set)): sets 1 field: text
- ConvertAPI HTTP Request (HTTP Request): calls v2.convertapi.com (POST)
- Transcribe a recording (OpenAI): transcribe (audio)
- If: checks a condition and branches into true / false
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (Send a message in Gmail, Search for a messages in Gmail); memory: MongoDB Chat Memory
- Analyze image (OpenAI): analyze (image)
…plus 6 more steps. See the full node list below.
Services it uses
HTTP calls to: v2.convertapi.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 (12)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Switch
n8n-nodes-base.switch - OpenAI
@n8n/n8n-nodes-langchain.openAi - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Telegram
n8n-nodes-base.telegram - MongoDB Chat Memory
@n8n/n8n-nodes-langchain.memoryMongoDbChat - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Extract from File
n8n-nodes-base.extractFromFile - Gmail Tool
n8n-nodes-base.gmailTool
From the author
What it does This n8n workflow creates a cutting-edge, multi-modal AI Memory Assistant designed to capture, understand, and intelligently recall your personal or business information from diverse sources. It automatically processes voice notes, images,…