Optimize Prompt with Telegram
detail.loadingPreview
Enhance user prompts using an AI agent and deliver the optimized version via Telegram.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow takes an initial prompt, optimizes it for clarity and specificity using an AI agent, and then sends the improved prompt back to the user via Telegram. It's designed to make prompts more effective for subsequent AI interactions or workflow steps.
Key Features
- AI-powered prompt optimization for enhanced clarity and detail.
- Utilizes Telegram for prompt delivery.
- Processes incoming prompts from other workflows or direct Telegram messages.
- Splits long optimized prompts into manageable Telegram messages.
How To Use
- Trigger: Set up a trigger (e.g., another workflow execution, a Telegram message). The example uses
When Executed by Another Workflowand implies Telegram input. - AI Agent: Configure the
AI Agentnode with a system message that guides the AI to enhance prompts. TheOpenAI Chat Modelnode is used for the AI interaction. - Code Node (Splitter): The
Split into chunks1node prepares the optimized prompt for Telegram by splitting it into messages that respect Telegram's character limit and avoid breaking words. - Telegram Node: Configure the
Telegram3node to send the optimized prompt back to the originating chat. - Credentials: Ensure you have valid credentials for your Telegram bot and your AI provider (e.g., OpenAI).
- Execution: Run the workflow. When triggered, it will process the input prompt and send the optimized version via Telegram.
Apps Used
Workflow JSON
{
"id": "83dbadcb-f898-49e7-8b96-f968a496f12b",
"name": "Optimize Prompt with Telegram",
"nodes": 0,
"category": "AI & Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 83dbadcb-f898...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Verification Info
Related Integrations
- Telegram + Telegram Trigger(362 workflows)
- Gmail + Schedule Trigger(270 workflows)
- Gmail + Google Sheets(245 workflows)
- Schedule Trigger + Telegram(152 workflows)
- Gmail + Split Out(132 workflows)
- Gmail + Gmail Trigger(119 workflows)
- Google Sheets + Telegram(118 workflows)
- Form Trigger + Gmail(107 workflows)
- Gmail + Google Drive(93 workflows)
- Airtable + Schedule Trigger(86 workflows)
Related Workflows
Discover more workflows you might like
Build an OpenAI Assistant with Google Drive Integration
Create and configure an OpenAI Assistant using Google Drive integration for data.
RetellAI Phone Agent for Lead Qualification and Inbound Calls
Automates outbound lead qualification and handles inbound calls using RetellAI.
Search & Summarize Web Data with AI and Webhooks
Searches web data using Perplexity and summarizes it using AI, then sends results to a webhook.
Three-View Orthographic Projection to Dynamic Video Conversion
Converts orthographic projections of an object from three views into a dynamic video.
DSP Agent: Telegram Voice to Text and AI Response
Processes voice messages from Telegram, transcribes them, and generates an AI-powered response.
Daily Meetings Summarization with Gemini AI
Summarizes daily meetings using Gemini AI and posts to Slack.