OpenRuna
Sign in
← Workflows

e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector

20 nodes · telegram, splitInBatches, chat, vectorStorePGVector, toolWorkflow, embeddingsOllama

Engine
n8n
Nodes
20
Trigger
scheduled/triggered
Source file
1843_Telegram_Code_Automate_Triggered.json

Workflow flow

IntegrationsTelegramSplitInBatchesChatVectorStorePGVectorToolWorkflowEmbeddingsOllamaMemoryBufferWindowAgentLmChatOpenAiIF@n8n/n8n-nodes-langchain.chat@n8n/n8n-nodes-langchain.vectorStorePGVector+8 more
100%
TRIGGER

Telegram Trigger

Telegram

TRIGGER

When chat message received

@n8n/n8n-nodes-langchain.chat

Postgres PGVector Store

@n8n/n8n-nodes-langchain.vectorStorePGVector

Call the SQL composer Workflow

@n8n/n8n-nodes-langchain.toolWorkflow

Embeddings Ollama

@n8n/n8n-nodes-langchain.embeddingsOllama

Simple Memory

@n8n/n8n-nodes-langchain.memoryBufferWindow

OpenAI Chat Model

@n8n/n8n-nodes-langchain.lmChatOpenAi

Generate session id

Set

AI Agent

@n8n/n8n-nodes-langchain.agent

Came from Telegram?

IF

Beautify chat response

Set

Split text into chunks

Code

Respond on Telegram in batches

Telegram

Loop Over Items

SplitInBatches

Escape Markdown

Code

No Operation, do nothing

NoOp

16 steps · flows top to bottom, branches left to right

Browse by integration

Browse all integrations →

Import into n8n

  1. Download the n8n JSON file (full or sanitized).
  2. In n8n: Workflows → Import from file.
  3. Open each node and reconnect credentials to your accounts.
  4. Test with manual execution before enabling triggers.

Sanitized JSON removes credential IDs — safer for sharing. Flow graph JSON is OpenRuna's lightweight format for diagrams and other tools, not n8n import.

View source corpus ↗

Overview

e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector (20-node n8n automation, telegram, splitInBatches, chat, vectorStorePGVector, toolWorkflow, embeddingsOllama, memoryBufferWindow, agent) is free on OpenRuna — view the graph and export the JSON to import into n8n.

What this workflow does

Built in n8n, "e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector" chains 20 nodes to move data between telegram, splitInBatches, chat, vectorStorePGVector, toolWorkflow, embeddingsOllama, memoryBufferWindow, agent. 20 nodes · telegram, splitInBatches, chat, vectorStorePGVector, toolWorkflow, embeddingsOllama Execution begins at the scheduled/triggered trigger and flows through the 20 configured nodes. On OpenRuna you get the visual graph, the integration list, and a downloadable JSON ready to import into n8n. Use it to learn integration patterns, fork it for your own use case, or deploy it quickly after reconnecting credentials.

Use cases

  • Study how data moves from telegram to splitInBatches before building your own variant.
  • Share it with your team as a documented reference for scheduled/triggered automations in the telegram stack.
  • Import "e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector" into n8n, reconnect credentials for telegram, splitInBatches, chat, vectorStorePGVector, toolWorkflow, embeddingsOllama, memoryBufferWindow, agent, and run the same automation in your own workspace.
  • Use it as a starting template when wiring telegram, splitInBatches, chat, vectorStorePGVector, toolWorkflow, embeddingsOllama, memoryBufferWindow, agent — adjust node parameters to your accounts and record IDs.

Example output

Imported into n8n, "e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector" exposes 20 configured nodes. Trigger type: scheduled/triggered. Integrations: telegram, splitInBatches, chat, vectorStorePGVector, toolWorkflow, embeddingsOllama, memoryBufferWindow, agent. Reconnect the telegram credential first, then walk the remaining nodes top to bottom. Run it once in test mode to verify any branch logic (Switch/IF nodes) before enabling production triggers.

Tips by platform

Claude

Ask Claude to turn the "e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector" JSON into a plain-English runbook, node by node. It can flag where telegram rate limits or missing retries might bite before you go live.

ChatGPT

Drop the workflow JSON or this OpenRuna page URL into ChatGPT and ask for a step-by-step runbook: triggers, branches, and which fields to customise for telegram, splitInBatches, chat, vectorStorePGVector, toolWorkflow, embeddingsOllama, memoryBufferWindow, agent. Handy for onboarding teammates new to n8n.

Cursor

In Cursor, ask Agent mode to parameterise "e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector" — extract telegram IDs and secrets into environment variables without changing the 20-node structure.

Frequently asked questions

How do I import "e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector" into n8n?
Click Download n8n JSON on this page, then in n8n choose Workflows → Import from file and select the downloaded file. Reconnect credentials on each node — the export carries credential IDs from the original author's instance, not working secrets.
Which integrations does "e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector" use?
It uses: telegram, splitInBatches, chat, vectorStorePGVector, toolWorkflow, embeddingsOllama, memoryBufferWindow, agent. The flow diagram above shows how each service connects across the 20 nodes. Filter OpenRuna by integration to find related workflows and tools.
Can I import a sanitized export without credentials?
Yes. Use "Download sanitized JSON" to strip credential references before sharing internally. You will still add your own telegram and splitInBatches credentials in n8n after import.
What trigger type does "e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector" use?
Trigger type: scheduled/triggered. After import, confirm the trigger node (webhook, schedule, or app event) matches your environment, then activate the workflow when you are ready to run it.
Is "e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector" free to use?
OpenRuna catalogs community n8n workflows under open licenses. Check the source corpus link for the original license; commercial use may require verifying the third-party API terms for telegram, splitInBatches, chat, vectorStorePGVector, toolWorkflow, embeddingsOllama, memoryBufferWindow, agent.

Related resources