Skip to content
Integration between Trello and Rocket.Chat: send Trello activity notifications to Rocket.Chat channels.
JavaScript
Branch: master
Clone or download
Latest commit b5bb55a Mar 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Jun 21, 2017
README.md Update README file Mar 5, 2018
Rocket.Chat-Trello-Integration.png Added screenshot with this integration Jun 21, 2017
Trello.js Add webhook Trello.js script Jun 21, 2017

README.md

Rocket.Chat-Trello-Integration

A Rocket.Chat Trello integration to send activity notifications to Rocket.Chat channels.

image

How To

  1. Create an incoming webhook in your RocketChat
    1. Go to RocketChat-> Administration-> Integrations-> New Integration-> Incoming webhook
    2. Set "Enabled" to "True"
    3. Give a name for the webhook (i.e "sda.tech-trello")
    4. Select the channel where you will receive the alerts (ex: #sda.tech-events). You may wish to create a dedicated channel for your notifications.
    5. Select an account from which the alerts will be posted (usually rocket.chat bot account is used).
    6. Set "Script Enabled" to "True"
    7. Paste Trello.js inside the Script field.
    8. Save the integration. This will generate a webhook URL and secret for you.
    9. Use the generated WebHook URL to POST messages to Rocket.Chat
  2. Go to Trello's REST API and enter your Trello API Key and your Token to get started.
    1. After you have been connected to the Trello’s REST API you may wish to Get /boards/{id} which request a single board you are looking for, by providing the ID of the board as a parameter (For example in the URL https://trello.com/b/Id0fth3B0rD/board-name, the ID would be Id0fth3B0rD). Press Try it to get the result.
    2. Select "id": "idModel" of a board which you would like to create POST messages to Rocket.Chat.
    3. Go to Create Webhook in the Trello’s REST API and add your WebHook URL (callbackURL), Board Id (idModel) and other parameters as below:
    description : ”Trello-YourChannel-Webhook”
    callbackURL:  "WebHook URL"
    idModel: "ID of the model to be monitored (which you obtained above)"
    active: "true"
    1. Press Try it to make it works.
  3. The integration is ready to generate notifications for the given board :) Enjoy it!
You can’t perform that action at this time.