The error console

How to get information if I have errors in my bot in order to debug it? An error console is available on your chatbot design interface in the main menu on the “Alerts” tab. You will find details of “fatal” errors concerning your webhooks, infinite loops, outdated Google Sheets tokens and especially your Faceboook authorizations, etc… We also recommend that you display the variables you want to manipulate in texts to see their state before …

Date: variables and functions

Everything you need to know to display and manipulate dates and schedules with bn_date Here is how to easily manipulate the date variables to customize your chatbots even more. These “magic” variables are processed dynamically in the display and in the conditions. It becomes very easy to say “good evening” instead of “good morning”, to answer that the physical store is closed this Sunday, but will be open next Tuesday etc… Here is the list …

The IF Condition feature

Launch an action in your chatbot based on a condition on a variable 1. What is an IF Condition on Botnation? In a word, this is what will allow your chatbot to act in a LOGICAL way. It is an instruction that takes the form: IF X happens (condition) THEN do A (consequence) OR do B (alternative). The conditions are usually in the form “If… Then… Else…” in all the main programming languages like Javascript, …

Why is an infinity symbol ∞ displayed?

Infinite loop problem Your chatbot is running in infinite loop, that is to say that you send it on a next sequence, by a redirection or condition, which sends it back on the previous one. Sequence A -> Sequence B-> Sequence A -> Sequence B So it goes around in circles and informs you about it. Check your redirections or the state of the variables during the conditions. These “infinite loop” errors also show up …

All about {{…}} variables

A variable is a powerful tool to dynamically customize your chatbot and collect data. 1. What is a variable? A variable is a textual symbol, in the form {{Variable}}, which associates a value to this symbol. This value can be either a text or a number, such as an address, a vehicle model, a phone number or a quantity. This value is dynamic and can change as many times as you want depending on the …

Manage several Facebook pages on the same Messenger chatbot

How do I get the ID of the Facebook page I contacted? If you have connected your BOTNATION chatbot to several Facebook pages you may need to know the ID of the Facebook page you are contacting in order to personalize messages. This can happen if you have multiple locations that each have their own Facebook page. They have their own Messenger account, however you want to manage a single chatbot for all these establishments …

The list of values returned by the variable {{LANGUAGE}}

What are the language codes of Botnation users? The values returned by the variable {{LANGUAGE}} are in ISO 639-1 format and are as follows: ENFRESITDEJPZHARBGHRCSDANLFIELHEHUKONOPLPTRORUSRSKSLSVTHTRVI Any other language will return the code EN (English). You can find the list of the corresponding languages on the wikipedia page of the ISO 639-1 format.

Add a delay between 2 messages ⏰

How to force the chatbot to pause after posting something. 1. Use Among the construction features, click on “Delay”. Drag the slider to choose the length of the delay. In the example above, the chatbot will display the text, pause for 3 seconds and then display the sequence chosen for the redirection. 2. Options

Add a redirection

How to redirect your chatbot from one sequence to another. 1. Use Among the construction features, click on “Redirection”. Choose the sequence to which the chatbot will be redirected in the drop-down menu.In this menu, the sequences are sorted by Group and alphabetically. ATTENTIONThis feature can only be placed at the end of a sequence. 2. Options A – You can leave a comment to your collaborators about this feature by clicking on the icon …

Import a Pdf in your chatbot

Easily add a Pdf that will be downloadable in your chatbot. 1. Use Just as it is possible to add an image or a video in a sequence of your chatbot, you can also add a PDF file to, for example, propose the download in PDF format of a price list, a product instruction manual, a contract, general conditions etc… Among the building features, click on “Media” and then, in the menu that opens, click …

Add a text to your chatbot

Easily add text that will be used by your chatbot. 1. Use Among the construction features, click on “Text”. Then type your text in the input field. The Text Functionality is limited to 640 characters and you can see the count in the bottom right corner of the input field. TIPIf your text exceeds the 640 character limit, simply break your text into multiple paragraphs and add them to your chatbot using multiple Text Features …

Add a video to your chatbot

Easily add a video that will be displayed by your chatbot. 1. Use Among the building features, click on “Media” and then, in the menu that opens, click on “Video”. To add a video you have several ways:– by dragging and dropping the file directly onto the feature,– by clicking which will open the file explorer of your computer,– by entering a URL corresponding to an online video. The format supported by our platform is …

Add an image to your chatbot

Easily add an image that will be displayed by your chatbot. 1. Use Among the construction features, click on “Media” and then, in the menu that opens, click on “Image”. To add an image you have several ways:– by dragging and dropping the file directly onto the feature,– by clicking which will open the file explorer of your computer,– by entering a URL corresponding to an online image,– by entering a variable that corresponds to …

A/B Testing and Machine Learning

With A/B Testing, measure and optimize your chatbot’s actions 1. What is A/B Testing A/B testing consists in comparing several versions of an image, a video, a text, a button label in order to verify which one is the most efficient. These variations are presented in linear or random ways to your chatbot users. Botnation offers 3 rotation modes: Linear: the elements rotate in a loop always in the same order. Recommended from 2 elements. …

Put text in color, bold, italic or underlined

Use formatting options through HTML style tags to color, center text, bold or underline text On the BOTNATION web module you can now use tags to format text displayed in your chatbot. This is very useful to highlight important information to your users. Beware that this DOES NOT work for Facebook Messenger which filters tags. These options are only available on the Web and WordPress chatbot module of Botnation. Examples include: <b>text in bold</b> Place …

Add Comments

Insert comments to notify your team of your chatbot’s evolutions The comments inserted when editing your chatbot are intended for anyone who may edit the structure of your Botnation chatbot with you.This is a form of documentation directly integrated in your chatbot and therefore a key element, especially when you build or maintain a chatbot in collaborative mode. To add, read or edit a comment , simply click on the small text bubble on the …

Recommendations for importing a video into your Chatbot

This article presents the recommendations for an optimal use of the videos It is important not to import just any video into your Chatbot because the user experience can be significantly degraded. Indeed, if your video is too heavy, it will take longer to load and launch. To optimize this weight, you can reduce the size of your video and/or compress it. Be aware that doing these operations will not necessarily affect the quality of …

Modify a system variable

Is it possible to change the value of a system variable? It is not possible to modify a system variable. As a reminder, on Botnation AI, you will find 3 types of variables: 1) User variables (created by you, specific to the chatbot user) 2) Global variables (created by you, available to all chatbot users) 3) System variables (Botnation specific, not modifiable) 👉🏻 For more information on these differences, check out the article on the …