This workflow automates the process of triggering a GitHub release based on specific messages received through Telegram. It enables seamless manual deployment or version updates by simply texting a command in Telegram.
The workflow starts with the ‘Telegram Trigger’ node, which listens for new messages in a Telegram chat. When a message is received, it passes the message data to an ‘IF’ node that checks whether the message contains the command ‘/deploy’. If the condition is true, the workflow proceeds to extract the version number from the message text using the ‘Set’ node. This node captures the version specified after the ‘/deploy’ command.
Next, the extracted version number is passed to the ‘GitHub’ node, which then triggers a release of the n8n repository’ on GitHub with the specified version tag, using OAuth2 authentication.
If the message does not contain ‘/deploy’, the workflow reaches a ‘NoOp’ node, ending the process without action.
This workflow is particularly useful in scenarios where development teams want to initiate deployment processes or release versions dynamically via simple Telegram commands, eliminating the need for manual GitHub interactions.
Reviews
There are no reviews yet.