Table of Contents
< All Topics
Print

Settings Overview

  • Status

Status can be “Enabled”, or “Disabled”. This means you can turn your bots on and off via this configuration setting.

Google Settings

There are two settings you need to be concerned with if you want your bot to additionally log your bots responses to Google Sheets

  • Apps Script – this is the code you need to allow google to LISTEN for your bot to send it code to write to the sheet.
    • There are several steps you need to follow inside of google to make this work properly. Be sure to watch the video about this. The code sample is provided below but it is also inline to each bot by clicking the link that says “GET APPSCRIPT
 
  • Sheet ID – this is the sheet it will write your date into
 
 

Google App Script URL

function doPost(e) {
   var spreadsheetId = e.parameter.spreadsheetId;

   // Open the specified spreadsheet
   var sheet = SpreadsheetApp.openById(spreadsheetId).getActiveSheet();

   // Parse the JSON data
   var params = JSON.parse(e.postData.contents);

   // Append the field names as a header row (only if the sheet is empty)
   if (sheet.getLastRow() === 0) {
       var fieldNames = [];
       for (var key in params) {
         if (params.hasOwnProperty(key)) {
           fieldNames.push(key);
         }
     }
     sheet.appendRow(fieldNames);
   }

   // Append the corresponding values as a new row
   var fieldValues = [];
   for (var key in params) {
     if (params.hasOwnProperty(key)) {
     fieldValues.push(params[key]);
     }
   }
   sheet.appendRow(fieldValues);

   return ContentService.createTextOutput("Data saved");
}

Google Sheet ID

So when you are editing a sheet you can see the URL at the top in the address bar. It eill look something like this:

  • https://docs.google.com/spreadsheets/d/1an2oIGkgRXDhNujiF08AC4phZVUaxV6D23iq8UJsljs/edit?gid=0#gid=0

In that mess of junk lies your Sheet ID and this is the part you must extract to enter this field


Email for notifications

Enter the email that you want to receive these bots notifications on. This is important to make sure you choose a mail box you monitor often.


Zapier Webhook URL

Use this URL to post to Zapier’s Webhook URL and once that data is posted to Zapier take it and process it according to your workflow.


Make Webhook URL

Use this URL to post to Make’s Webhook URL and once that data is posted to Make take it and process it according to your workflow.


Domain whitelist (comma-separated)

As a security measure, you can ensure your bot will only be visible on your website(s). To do so just enter in the domain names via comma separated values like this:

 site.com,site2.com

 

Responses

Tick this box to not save responses.


Conversation Cache Time (minutes)

Default value is 80

After that the conversation is lost and the user starts again.


Branding

Show branding is an option available to you if you have a plan that allows is. If you would like to disable this, there is a onetime $100 removal fee.


Notification Badge

Leave it checked (Default) to show the notification message badge. If you want to hide it, then uncheck it.


Mailchimp API key

self-explanatory

Klaviyo API key

self-explanatory

 

Internationalisation

  • Write a reply
    • You can change the default ‘Write a reply’ widget text to a different language by entering a replacement here.
  • Select answer
    • You can change the default ‘Select answer’ widget text to a different language by entering a replacement here.
  • That doesn’t look like a valid email. Please enter a valid email.
    • You can change the default ‘That doesn’t look like a valid email. Please enter a valid email.’ validation message to a different language by entering a replacement here.
  • Please only enter numbers.
    • You can change the default ‘Please only enter numbers.’ validation message to a different language by entering a replacement here.
 
Categories