Table of Contents

How to build a bot in Landbot

Desirée M Updated by Desirée M

You can build a bot in Landbot three ways: Build it for me (AI-generated), Start from scratch (manual, block by block), or Use a template (pre-built framework).

To start building, click on the Build a chatbot button in your dashboard:

You'll then see the three options:

●Build it for me — describe your bot in your own words and Landbot's AI generates a working flow for you. See Build it for me for the full walkthrough.

●Start from scratch — design your bot manually using the visual builder.

●Use a template — begin from a pre-built framework and customize it.

Start from scratch

When you build from scratch, you use blocks to build your bot's conversation flow. Every bot begins with a Starting Point block. From there, you add and connect blocks to shape the conversation.

Drag the green dot to see the blocks available to add next.

For web bots, note that conversations must start with the user’s input, unlike in WhatsApp, where any type of block can initiate the flow.

Blocks represent different functions — sending messages, collecting user information, running backend logic, or connecting to other systems. They trigger only when the user reaches them in the flow.

Keep your flow organized and avoid placing blocks on top of each other — it makes the canvas harder to follow.

Your canvas is expandable, and you can go back, copy, or delete blocks using the canvas commands. See the Builder Interface Tour for the full rundown.

Connecting and disconnecting blocks

Drag the green dot to add and connect a block. Use the bin icon on a connector to remove it.

Here's an overview of the available blocks:

Message blocks:

Message blocks send or display messages and media to your users. See the Messages library for every message block type.

Question blocks

Question blocks collect information from your users — through buttons, open text, forms, and more — and save it in Fields. See the Question blocks library for every question block type.

Fields

A Field stores information a user shares during a conversation so your bot can reuse it later — for example, saving a user's name to personalize the chat. Most blocks come with a pre-set Field, and you can also create your own.

Most blocks will come with a pre-set Field, however you can create your own personalized ones.

Learn more about Fields here
Logic blocks

Logic blocks add redirections, checks, lead qualification, counters, and other flow logic. See the Logic & Technical blocks library for every logic block type.

Green and red outputs

Some blocks — like the Conditions block — have two connectors, green and red:

● Green output — routes users to the part of the flow they reach when the condition is met.

● Red output — routes users to the part of the flow they reach when the condition isn't met.

Any of the above output

The Any of the above output lets the flow move on to the next block even when the user's answer doesn't match a specific option. You'll find it on some question blocks, like the Buttons block. See this article for the full details.

You'll find all the details on how to use it here.

Integrations

Integration blocks connect your bot to third-party apps. See the Integrations library for every available integration block.

AI Agent

The AI Agent block adds an AI-powered conversational segment to your flow. Based on the instructions and Knowledge Base you configure, it can hold open-ended conversations with users, collect and store their answers in Fields, and answer questions from your content — then hand the conversation back to your rule-based flow through the outputs you define. You add it to your flow the same way as any other block. See the AI Agent Block guide for full setup instructions.

You're all set! Head to the builder to start building your bot in Landbot. 🎉

Was this article helpful?

Builder Interface Tour

Managing Data in Your Agent: A Guide to Using Fields

Contact