2.5 KiB
Get Zulip notifications from your Trello boards!
!!! tip "" Note that Zapier is usually a simpler way to integrate Trello with Zulip.
-
{!create-stream.md!}
-
{!create-bot-construct-url-indented.md!}
-
Log in to Trello, and collect the following three items:
-
Board ID: Go to your Trello board. The URL should look like
https://trello.com/b/<BOARD_ID>/<BOARD_NAME>
. Note down the<BOARD_ID>
. -
API Key: Go to https://trello.com/1/appkey/generate. Note down the key listed under Developer API Keys.
-
User Token: Go to https://trello.com/1/appkey/generate. Under Developer API Keys, click on the Token link. Click on Allow. Note down the token generated.
You're now going to need to run a Trello configuration script from a computer (any computer) connected to the internet. It won't make any changes to the computer.
-
-
Make sure you have a working copy of Python. If you're running macOS or Linux, you very likely already do. If you're running Windows you may or may not. If you don't have Python, follow the installation instructions here. Note that you do not need the latest version of Python; anything 2.7 or higher will do.
-
Download zulip-trello.py.
Ctrl+s
orCmd+s
on that page should work in most browsers. -
Run the
zulip-trello
script in a terminal, after replacing the arguments with the values collected above.python zulip_trello.py --trello-board-name <trello_board_name> \ --trello-board-id <trello_board_id> \ --trello-api-key <trello_api_key> \ --trello-token <trello_token> \ --zulip-webhook-url <zulip_webhook_url>
The
zulip_trello.py
script only needs to be run once, and can be run on any computer with python. -
You can delete
zulip_trello.py
from your computer if you'd like.
{!congrats.md!}
Advanced
You can learn more about Trello's webhooks via their webhook API documentation.
Trello does not provide a web interface for their outgoing notifications, so any webhook configuration must be done through their API.