Getting Started with Landbot
Introduction to Landbot 🌍
Creating & Setting Up Your Account 👥
How to create your Landbot account, set it up and invite teammates
Common reasons for not receiving account activation email
Trial period
Account Settings
Build Your First Bot 🛠️
Builder Interface Tour
How to build an agent in Landbot
Managing Data in Your Agent: A Guide to Using Fields
Languages and Translations in Landbot
Organize your flow with Bricks
Using Flow Logic in Landbot
How to Test Your Bot - Complete Guide 🧪
How to "debug" (troubleshoot) your bot's flow to spot possible errors (for non coders)
Starting Point
Build it for me!
Launch and Share Your Bot 🚀
Build a bot
Bot's Settings
Bot General Settings
Web bots: Second Visit Settings
Custom System Messages
Hidden Fields (Get params / UTMs from url and use it as variables)
Landbot native SEO & Tracking tools
Typing Emulation (Message Delay)
Messages, Questions and Logic & Technical blocks
Messages
Media Block
Media block
How to display images with a variable URL source
How to embed a .gif file inside a message
Different ways to embed Videos in Landbot
Display video and hide button to continue until video has ended
Send a message block
Goodbye block
Question blocks
Buttons block
Ask for a Name block
Ask for an Email block
Ask a question block
Ask for a Phone block
Ask for a date block
Forms block
Multiple-Choice Questions with the Buttons Block
Question: Address block
Question: Autocomplete block
Question: File block
Ask for a number block
Question: Picture Choice block
Rating block
Question: URL block
Question: Yes/No block
Opinion scale block
Logic & Technical blocks
Code Blocks
Dynamic Data
How to Use the Dynamic Data Block in Landbot
Get the array's index of the user selection and extract information from array
Formulas
How to Perform Basic Calculations
Get started with the Formulas block
Formulas - Regex
Formulas - Date
Formulas - String
Formulas - Logical
Formulas - Math
Formulas - Object
Formulas - Comparison
Formulas - Array
Persistent Menu
Trigger Automation
Webhook
Landbot System Fields: Pre-created fields
Set a Field block
Any of the above Output
Global Keywords 🌍
Keyword Jump
Lead Scoring block
Jump To block
How to split bot traffic with the A/B Test block
Conditions block
Conditions block: check dates, visitors and team members online
Close Chat block
How to ask a question based on a variable not being set (empty URL params)
Business Hours block
Custom Goals
Inactivity Trigger block
Share & Embed
Redirect Users
How to redirect visitors to a URL (web only)
How to add a Click-to-Call/Email/WhatsApp button
Redirect User Based on Language Input (DeepL)
Generate a URL that has variables from user answers
Popup on Exit Intent
Share
Customized Embed Actions
How to redirect user to another url in your site with Livechat open to continue conversation
How to Detect Visitors Browser
Customize and embed your WhatsApp Widget
Modifying Embed Size
Detect if bot was opened
Customized Behavior in Mobile Browsers
Load script and display bot on click button
Launch Bot On Exit Intent
Display Bot During Business Hours Only (Livechat & Popup)
Open / Close a Web bot (embedded)
Launching a bot depending on browser language
How to pass WordPress logged in user data to Landbot
Set the flow depending on the url path (for embedded landbots)
How to launch a Landbot by clicking a button
Open LiveChat bot as soon as page loads
Detect if a visitor is on Mobile/Tablet or Desktop
Embed
How to embed your agent into your website
Embed Landbot in an iframe
Landbot in Wix
Landbot in your web with Google Tag Manager
Landbot in Webflow
Embed in Sharetribe
Landbot in Shopify
Embedding Landbot in Carrd
Landbot in Wordpress
Landbot in Squarespace
Customizing the Proactive Message
Design section (web bots)
Verification & Security
Validate phone number with SMS verification (with Vonage Verify)
Cookie consent banner (full page / full page embed)
Add Captcha Verification (Non-Embedded Bots)
Bricks
How to disable a bot
Account Settings and Billing
Billing
Privacy and Security
Teammates
Startup Discounts
NGOs and Educational Organizations Discount
AI in Landbot
Landbot AI Agent
AI Agent - Interactive components
AI Agent block
AI Agent Setup - Best Practices
Tips to migrate from old AI Assistants to AI Agents
How to Create Custom Instructions for a Landbot AI Agent
AI Agent In Action - Live Implementation Example
Capture, generate and use data with AI Agents
Structuring your AI Agent Knowledge Base
Custom AI Integrations
Create a JSON format response from OpenAI in WhatsApp
Responses API
Connect OpenAI Assistant with Landbot
AI in WhatsApp
How to build a FAQ chatbot with GPT-3
GPT-4 in Landbot
OpenAI
Prompt Engineering for GPT-3
Build a Customer Service Bot with ChatGPT and Extract Information
Google Gemini in Landbot
Build a Chatbot with DeepSeek
AI Task block Overview
Landbot MCP and Plugin
What are the Landbot MCP and the Landbot Plugin?
How to get started with the Landbot Plugin
How to get started with the Landbot MCP
How to build, test and publish an agent with the Landbot MCP or the Landbot Plugin
How to fix common problems with the Landbot MCP and the Landbot Plugin
How to style your Landbot web chat with the Landbot Plugin or the Landbot MCP
Integrations with Landbot
Native Integrations
Airtable
Airtable integration block
Get data filtered from Airtable with a Brick- Shop example
20 different ways to GET and filter data from Airtable
How to add/update different field types in Airtable (POST, PATCH & PUT)
How to Create, Update, Retrieve and Delete records in Airtable (POST, PATCH, GET & DELETE)
Get more than 100 items from Airtable
Insert Multiple Records to Airtable with a Loop
How to Get an Airtable Token
Advanced filters formulas Airtable block
Airtable usecase: Create an event registration bot with limited availability
Update Multiple Records in Airtable Using a Loop
Reservation bot with Airtable
Calendly
Dialogflow
Dialogflow & Landbot course
Dialogflow & Landbot intro: What is NLP, Dialogflow and what can you do with it?
Dialogflow & Landbot lesson 1: Create your first agent and intent in Dialogflow
Dialogflow & Landbot lesson 2: Get the JSON Key
Dialogflow & Landbot lesson 3: Setting up of Dialogflow in Landbot
Dialogflow & Landbot lesson 4: Training phrases and responses for a FAQ
Dialogflow & Landbot lesson 5: Entities and Landbot variables
Dialogflow & Landbot lesson 6: Redirect user depending on Dialogflow response parameters (intent, entities and more)
Integrations > Dialogflow Block
How to extract parameters from Dialogflow response with Formulas
Dialogflow Integration Dashboard
Dialogflow in Unsupported Languages (& Multilingual)
Dialogflow - How to get JSON Key
Google Sheets
Google Sheets Integration: Insert, Update and Retrieve data
How to use Google Sheets to create a simple verification system for returning visitors
Google Sheets integration (new version)
How to give unique Coupon Codes (with Google Spreadsheets)
How to use Google Spreadsheet as a Content Management System for your bot
HubSpot
MailChimp
Salesforce
Segment
SendGrid
Send an Email
Sendgrid Integration Dashboard
How to create a custom SendGrid email - (Custom "from" email)
Slack
Stripe
Zapier
How to Configure the Landbot and Zapier Integration Using the Zapier Block
Zapier Integration Dashboard
How to insert a row to Google Spreadsheet by Zapier
How to generate a document with PDFMonkey by Zapier
Send WhatsApp Templates from Zapier
How to Send Emails from Your Landbot Using Gmail via Zapier
Get Opt-ins (Contacts) from Facebook Leads using Zapier
How to extract data from an external source with Zapier and use it in Landbot
Zapier trigger
How to complete a digital signature flow by Zapier
Make a survey with Landbot and display the results in a Notion table using Zapier
Custom Integrations
ActiveCampaign
Google Calendar
Google Fonts
Google Maps
Embed Google Maps
Google Maps API Key for Address block
Extract Data With Google Maps Geocoding API
Calculate Distances With Google Maps API
Google Meet
IFTTT
Integrately
Intercom
Make
Connecting MySQL with Make.com (formerly Integromat)
Send WhatsApp Message Template from Make
Make Integration With Trigger Automation Block
How to send an email through Sendinblue by Make.com (formerly Integromat)
Get Opt-ins (Contacts) from Facebook Leads using Make
How to extract data from an external source with Make.com and use it in Landbot
OCR
Pabbly
Paragon
Pipedream
PDF Monkey
Store Locator Widgets
Xano
Zendesk
Send an Email with Brevo
Shopify in Landbot: Get Order Information
Send Leads to Zoho CRM
Landbot + n8n Integration: How to Connect Using the n8n Block
How to Integrate Landbot with n8n using Webhooks
WhatsApp Channel
Getting started!
WhatsApp Testing
Build a WhatsApp Bot - Best Practices and User guide
Build a WhatsApp Bot - Best Practices for Developers
Types of Content and Media you can use in WhatsApp 🖼
1. WhatsApp Article Directory
WhatsApp Integration & Pricing FAQ
Adding & Managing your WhatsApp Channel
Meta Business Verification - Best Practices 🇬🇧
WhatsApp Number Deletion (WA Channel management)
Adding a WhatsApp number to your account
WhatsApp’s Messaging Policy: New Accepted Industry verticals
Meta processes guide: Meta Business Verification, Official Business Account (OBA) requests, Appeals
Existing WhatsApp Number Migration
Key Insights for Migrating to WhatsApp Business API Cloud
How to's, Compatibility & Workarounds
WhatsApp bots - Feature Compatibility Guide
WhatsApp: Show a Different Flow on Return Visits
WhatsApp - Get user out of error message loop
How to do Meta ads conversion tracking in WhatsApp bot using the Conversion API
Getting Subscribers: Opt-in, Contacts
How to get Opt-ins (Contacts) for your WhatsApp 🚀
WhatsApp Quality Rating and Message Delivery
Opt-In/out block for WhatsApp 🚀
Opt-in Check Block
Contact Subscribe Block: Manage Opt-ins and Audiences
New Contacts: Import, Segment, and Organize Easily
WhatsApp Channel Settings
Parent Bot/Linked Bot - Add a main bot to your WhatsApp number
WhatsApp Channel Panel (Settings)
Growth Tools for WhatsApp
Messaging and contacting your users
WhatsApp Campaigns 💌
WhatsApp's Message Templates
Audience block
WhatsApp Marketing Playbook: Best Practices for Leadgen
WhatsApp Error Logs: Troubleshooting guide
Audiences
WhatsApp for Devs
How to calculate the number of days between two selected dates (WhatsApp)
Creating a Loop in WhatsApp
Recognise the users input when sending a Message Template with buttons
Trigger Event if User Abandons Chat
Calculate Distances in WhatsApp
Send Automated Message Templates based on Dates
How to Let Users Opt-Out of Your WhatsApp Messages via API
reply from Slack: How to create an integration to allow agents reply WhatsApp users from Slack (with Node JS)
Set Up a Delay Timer in Bot
Notify Teammates of Chat via WhatsApp
Native blocks for WhatsApp
Other Channels - Messenger and APIChat
Facebook Messenger
The Facebook Messenger Ultimate Guide
Types of content you can use in Messenger bots 🖼
How to Preview a Messenger bot
API Chat (for Developers)
Human Takeover & Inbox
Metrics and Data Management
For Developers & Designers
JavaScript and CSS
CSS and Design Customizations
Design Customizations
Advanced (Custom CSS & Custom JS)
Components CSS Library Index
Background Class CSS
Identify Blocks CSS
Buttons Class CSS
Header Class CSS
Media Class CSS
Message Bubble Class CSS
Miscellaneous Classes CSS
CSS Customization Examples: "Back to School" Theme
Get started guide for CSS Design in Landbot
CSS Customization Examples: Call To Action: WhatsApp
CSS Examples: Lead Gen
CSS Customization Examples: "Translucid"
CSS Customization Examples: "Minimalist" Theme
Dynamic Data CSS
Form Block CSS
CSS for Typewriter Effect
CSS Customization Examples: Carrd Embed Beginner
Dynamically Change a Bot's Background
Proactive Message Customizations with Javascript and CSS
Landbot v3 - Web CSS - RTL
CSS Customization Examples: Video Bubble
Dynamically Change Any Style
CSS Customization Examples: CV Template
Change Landbot custom CSS dynamically from parent page onload
Widget/Bubble Customizations with Javascript and CSS
JavaScript
How to change Avatar dynamically
Javascript in WhatsApp
Landbot JavaScript Integration
Different ways to format numbers with JS
How to display an HTML Table and a List in Landbot v3 web
Trigger a Global Keyword with JS (web v3)
Create Dynamic Shopping Cart with JS and CSS
Add a Chart (with Chart JS library) in your Landbot
Different ways to format numbers with JS (WhatsApp)
Pop up modal to embed third party elements
Landbot API
Send WhatsApp Messages with Landbot API
How to "send" a user to a specific point in the flow with Javascript and with the API
APIs
Get Opt-ins (Contacts) using Landbot API
MessageHooks - Landbot Webhooks
Resume flow based on external process with Landbot API (Request, Set, Go)
Tracking
Google Analytics - Track Events (Not embedded)
Google Analytics - Track Events (Embedded)
Meta Pixel - Track Events (only Embedded)
How Track Google Analytics Events in Landbot with Google Tag Manager (GTM)
Google Adwords - How to track Google Adwords in Landbot
Set a timer to get the time spent during the flow
Workarounds and How To's
Workflows
How to build an event registration Landbot (to be used in one screen by many attendees) (web only)
How to let user select a time of booking (with a minimum 45 minutes notice)
Send Files Hosted in Landbot to Your Google Drive with Make
Two-Step Email Verification
Fixing Web Bot Loading Issues for iOS Devices in Meta Campaigns with Disclaimers
Progress Bar Workaround
Skip Welcome Message
How to Add User Verification to Your Chatbot
How to set up questions with a countdown
HTML Template for Emails
Creating a Simple Cart in WhatsApp
Creating Masks for User Input (2 examples)
More Topics
Table of Contents
- Which system Fields can a Conditions block check?
- How to greet returning visitors differently
- How to offer a person only when your team is online
- How to check whether a date is today
- How to compare a date with a date you choose
- Which date formats work with the Conditions block?
- How to reply differently on a specific page
- For WhatsApp
- For Facebook Messenger
- All Categories
- Build a bot
- Messages, Questions and Logic & Technical blocks
- Logic & Technical blocks
- Conditions block: check dates, visitors and team members online
Conditions block: check dates, visitors and team members online
Updated
by Desirée M
- Which system Fields can a Conditions block check?
- How to greet returning visitors differently
- How to offer a person only when your team is online
- How to check whether a date is today
- How to compare a date with a date you choose
- Which date formats work with the Conditions block?
- How to reply differently on a specific page
- For WhatsApp
- For Facebook Messenger
The Conditions block can check dates and the details Landbot saves about every visit, such as when the visitor first came, which page they're on and whether anyone from your team is online. Each check leads the conversation down the green output (true) or the red output (false). That's how an agent greets a returning visitor differently, catches a same-day booking or offers a person only when someone can answer.
These details are system Fields. Landbot fills them in on its own, so your agent never has to ask for them. Each one is explained in full in Landbot System Fields.
Which system Fields can a Conditions block check?
A Conditions block can check every system Field listed under Usage details and Time references. You pick them like any other Field, from the IF box or Use field in the Conditions panel. Here's what each one holds:
● Yesterday, Today and Tomorrow: the dates around the moment the condition runs, in Central European Time (CET).
● Created and Last seen: the date the visitor first chatted with the agent and the date of their last visit. Both follow the visitor ID, which depends on the agent's Second visit settings.
● Url: the page the visitor is chatting on. On your website, that's the page the agent is embedded in; when visitors open the agent's own link, it's that link.
● Country, Browser, Device and OS: where the visitor is and what they're chatting on, when Landbot can detect it, for example Spain, Chrome Mobile and Android.
● Team members online: true when at least one person on your team is online.
● Chat transcription: a transcript of the conversation so far, with each message from the agent and the visitor, its date and time, and who sent it.


@created or @browser, leaves the message empty where the value should be.How to greet returning visitors differently
To greet returning visitors differently, check whether Created is LESS THAN Today: a visitor whose ID was created on an earlier day has been here before.
In this example, a restaurant booking agent, Trattoria Sole, welcomes visitors right after they tap Book a table. Its Conditions block checks whether Created is LESS THAN Today:
● Green output (true), a returning visitor: "Welcome back! Nice to see you again. 👋"
● Red output (false), a first visit today: "Welcome to Trattoria Sole! First time here? You're in for a treat."

Don't be surprised by the panel after you save: it shows Created as ¿·&created·? with a CREATE button, and Today as ¿·&date[today]·?. That's how the Conditions panel displays system Fields. The block works as set, so there's nothing to create.
How to offer a person only when your team is online
To offer a person only when your team is online, pick Team members online in the IF box of a Conditions block. It needs no operator or value: the condition is true when at least one person on your team is online.
In this example, the Trattoria Sole agent checks Team members online before asking for a date:
● Green output (true), someone is online: "Someone from our team is online right now, in case you'd rather talk to a person."
● Red output (false), everyone is offline: "Our team is offline right now, but I can take your booking."

In the panel, Team members online shows as "online", while the block on the canvas reads "IF Team members online". To hand the chat to whoever is online, follow the green output with a Human Takeover block.
How to check whether a date is today
To check whether a date is today, compare the date Field with Today using EQUAL TO.
In this example, the Trattoria Sole agent asks "Which day would you like to book? (dd/mm/yyyy)" with an Ask for a date block, saves the answer in @booking_date and checks whether @booking_date is EQUAL TO Today:
● Green output (true), a booking for today: "For tonight, please call us on +34 600 000 000 so we can check for a free table."
● Red output (false), any other day: the agent goes on to check the terrace.

The answer and Today don't need to look alike. A visitor who types 22/10/2026 gets the green output, even though Today holds 2026-10-22: the Conditions block compares the dates, not the way they're written.
How to compare a date with a date you choose
To compare a date with a date you choose, save your date in a Date Field with a Set a Field block, then compare the two Fields in a Conditions block.
In this example, the Trattoria Sole terrace closes for the winter on 1 November 2026, and the agent tells visitors whether they can still sit outside on the day they picked:
1️⃣ In a Set a Field block, create the Field @terrace_closes with the Date format and type 2026/11/01 in Type the value.

2️⃣ In the Conditions block after it, check whether @booking_date is LESS THAN @terrace_closes. Pick @terrace_closes with Use field.

The two outputs of the Trattoria Sole terrace check:
● Green output (true), a date before 1 November: "🌿 Good news: our terrace is still open on 25/10/2026", with the date from @booking_date.
● Red output (false), 1 November or later: "🔥 Our terrace is closed for the winter by then, so we'll seat you inside by the fire."
LESS THAN and GREATER THAN are strict, so a booking for 1 November itself takes the red output. If the terrace were still open that day, the closing date to save would be 2026/11/02.
Which date formats work with the Conditions block?
Every Format to save the date in the Ask for a date block works with the Conditions block, as long as the date is saved in a Date Field. The Conditions block compares Date Fields as dates, not as text: 25/10/2026 is LESS THAN 2026/11/01, and 12/05/2026 saved as MM/DD/YYYY counts as 5 December.
An Ask for a date block always saves to a Date Field. In a Set a Field block, pick Date as the format when you create the Field.
A date from a Webhook block can go straight into a Date Field when the service sends it as YYYY-MM-DD, such as 2026-11-01: in Save Responses as Fields, create the Field with the DATE format. Other formats, such as 2026/11/01 or 01/11/2026, can make the Webhook block take its Failed output and save none of its Fields, so ask the service for YYYY-MM-DD.
How to reply differently on a specific page
To reply differently on a specific page, check whether Url CONTAINS a word from that page's address. It's an easy way to give one agent a different twist on each page of your website.
In this example, the Trattoria Sole agent is embedded on the restaurant's website, including its private events page, and checks whether Url CONTAINS private-events:
● Green output (true), the private events page: "Planning a group dinner? Our private room seats up to 20 guests. Just mention it in your booking."
● Red output (false), any other page: the agent goes straight to "Anything else I can help with?"


Country, Browser, Device and OS work the same way: use EQUAL TO or CONTAINS with the value as Landbot detects it. The values look like these:
● OS: for example iOS, Android or Mac OS X.
● Browser: for example Mobile Safari, Chrome Mobile or Chrome.
● Device: for example iPhone or Mac. Some browsers, such as Chrome on Android, don't share the phone model, so Device can hold a short code instead.
● Country: for example Spain.
These values come from what the visitor's browser shares about itself, described in the navigator.userAgent reference. To see what a device sends, add the Field to a message with Use field and open the chat on that device.
For WhatsApp
The Conditions block works the same way on WhatsApp, with the system Fields WhatsApp fills in. Browser, Device and OS aren't collected on WhatsApp, so don't build conditions on them there. Name and Phone, on the other hand, come straight from the contact's WhatsApp profile.
For Facebook Messenger
The Conditions block works the same way on Facebook Messenger, with the system Fields Messenger fills in. Name, Phone, Browser, Device and OS aren't collected by default, so ask for the ones you need with question blocks before a Conditions block checks them.