Telegram node
Telegram Trigger node
+10

Telegram chat with PDF

Published 1 month ago

Categories

Template description

What this template does

This template serves as a Chatbot that enables you to ask questions about the content of a PDF directly in Telegream.

It checks incoming Telegram messages if they contain a document. If they do, it stores the PDF in a Pinecone Vector store. If there's no document, it will search the Vector Store for information and try to answer your question.

Setup

  1. Open the Telegram app and search for the BotFather user (@BotFather)
  2. Start a chat with the BotFather
  3. Type /newbot to create a new bot
  4. Follow the prompts to name your bot and get a unique API token
  5. Save your access token and username
    Once you set your bot, you can send the pdf, and then ask questions about the content.

How to adjust it to your needs

  • You can exchange the Groq chat model with any model that you like
  • Exchange Pinecone with any other vector store tool you like (e.g. Supabase, Postgres or QDrant)

#Telegram, #Pinecone, #Openai, #GroQ

Share Template

More AI workflow templates

OpenAI Chat Model node
SerpApi (Google Search) node

AI agent chat

This workflow employs OpenAI's language models and SerpAPI to create a responsive, intelligent conversational agent. It comes equipped with manual chat triggers and memory buffer capabilities to ensure seamless interactions. To use this template, you need to be on n8n version 1.50.0 or later.
n8n-team
n8n Team
HTTP Request node
Merge node
+7

Scrape and summarize webpages with AI

This workflow integrates both web scraping and NLP functionalities. It uses HTML parsing to extract links, HTTP requests to fetch essay content, and AI-based summarization using GPT-4o. It's an excellent example of an end-to-end automated task that is not only efficient but also provides real value by summarizing valuable content. Note that to use this template, you need to be on n8n version 1.50.0 or later.
n8n-team
n8n Team
Google Sheets node
HTTP Request node
Merge node
+4

OpenAI GPT-3: Company Enrichment from website content

Enrich your company lists with OpenAI GPT-3 ↓ You’ll get valuable information such as: Market (B2B or B2C) Industry Target Audience Value Proposition This will help you to: add more personalization to your outreach make informed decisions about which accounts to target I've made the process easy with an n8n workflow. Here is what it does: Retrieve website URLs from Google Sheets Extract the content for each website Analyze it with GPT-3 Update Google Sheets with GPT-3 data
lempire
Lucas Perret

Implement complex processes faster with n8n

red icon yellow icon red icon yellow icon