Automate GitHub Releases with Telegram Commands
detail.loadingPreview
Effortlessly trigger GitHub releases directly from Telegram messages. This workflow automates the process of deploying new versions by listening for specific commands in your Telegram chats.
About This Workflow
This n8n workflow bridges the gap between communication and code deployment, empowering your team to manage GitHub releases via Telegram. When a specific command is received in a designated Telegram channel, the workflow intelligently extracts version information and initiates the creation of a new GitHub release. This eliminates manual steps, reduces the potential for human error, and speeds up your release cycles. By leveraging the power of n8n's integrations, you can streamline your DevOps processes and keep your development team in sync with seamless, automated deployments.
Key Features
- Telegram Trigger: Initiate workflows with incoming Telegram messages.
- Conditional Logic: Filter messages to only act on specific commands (e.g.,
/deploy). - Version Extraction: Automatically parse version numbers from message text.
- GitHub Release Automation: Create new GitHub releases based on extracted version data.
- No-Operation Branch: Safely handle messages that don't match the deployment command.
How To Use
- Telegram Trigger: Configure your Telegram bot in n8n and set it to listen for 'message' updates. Ensure your bot is added to the relevant Telegram chat.
- IF Node: Set up a condition to check if the incoming Telegram message text 'contains' a specific command, such as
/deploy. - Set Node: If the condition in the IF node is met, use this node to extract the version number from the message text. For example, if the message is
/deploy v1.2.3, you can split the text and take the second element. - GitHub Node: Configure the GitHub node to create a 'release'. Provide the 'owner', 'repository' (e.g., 'n8n-io', 'n8n'), and set the 'releaseTag' dynamically using the extracted version from the Set node (e.g.,
={{$json["version"]}}). You'll need to authenticate with your GitHub account. - NoOp Node: Connect this node to the 'false' output of the IF node. This node simply acts as a placeholder for messages that do not meet the deployment command criteria, preventing workflow errors.
Apps Used
Workflow JSON
{
"id": "b28f327c-101c-4684-a141-0a47a384600f",
"name": "Automate GitHub Releases with Telegram Commands",
"nodes": 12,
"category": "DevOps",
"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: b28f327c-101c...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.