# Building a Chat Flow

#### What is an inbound chatbot? <a href="#what-is-inbound-chatbot" id="what-is-inbound-chatbot"></a>

An inbound chatbot is a type of automated bot that is designed to interact with people who initiate contact with business or organisation. These chatbots are usually placed on a company's website or social media platform and are programmed to respond to customer inquiries, provide product information, schedule appointments, or handle other customer service tasks.

#### How do I build an Inbound chatbot? <a href="#how-do-i-build-an-inbound-chatbot" id="how-do-i-build-an-inbound-chatbot"></a>

You can follow the following steps to build an inbound chatbot;

* Go to '**Chat flow**'
* Click on '**Build a Bot**'
* Choose '**Build an Inbound Bot**'
* Select the '**Web**'&#x20;
* Choose how you want to build your bot i.e. '**Use the Sopro Templates**' or '**From Scratch**'
* Add '**Action Blocks**' in the conversational flow
* Configure '**Action Blocks**' on the right panel
* Click on '**Test this Bot**' to test the flow
* Click on '**Deploy**' to deploy the bot


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.webchat.portal.sopro.io/getting-started/building-a-chat-flow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
