πŸ’¬ Build a comprehensive multimodal assistant on Telegram with OpenAI, SERP and Vector Store

⚑ 1,402 views Β· πŸ’¬ Support Chatbots

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

J.A.R.V.I.S.

Multimodal AI assistant on Telegram with OpenAI

This workflow transforms your Telegram bot into J.A.R.V.I.S., a powerful, multimodal AI assistant. It can understand and process text, voice messages, images, and documents. The assistant can search the web, scrape websites, generate images, perform calculations, and reference uploaded documents to provide comprehensive and context-aware responses in either text or audio format.

πŸ§‘β€πŸ’» Who’s it for

This workflow is for developers, AI enthusiasts, and businesses who want to create an advanced, interactive AI assistant on Telegram. It’s perfect for automating customer support, creating a personal AI helper, or exploring the capabilities of multimodal large language models (LLMs) in a practical application.

βš™οΈ How it works

The workflow begins when a message is received by your Telegram bot. A Switch node then directs the data based on the message type:

The processed input is then passed to the core β€œJ.A.R.V.I.S.” Agent node. This agent uses an OpenAI model, conversational memory, and a suite of tools (Google Search, Web Scraper, Image Generator, Calculator, and the document vector store) to formulate a response. Finally, the workflow checks if the initial message was a voice note; if so, it generates an audio response. Otherwise, it sends the answer as a text message back to the user.

πŸ› οΈ How to set up

  1. Telegram:
  1. OpenAI: Add your OpenAI API credentials to all OpenAI, AI Agent, and AI tool nodes.
  2. SerpAPI: Add your SerpAPI credentials to the Basic Google Search node to enable web search functionality.
  3. Jina AI: Add your Jina AI API key to the Setup Node - The API Key is used on the Webpage Scraper node.

βœ… Requirements

🎨 How to customize the workflow

πŸ’¬ Need Help?

Join the Discord or ask in the Forum

πŸ”— Nodes Used

Telegram, Telegram Trigger, AI Agent, Embeddings OpenAI, OpenAI Chat Model, Simple Memory

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup