JavaScript

How to change Avatar dynamically (Landbot v3)

If you want to change the Avatar due to any conversation design reason, you can do it easily with this snippet: /*CHANGE THE URL BELOW FOR THE ONE OF YOUR DESIRED NEW AVATAR*/ var picUrl = "https://u…

Pau Sanchez
Updated by Pau Sanchez

Javascript in WhatsApp

There may be instances where we need to use Javascript inside of our WhatsApp flow However, as WhatsApp doesn't have access to a console we are limited in how we can do this With Make's(Integromat's)…

Abby
Updated by Abby

Javascript in Landbot v3

ONLY AVAILABLE FOR WEB LANDBOTS - Not compatible with WhatsApp or Messenger When testing Javascript be sure to use the 'Share URL' and not 'Preview'. Web Landbots offer the possibility to use Javascr…

Pau Sanchez
Updated by Pau Sanchez

Different ways to format numbers with JS

To see this workaround for the WhatsApp channel, review this article. Transform 1000 to 1,000 First, we ask for a number and store it in the @number variable. With a Code block we add the function th…

Ana
Updated by Ana

How to display an HTML Table and a List in Landbot v3 web

Dynamic Data block is great to display an array of options that needs to be selected. But we might need to simply display a table with data coming from an array, probably from a request (Webhook). He…

Pau Sanchez
Updated by Pau Sanchez

Trigger a Global Keyword with JS (web v3)

Global Keywords allows you to set paths, based on a specific Keyword. Thanks to Landbot SDK we can trigger a Message via Javascript, that can trigger the sending of a message, that will trigger the g…

Pau Sanchez
Updated by Pau Sanchez

Create Dynamic Shopping Cart with JS and CSS

In this article we will provide step-by-step guidelines to help you create a shopping cart that meets your needs based on an Airtable database. The example provided is a Restaurant type bot where you…

Cesar Banchio
Updated by Cesar Banchio

Add a Chart (with Chart JS library) in your Landbot

These scripts and how to's are not native functionalitie s. Landbot won't be able to support, help or guarantee these scripts and how to's. These Workarounds and How to's are for developers, as a lea…

Ana
Updated by Ana

Different ways to format numbers with JS (WhatsApp)

With Make's (Integromat's) new Custom JS module we can now seamlessly run a Javascript function during the flow, and return the value back to our user in WhatsApp without interrupting the conversatio…

Ana
Updated by Ana

Pop up modal to embed third party elements

Displaying html and scripts in Landbot sometimes can be limited by the size of the messages, and it's more useful to display 3rd party elements on top of the messages for better visualisation. Here w…

Ana
Updated by Ana

Contact