AI & research · One purpose, multiple implementations
e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector
Adapt the published “e-mail Chatbot with both semantic and structured RAG, using Telegram and Pgvector” workflow to other implementations while preserving its documented behavior.
The source contains 16 executable nodes and 16 connections. This draft is derived from the n8n export; it needs a human-reviewed purpose, input/output contract, and behavioral tests before a port can claim equivalence.
Open agent files on GitHub ↗Shared workflow
This initial Mermaid diagram shows observed connections from the n8n source, including model and tool dependencies. Unresolved connections are listed under Evidence. It is a starting point for the shared design; it does not execute the agent or establish correctness.
Rendering the workflow diagram…
Read the Mermaid source
flowchart LR n0["Telegram Trigger"] n1["Loop Over Items"] n2["Came from Telegram#63;"] n3["When chat message received"] n4["Postgres PGVector Store"] n5["Call the SQL composer Workflow"] n6["Embeddings Ollama"] n7["Beautify chat response"] n8["Split text into chunks"] n9["Respond on Telegram in batches"] n10["Escape Markdown"] n11["No Operation, do nothing"] n12["Simple Memory"] n13["AI Agent"] n14["OpenAI Chat Model"] n15["Generate session id"] n13 -->|"main out 0 to in 0"| n2 n12 -->|"ai_memory out 0 to in 0"| n13 n10 -->|"main out 0 to in 0"| n9 n1 -->|"main out 0 to in 0"| n11 n1 -->|"main out 1 to in 0"| n10 n0 -->|"main out 0 to in 0"| n15 n6 -->|"ai_embedding out 0 to in 0"| n4 n14 -->|"ai_languageModel out 0 to in 0"| n13 n2 -->|"main out 0 to in 0"| n8 n2 -->|"main out 1 to in 0"| n7 n15 -->|"main out 0 to in 0"| n13 n8 -->|"main out 0 to in 0"| n1 n4 -->|"ai_tool out 0 to in 0"| n13 n3 -->|"main out 0 to in 0"| n15 n5 -->|"ai_tool out 0 to in 0"| n13 n9 -->|"main out 0 to in 0"| n1
Implementations
Each implementation shares the agent’s purpose. Available source, planned ports, and verified results are labeled separately.
n8n
Source available · not runtime-tested
Read setup and source ↗Inspect the n8n canvas and download JSON →Build or operate with an assistant
Each prompt includes separate build and operating instructions tailored to this agent. They are untested instructions, not working implementations. Check the chosen product’s actual capabilities before using it.
Evidence and remaining work
The bulk collection has publication checks, not live-service testing. Diagrams and prompts are documentation. A port needs reviewed schemas, fixtures, actual execution results, and explicit limits before claiming equivalent behavior.
- Define input/output schemas and expected outputs.
- Review source expressions, external actions, and failure behavior.
- Determine whether model judgment is required or deterministic rules suffice.
Curated by Nik Bear Brown. Preserve each implementation’s original attribution and license. These source templates are separate from the audited Claude directory.