Templates / Build a Telegram mental health support bot with GPT-4o

Build a Telegram mental health support bot with GPT-4o

Unknown

by AI/ML API | D1m7asis ✓ · 1,542 views · created 2025-07-28 · Support Chatbot, AI Chatbot

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This workflow has 9 nodes and runs on Telegram events (message). Along the way it connects Telegram and Aimlapi (community).

How it runs

Trigger: On Telegram events (message).

  1. Show Typing Indicator (Telegram): send chat action
  2. Route by Input Type (Switch): routes items into 4 branches
  3. Vent prompt (Edit Fields (Set)): sets or maps fields
  4. Insight prompt (Edit Fields (Set)): sets or maps fields
  5. Cope prompt (Edit Fields (Set)): sets or maps fields
  6. Main prompt for all other messages (Edit Fields (Set)): sets or maps fields
  7. Generate personalised answer (Aiml Api): uses Aiml Api
  8. Send message to Telegram (Telegram): uses Telegram

Services it uses

TelegramAimlapi (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-aimlapi is verified or supports 3.0 (used in Generate personalised answer).

Nodes used (5)

From the author

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. n8n Workflow Template: AI‑Powered Mental Health Support Bot Overview: This template enables you to build a Telegram bot that delivers real‑time, empathetic…

Excerpt from AI/ML API | D1m7asis's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.