Table of Contents

The settings below are related to the Artificial Intelligence app.


Synchronization

To start using the Google AI services and Dialogflow follow the steps below.

Automatic sync mode

We are officially discontinuing support for Dialogflow and advise new users against using it. so we recommend our modern Our FLOWS Builder and OpenAI to ensure a more reliable and updated experience.
note that other google services are working fine

  • Click Synchronize now and complete the procedure.
  • If you want to activate the Dialogflow chatbot, check Settings > Artificial Intelligence > Google > Dialogflow chatbot. Also, you have to enter your chatbot Project ID or Agent Name, to get it follow the steps below.
  • You need to purchase credits to use this option.

Manual sync mode

  • Enable the CHAT.devad.io > Settings > Artificial Intelligence > Google > Dialogflow Chatbot option and save the changes.
  • Go to console.cloud.google.com and sign in.
  • Select or create a project by clicking the Select a project button on top-left. Name the project as you want.
  • Activate the Dialogflow API by entering Dialogflow API on the top search bar. Click Dialogflow API and then click Enable. Do the same for the Cloud Natural Language API, Cloud Translation API, and Google Calendar API.
  • Select the project and the go to Left menu > APIs and services > OAuth consent screen. Select External and click Create. In App name enter what you want, in User support email and Developer contact information enter your email. Click Save and continue.
  • In the Data access area, click Add or remove scopes, scroll bottom and into the Manually add scopes area enter https://www.googleapis.com/auth/dialogflow,https://www.googleapis.com/auth/cloud-language,https://www.googleapis.com/auth/cloud-translation,https://www.googleapis.com/auth/calendar. Click Add to table and then Update and Save and continue.
  • In the Audience area, click Add users and add your Google email, use the same email as the currently logged in account. Click Save and continue. Click PUBLISH APP. There is no need to complete the review process, leave it in the pending review state.
  • Go to Left menu > APIs and services > Credentials and click Create credentials, select OAuth client ID. As Application type select Web application. Enter any name you want. In Authorised redirect URI enter the redirect URL, get it from CHAT.devad.io > Settings > Artificial Intelligence > Google > Authorised redirect URI. Click Create.
  • Copy Client ID and Client Secret and paste them into CHAT.devad.io > Settings > Artificial Intelligence > Dialogflow. Save the settings.
  • Click CHAT.devad.io > Settings > Artificial Intelligence > Google > Synchronize. Login with the same Google account you have used till now. On the next screen click Continue. On the next screen select all scopes and click Continue.
  • Copy the Refresh token and paste it into CHAT.devad.io > Settings > Artificial Intelligence > Google > Refresh token.
  • You are done! If you want to activate the Dialogflow chatbot, check Settings > Artificial Intelligence > Google > Dialogflow chatbot. Also, you have to enter your chatbot Project ID or Agent Name, to get it follow the steps below. Note that the app does not need to be approved by Google.
  • If you are a Google Workspace user, go to https://admin.google.com/ and click Google Cloud Session control. Set Re-authentication policy to Never require re-authentication.

Multilingual chatbot

The feature Artificial Intelligence > Google > Multilingual checks if there is a Dialogflow agent in the user’s language and activate it.

  • For this feature to work the user language must be know. The user language is based on the language user detail of the user if set, otherwise on the user browser language. The language can also be detected with the language detection feature.

Automatic translation

The automatic translation feature automatically translates user messages into agent language and agent messages into user language. To enable it check the option Settings > Artificial Intelligence > Automatic translation. If you are using the cloud version and Artificial Intelligence > Google > Sync mode is set to Automatic, the multilingual features will work automatically. Otherwise you have to complete the synchronization and the setup below. The multilingual via translation and language detection features also require these steps.

Setup

  • Log in to https://console.cloud.google.com with your Google account and select the project of your Dialogflow Agent.
  • On the top search bar type cloud translation, select the Cloud Translation API service and enable it. Please note that this is a paid service with a free tier, additional charges may occur.
  • Enable the billing by clicking Left menu > Billing and by enabling a billing account with a valid payment method.

Information

  • The user messages in the admin area are translated automatically in real-time to match the agent language.
  • The agent messages are translated automatically in real-time to match the user language.
  • Agents can view the original message by opening the message menu and by clicking View original message.
  • The agent language is based on the language user detail of the agent if set, otherwise on the browser language, or admin area language.
  • The user language is based on the language user detail, if set, otherwise on chat language, if set, otherwise on the browser language. The language can also be detected with the language detection feature.
  • The notifications are also translated.
  • To avoid translating a string, enclose it with the characters ` or “`.

Multilingual via translation

The feature at Settings > Artificial Intelligence > Multilingual via translation automatically translates user messages into the default language of Dialogflow or OpenAI, and translates Dialogflow or OpenAI messages into the language spoken by the user. Additionally, this feature translates all text displayed within the chat, such as the chatbot’s rich messages, articles, registration forms, and pop-up notifications. To enhance performance and minimize translation costs, the translations are automatically integrated into the translation files. Combine this feature with the language detection feature for optimal results.

  • If English is one of the languages, English must be the default language, the original texts must be in English.
  • If you are using OpenAI with training data, set the default training data language under Settings > Artificial Intelligence > OpenAI > Training Sources Language. Leave it as default if the training data default language is in English.

Language detection

Detect the language of the user’ messages and change the user language and Dialogflow agent language accordingly, if available, otherwise, show a fallback message. You can use the following merge fields in the message: {language_name}.

  • The user message must be at least 2 words long.
  • Language detection is executed only for the first 2 user messages of a conversation.
  • As long as the OpenAI chatbot is operational and programmed to respond to generic inquiries, the fallback message will never be dispatched, since OpenAI will consistently provide answers to any use message.

Google search

The Google search feature at Settings > Artificial Intelligence > Google search gives your chatbot the ability to search for answers on Google. This feature is helpful for providing answers to questions that require real-time information.

  • Register at https://programmablesearchengine.google.com/.
  • Create a search and setup it is as you want. We recommend to add only your website and Wikipedia if you want your chatbot to reply to general questions, leave disabled the option Search the entire web. Use the Entities option to exclude invalid results.
  • Go to Edit search engine > Setup > Basic and copy the Search engine ID value, paste it in CHAT.devad.io.
  • To get the API key visit https://developers.google.com/custom-search/v1/overview and click Get a key.

Spelling correction

In the case where Dialogflow is unable to find the appropriate response to the user’s message, this function verifies if there are any spelling errors. If any such errors exist, Dialogflow is prompted again with the correctly spelled version of the message for an accurate response. Although it has a lower priority, this feature can still work together with the OpenAI Dialogflow spelling correction feature.

Entities

The Entities setting analyze the user’s message and recognize and extract entities like cities, events, dates, and more. Use it to exclude invalid results returned by Google search. To enable this setting follow the steps below.

  • Log in to https://console.cloud.google.com with your Google account and select the project of your Dialogflow Agent.
  • Enter Cloud Natural Language API in the search bar at the top, select Cloud Natural Language API and enable the API .
  • Enable the billing by clicking Left menu > Billing and by enabling a billing account with a valid payment method. Enable billing for the project of your Dialogflow agent.

Information

  • The Google search is performed only if the chatbot does not know the answer to the user’s question and if the length of the user’s message is greater than 4 characters.
  • If the Google search returns a result, the Dialogflow context google-search is automatically activated. The context contains the attribute link which is the website’s link of the Google search result. Use the context to create a new intent that provides the link, if the user sends a message like tell me more or I want to know more.
  • Google search is not required to activate the spelling correction. You can disable Google search and activate only spelling correction.
  • Google search is compatible with the OpenAI chatbot.


🛠️ Google Calendar & AI Integration FAQ

Connectivity & Syncing

Q: Why is my Google Calendar not syncing with CHAT App (CHAT.devad.io)? Ensure your Google account authorization is active and has the correct permissions. This issue can also stem from incorrect OAuth credentials, expired tokens, or insufficient permissions granted during the initial setup. Check your connection and reauthorize if necessary.

Q: Why do my appointments not appear correctly in Google Calendar? This is often caused by time zone mismatches or selecting the wrong calendar in the CHAT App (CHAT.devad.io) settings. Verify that your dashboard settings match your preferred local time zone and specific calendar ID.

Q: Can I create appointments in CHAT App (CHAT.devad.io) that automatically show in Google Calendar? Yes. The platform integrates directly with Google Calendar to create, display, and update appointments automatically the moment they are scheduled via the chat interface.

Q: Why do Google contacts or calendar events sometimes not update immediately? Sync delays can occur due to API rate limits or temporary network fluctuations. Performing a manual sync or refreshing the dashboard usually resolves this.


AI & Automation Features

Q: Why am I not receiving AI-generated appointment reminders? Check your notification settings within CHAT App (CHAT.devad.io). Ensure that email or SMS reminders are enabled and that the lead’s contact details are correctly formatted.

Q: How does CHAT App (CHAT.devad.io) handle appointment rescheduling? Users can reschedule appointments naturally via chat. The system automatically updates the linked Google Calendar and sends out notifications to all involved parties to keep everyone aligned.

Q: Can AI features suggest optimal appointment times? Yes. The AI analyzes your real-time availability and recommends specific meeting times to the user, significantly improving scheduling efficiency and reducing back-and-forth messaging.

Q: How do AI features like Smart Reply or Human Takeover work? Smart Reply provides AI-powered suggested responses for quick interactions, while Human Takeover allows a seamless transition from the bot to a human agent for complex queries that require a personal touch.

Q: What should I do if the AI-generated answers are inaccurate or irrelevant? Adjust your programmable search engine setup within the app. Ensure you include only trusted domains (like your official website) and use Entity filters to exclude invalid or off-topic results.


Technical Troubleshooting & API

Q: How can I fix OAuth consent screen errors during setup? Ensure all required scopes (such as Dialogflow, Cloud Language, and Cloud Translation) are added. The OAuth consent screen must be published in the Google Cloud Console, even if it is still in the “pending review” state.

Q: What should I do if Google API requests exceed the quota limit? Review your API usage and optimize your query frequency. If your volume remains high, you can request a quota increase via the Google Cloud Console to prevent synchronization delays.

Q: What happens if the Google Workspace re-authentication policy interferes with integration? To avoid service disruptions, set the Cloud Session control’s Re-authentication policy to “Never require re-authentication” within your Google Workspace admin settings.


Privacy & Reliability

Q: Are there privacy concerns with syncing appointments? CHAT App (CHAT.devad.io) follows GDPR and global privacy laws. The system only syncs data strictly necessary for scheduling appointments and requires explicit user consent.

Q: Why am I experiencing delays in AI-generated follow-ups? Delays can stem from server loads, connectivity issues, or AI processing errors. We recommend monitoring the system status and ensuring you are using the latest version of the app for optimal performance.