Actions

Use the Janis Action to relay data to Dialogflow. Simply drop in your Janis Key into your Manychat Settingsand, then use the Janis Action in your Flows. One Janis Action is all you need in your Default Reply flow to relay all user input, buttons clicks, custom user field data, and tags. Janis will process all of that data with leading AI from Google.

custom Dialogflow integration with manychat

There are two ways to add the Janis Action to Manychat:

  • Our free Dialogflow Starter Kit includes a Janis app, example flows that use the Janis Action, and a Dialogflow template that will make your chatbot immediately understand the most common messages users send. You'll benefit immediately from our Manychat-Dialogflow integration.
  • If you don't want our Dialogflow Starter Kit, or you have already been training a Dialogflow agent, you can install just the Janis app and manually configure your Default Reply to relay messages to Dialogflow.

App Settings

Your Janis Key will be stored in your Manychat Settings (Manychat Settings > Apps > Janis.ai).

custom Dialogflow integration with manychat

Use the Janis Action in your Default Reply

Your Default Reply flow in Manychat should include the Janis Action so you can relay messages to Dialogflow.

custom Dialogflow integration with manychat

If you need to set up a Default Reply, go to your ManyChat Settings and nagivate to the Messenger section, then select Edit for the Default Reply option.

custom Dialogflow integration with manychat

Add the Janis Action and make sure the Default Reply is both enabled and set to fire Every Time so that every message a user sends will be sent to Dialogflow.

custom Dialogflow integration with manychat

To test your Dialogflow connection, send your bot a message you know it won't understand and look out for a 🙊 No Response alert from Janis. Make sure to disable any Manychat keyword rules so you can process all user input with Dialogflow through your Default Reply. If you don't get an alert, or you don't get a response back from Dialogflow, check these troubleshooting tips.

Give Janis Additional Instructions

You can set other Manychat Actions in your Manychat flows, and Janis will translate your Actions into instructions for Dialogflow:

Buttons

You'll process user input with Dialogflow through your Default Reply, but you can also trigger Dialogflow Intents when users click buttons in your flows using an {{event}} Custom User Field.

Buttons

Context

If a user says "Yes" in response to a question then how will Dialogflow know what that response is in reference to? Use Manychat tags, or set a {{context}} Custom User Field.

Context

Languages

You can add more than one language in Dialogflow. Set a Custom User Field {{lang}} with a language code so Dialogflow will know what language to use.

Languages