Speech Support Workflow
Triggered manually or by an app event. Connects Code, Condition, Stop And Error, Switch, Telegram. Dynamic System Prompting: This node sets the AI's system prompt according to the user's request identified in the incoming message. Telegram-Ready Output: Formatting and Length Management: These code nodes perform two crucial tasks: 1. Formatting: Removing characters that could cause issues with Tele
Front matter
name: Speech Support Workflow
description: Triggered manually or by an app event. Connects Code, Condition, Stop And Error, Switch, Telegram. ## Dynamic System Prompting: This node sets the AI's system prompt according to the user's request identified in the incoming message. ## Telegram-Ready Output: Formatting and Length Management: These code nodes perform two crucial tasks: 1. **Formatting:** Removing characters that could cause issues with Telegram's message parsing. 2. **Chunking:** Dividing messages longer than Telegram's 4000-character limit into multiple shorter messages for sequential delivery. ## Clearing AI Agent Memor
category: Automation
kind: Workflow
software: Code|Condition|Stop And Error|Switch|TelegramSpeech Support Workflow
Triggered manually or by an app event. Connects Code, Condition, Stop And Error, Switch, Telegram. ## Dynamic System Prompting:
This node sets the AI's system prompt according to the user's request identified in the incoming message. ## Telegram-Ready Output: Formatting and Length Management:
These code nodes perform two crucial tasks:
- Formatting: Removing characters that could cause issues with Telegram's message parsing.
- Chunking: Dividing messages longer than Telegram's 4000-character limit into multiple shorter messages for sequential delivery. ## Clearing AI Agent Memor
Steps
- AI Agent (noOp)
- Google Gemini Chat Model (noOp)
- Recieve Telegram Message (telegramTrigger)
- Check For Text or Voice Message (set)
- Download Audio File (telegram)
- Transcribe Audio File (noOp)
- If Voice Message (if)
- Code to remove unwanted characters from LLM response (code)
- Code to split output into chunks under 4000 characters (code)
- Respond to Telegram Message (telegram)
- Wipe Conversation Memory (noOp)
- Store Conversation Memory (noOp)
- Set prompt to start a new speech (set)
- Set prompt to generate a speech based on the feedback (set)
- Set prompt to provide feedback on speech (set)
- Route Flow Based on Message Content (switch)
- Sticky Note (stickyNote)
- Sticky Note1 (stickyNote)
- Sticky Note2 (stickyNote)
- Sticky Note3 (stickyNote)
- Sticky Note4 (stickyNote)
- Sticky Note5 (stickyNote)
- Error Handler (stopAndError)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.