Troubleshooting

Most problems you might encounter are common problems and we can help you resolve them. Check these FAQ. If you're still stuck after that, please check our other support options.

Here are common reasons your Dialogflow connection isn't working:

  • Check the key you got from Janis in Slack and compare that with the Key you entered into the Janis block for the Janis_Key value.
  • Make sure your JSON API request is set to POST
  • If you have a lot of keyword rules in Chatfuel, they may be overriding Dialogflow responses. Try having your keyword rules hit your Default Reply and then those inputs will hit Dialogflow instead and you can use AI to process user input.
  • If you've used a Dialogflow connector other than Janis, it's likely creating conflcts with Janis. You only need one connector to Dialogflow. Remove the other one (Janis is all you need).
  • Make sure that you have a Default Fallback Intent in Dialogflow. You can log into Dialogflow directly and view your list of intents. If you have a Default Fallback Intent, click to open it and make sure that you have input.unknown in the Action field of the intent and make sure you have at least one text response. If you need to create a Fallback Intent because you don't see one in your your list of Intents, just to the right of the blue Create Intent button are three dots. Click the three dots and select Create Fallback Intent to add one.
  • If you are getting Dialogflow responses but you are just not getting alerts in Slack when your bot doesn't respond it's because the No Response alert is disabled and you need to enable it. Say `Alerts` in Slack to enable it.
  • User Attribute names and block names are all case sensitive:
  • {{user input}} This needs to be lower case exactly as it appears.
    {{event}} This needs to be lower case exactly as it appears.
    {{context}} This needs to be lower case exactly as it appears.
    {{context lifespan}} This needs to be lower case exactly as it appears.
    {{reset contexts}} This needs to be lower case exactly as it appears.
    {{lang}} This needs to be lower case exactly as it appears.

Here are common reasons your Dialogflow connection isn't working:

  • Check the URL you got from Janis iand compare that with URL you entered into the JSON API in the Janis block.
  • Make sure your request is a POST and only contains the URL Janis gives you.
  • If you have a lot of keyword rules in Chatfuel, they may be overriding Dialogflow responses. Try having your keyword rules hit your Default Reply and then those inputs will hit Dialogflow instead and you can use AI to process user input.
  • If you've used a Dialogflow connector other than Janis, it's likely creating conflcts with Janis. You only need one connector to Dialogflow. Remove the other one (Janis is all you need).
  • Make sure that you have a Default Fallback Intent in Dialogflow. You can log into Dialogflow directly and view your list of intents. If you have a Default Fallback Intent, click to open it and make sure that you have input.unknown in the Action field of the intent and make sure you have at least one text response. If you need to create a Fallback Intent because you don't see one in your your list of Intents, just to the right of the blue Create Intent button are three dots. Click the three dots and select Create Fallback Intent to add one.
  • If you are getting Dialogflow responses but you are just not getting alerts in Slack when your bot doesn't respond it's because the No Response alert is disabled and you need to enable it. Say `Alerts` in Slack to enable it.
  • User Attribute names and block names are all case sensitive:
  • {{user input}} This needs to be lower case exactly as it appears.
    {{event}} This needs to be lower case exactly as it appears.
    {{context}} This needs to be lower case exactly as it appears.
    {{context lifespan}} This needs to be lower case exactly as it appears.
    {{reset contexts}} This needs to be lower case exactly as it appears.
    {{lang}} This needs to be lower case exactly as it appears.

You can create multiple Dialogflow accounts because Dialogflow uses a Google Login and you might have multiple Google accounts. If you sign-in with Google to connect your Dialogflow account to Janis and then want to connect a different Google account, click here and pick a different Google account. When you add a bot to Janis again, you'll be prompted to sign-in again, and you can sign-in with a different Google account.

If you installed our pre-trained AI, all of the Intents provided by Janis fit together so that there are no conflicts when users send messages and trigger Intents. If you have your own Intents already set up and you add our pre-trained AI, you'll want to test to make sure you don't have conflicts when users send messages. If you do have conflicts with messages you send, you could delete Intents so you only have unique Intents, or one strategy is to assign a higher priority to an Intent in Dialogflow without deleting any of your Intents. Click into an Intent and click the blue dot next to the Intent name, then set it to a higher priority.

You can connect Janis to a Facebook page to monitor your Chatfuel bot and help you fix problems fast. If you don't see your Facebook page in the list when you want to connect Janis to Facebook, it's because you didn't give Janis full permissions to access your pages. You can follow these steps to fix the problem:

  • Click here
  • Find the Janis app and click view and edit
  • See if all pages are enabled for Janis. If not, then select all your pages to enable them so you can connect them to Janis. Scroll to Manage your Pages and if needed click the link to See all Pages as many are hidden from view. Make sure the checkbox is selected for each page.
  • Scroll to the other sections including `Show a list of the Pages you manage`. Do the same thing and make sure all of your pages are selected.
  • Return to Slack and try and connect again to a page, and you should see it in the list.