A Github webhook which sends a message to Telegram using AWS Lambda and AWS API Gateway
-
Create a Telegram bot
-
Add the bot to your chat and check the chat id on its getUpdates API
-
Create an AWS Lambda function and paste the code from handler.js into the function, inserting your Telegram configuration
-
Create an API Gateway pointing to your AWS Lambda handler
-
Go to your Github repository settings and add a webhook pointing to your API resource URL
-
Get your Trello API key and create a token at https://trello.com/app-key.
-
Open your Trello board and copy the id portion of its URL.
-
Edit your AWS Lambda function and paste the code from handler_plus_trello.js into the function, inserting your Telegram and Trello configurations