2017-06-20 03:10:42 +02:00
|
|
|
Get Zulip notifications for your Asana projects via Zapier!
|
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
1. {!create-stream.md!}
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
1. Next, on your {{ settings_html|safe }}, create a bot for Asana.
|
|
|
|
Construct the URL for the Asana bot using the bot API key and
|
|
|
|
stream name, like so:
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
`{{ api_url }}/v1/external/zapier?api_key=abcdefgh&stream=asana`
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
1. Start by setting up a [Zapier](https://zapier.com/) account.
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
1. Next, create a ZAP, picking Asana as the app you'd like
|
|
|
|
to receive notifications from as the **Trigger (Step 1)**:
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
![Trigger](/static/images/integrations/asana/001.png)
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
1. Next, select the Asana event that you'd like to receive notifications
|
|
|
|
for (**Choose Trigger**), such as when you add a new **Task** in
|
|
|
|
an Asana project:
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
![Trigger selection](/static/images/integrations/asana/002.png)
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
1. Next, click on **Connect a New Account** and follow the steps
|
|
|
|
to connect your Asana account to the Zap:
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
![Account selection](/static/images/integrations/asana/003.png)
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
1. Select the Asana project you'd like to receive notifications for:
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
![Project selection](/static/images/integrations/asana/004.png)
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
1. In **Action (Step 2)**, select **Webhooks by Zapier** as the app:
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
![App selection](/static/images/integrations/asana/005.png)
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
and `POST` as the action:
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
![Action selection](/static/images/integrations/asana/006.png)
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
1. Configure **Set up Webhooks by Zapier POST** as follows:
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
* `URL` is the URL we created above.
|
|
|
|
* `Payload Type` set to `JSON`.
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
1. Finally, configure **Data**. You have to add 2 fields:
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
* `subject` is the field corresponding to the subject of the message.
|
|
|
|
* `content` is the field corresponding to the content of the message.
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
1. You can format the content of the `content` and `subject` fields
|
|
|
|
in a number of ways as per your requirements.
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
Here's an example configuration:
|
2017-06-20 03:10:42 +02:00
|
|
|
|
2021-03-15 20:08:20 +01:00
|
|
|
![Example configuration](/static/images/integrations/asana/007.png)
|
2017-06-20 03:10:42 +02:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
2020-08-05 11:50:17 +02:00
|
|
|
![Asana bot message](/static/images/integrations/asana/008.png)
|
2017-06-20 03:10:42 +02:00
|
|
|
|
|
|
|
You can repeat the above process and create Zaps for different projects
|
|
|
|
and/or different kinds of Asana events that you'd like to be notified
|
|
|
|
about in Zulip.
|