Get personal message notifications in Zulip for the results of your Dialogflow queries!
-
Create the channel you'd like to use for Dialogflow notifications.
-
Create a bot for Dialogflow. Make sure that you select Incoming webhook as the Bot type.
The API key for an incoming webhook bot cannot be used to read messages out of Zulip. Thus, using an incoming webhook bot lowers the security risk of exposing the bot's API key to a third-party service.
Construct the URL for the Dialogflow bot using the bot's API key and your Zulip email. The webhook URL should look like:
https://chat.zulip.org/api?api_key=BOT'S_API_KEY&email=foo@example.com
Modify the parameters of the URL above where
api_keyis the API key of your Zulip bot andemailis your Zulip email. -
Go to the Fulfillment settings of your Dialogflow app and enable Webhooks. Set URL to the URL constructed above. Go to Intents and at the bottom, check the box Use webhook under Fulfillment.
You're done! Your Dialogflow notifications may look like this:

Logos are trademarks of their respective owners. None of the integrations on this page are created by, affiliated with, or supported by the companies represented by the logos.