Effortless Workflow Management with Telegram
detail.loadingPreview
Automate the activation and deactivation of your n8n workflows directly from Telegram. This solution allows for quick adjustments to your automation processes without needing direct access to your n8n instance, perfect for urgent situations.
About This Workflow
This n8n workflow empowers you to control your automation processes with the simplicity of Telegram commands. Designed for scenarios where immediate action is needed, it enables you to activate or deactivate specific n8n workflows by sending a message to your custom Telegram bot. Whether you need to quickly halt a misbehaving marketing campaign or bring a sales automation back online, this tool provides a secure and efficient remote management solution. It leverages Telegram's intuitive messaging interface to interact with your n8n API, offering a convenient way to stay in control of your automations anytime, anywhere.
Key Features
- Telegram Control: Initiate workflow actions directly from your Telegram app.
- Customizable Commands: Define simple commands like
/startand/stopcombined with workflow identifiers. - Workflow Identification: Easily specify which workflow to manage using keywords.
- Secure Credentials: Utilizes n8n and Telegram API keys for secure authentication.
- Remote Management: Manage your workflows without direct access to the n8n interface.
How To Use
- Telegram Bot Setup: Create a Telegram bot using BotFather and obtain your API token. Add this to your n8n Telegram credentials.
- n8n API Key: Generate an API key from your n8n instance's settings under 'n8n API'. Add this to your n8n credentials.
- Chat ID Configuration: In the Telegram Trigger node, listen for events and send a test message to your bot. Identify your unique chat ID from the test event data and configure the Filter node to use it.
- Command Configuration: In the 'Switch depending on command' node, define your trigger phrases (e.g.,
/stop,/start). - Workflow Identification: In the 'Switch depending on content' nodes, specify keywords that identify your marketing and sales workflows (or any other workflows you wish to control).
- Workflow ID Mapping: In the n8n nodes responsible for activating/deactivating workflows (e.g., 'Activate the marketing workflow'), ensure the
workflowIdparameter is correctly set. You may need to adjust the__regexif your workflow IDs are not standard. - Test and Deploy: Thoroughly test your commands from Telegram to ensure workflows are activated and deactivated as expected.
Apps Used
Workflow JSON
{
"id": "9a4f24b1-07ea-4fd2-a8c9-27b87d31e6a6",
"name": "Effortless Workflow Management with Telegram",
"nodes": 26,
"category": "Operations",
"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: 9a4f24b1-07ea...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.