🧠 AI & AgentsIntermediate● Active🧠 AI-powered

CAPSTONE PROJECT

A 32-step ai & agents automation, triggered by telegram, connecting Telegram, Supabase, PostgreSQL, OpenRouter (LLM), Google Gemini, with built-in AI reasoning.

⬇ Download workflow JSON
💡

What this does for your business

In plain terms: this is an AI assistant that works the moment a new message arrives. It uses AI to understand and generate content, so it handles judgement-style work, not just moving data. It connects to Telegram, Supabase, PostgreSQL, OpenRouter (LLM) and completes multi-step tasks for you automatically — the kind of work you'd otherwise hand to a virtual assistant.

32
Nodes
5
Integrations
33
Connections
Telegram
Trigger

🚀 Deploy this workflow

Deploy this automation in minutes

Log in and we'll walk you through every key step by step, then deploy it for you.

Get started free Log in

🏗️ Architecture diagram

The real node graph exported from n8n — triggers (green), AI nodes (violet), services and logic — laid out as they run.

Switchswitch✈️Get VoicetelegramMergemergeSET_VNsetSET_TEXTsetid exist?ifDuplicate — ExitnoOpinbound_messagessupabase🐘UpsertpostgresLoad Business ConfigsupabaseConfig ExtractorsetConfig + Sessionmerge🧠create_bookingtoolWorkflowvalid?if✈️respond_to_leadstelegram✈️new_inquirytelegramTrigger🧠Chat MemorymemoryPostgresChat🧠cancel_bookingtoolWorkflow🧠check_availabilitytoolWorkflowDate & TimedateTimeTool🧠update_bookingtoolWorkflow🧠MAYAagent🧠LLMlmChatOpenRouterTranscribe vngoogleGemini🧠search_bookingtoolWorkflow🧠BrainlmChatOpenRouterBooking-AgentagentToolLOGGING WORKFLOWexecuteWorkflowSET Agent Contextsetclient_updatepostgresTool✈️respondtelegramValidation Layercode

⚙️ How it works

  1. create_booking · toolWorkflow
  2. new_inquiry · telegramTrigger
  3. Chat Memory · memoryPostgresChat
  4. cancel_booking · toolWorkflow
  5. check_availability · toolWorkflow
  6. Date & Time · dateTimeTool
  7. update_booking · toolWorkflow
  8. LLM · lmChatOpenRouter
  9. search_booking · toolWorkflow
  10. Brain · lmChatOpenRouter
  11. client_update · postgresTool
  12. Booking-Agent · agentTool
  13. Switch · switch
  14. MAYA · agent

💼 Business analysis

🎯

Business use case

Deploys an autonomous AI agent that can reason over instructions, call tools, and take multi-step actions on behalf of a team — replacing repetitive knowledge work. It orchestrates Telegram, Supabase, PostgreSQL, OpenRouter (LLM), Google Gemini so a single natural-language request becomes a completed task.

📈

Market need

Businesses are racing to put AI agents to work but lack the engineering to wire models to their real tools and data. This delivers that wiring as a ready-to-run asset.

💰

Market value

Custom AI-agent builds are quoted at $3,000–$15,000+ by agencies, with managed retainers on top. As a productised template it commands premium one-time or subscription pricing.

🧩 Integrations & stack

✈️TelegramSupabase🐘PostgreSQL🧠OpenRouter (LLM)Google Gemini
Node typesswitch, telegram, merge, set, if, noOp, supabase, postgres, toolWorkflow, telegramTrigger, memoryPostgresChat, dateTimeTool, agent, lmChatOpenRouter, googleGemini, agentTool, executeWorkflow, postgresTool, codeWorkflow ID7vOjrO8NzVIBpBwk
⬇ Download workflow JSON ← Back to library