Dialogflow Platform

Integration published by Jovo | 36,720 downloads

Build apps for platforms like Messenger and Slack by using Dialogflow as connecting platform

Dialogflow Platform Integration

Learn how to bring your Jovo apps to platforms like Facebook Messenger and Slack by using Dialogflow integrations.

Introduction to Dialogflow Integrations

If you have an existing Dialogflow Agent (which you can set up using the Jovo Language Model) and the Jovo CLI, you can enable integrations in the Dialogflow console:

Dialogflow Integrations

Configuration

To enable a Dialogflow integration in your code, import the jovo-platform-dialogflow package and then register the integrations with the app.use method:

The example above shows how both Slack and Facebook Messenger are added as plugins of the Dialogflow class, with an additional use call.

Platforms

Facebook Messenger

Official Dialogflow Docs: Facebook Messenger Integration

Dialogflow Integrations: Facebook Messenger

You can use this Dialogflow integration to build bots for Facebook Messenger. Learn more about the setup process in the official Dialogflow docs.

For platform-specific output, you can add custom payload (learn more below) with the facebook attribute. Learn more about Facebook Messenger output in the official Facebook docs.

Slack

Official Dialogflow Docs: Slack Integration

Dialogflow Integrations: Slack

You can use this Dialogflow integration to build Slack bots. Learn more about the setup process in the official Dialogflow docs.

For platform-specific output, you can add custom payload (learn more below) with the slack attribute. Learn more about Slack bot output in the official Slack docs.

Custom Payloads

Official Dialogflow Docs: Custom Payloads

To extend the responses with platform-specific output, you can add custom payloads to the Dialogflow response:

You can find the right attributes to pass to the method in the official Dialogflow docs. For example, you can add Facebook Messenger Quick Replies like this:

Dialogflow Platform Changelog

Current version might be higher than the latest changes displayed below because of updates of dependencies.

3.0.17 (2020-05-13)

🐛 Bug fix

  • jovo-platform-dialogflow Fix missing handleRequest parameter

Committers: 1

3.0.11 (2020-04-06)

  • Updated Typescript to 3.8.x
  • Updated Prettier to 2.x

Committers: 2

2.x

Find the 2.x changelog here.

Join Our Newsletter

Be the first to get our free tutorials, courses, and other resources for voice app developers.