# Create a Bot from Scratch

### Overview

Building a bot from scratch in Gallabox gives you complete control to design conversations tailored to your business needs. You can create unique bot flows, define custom messages, capture user inputs with variables, and set up actions like pushing data to your CRM. Start with a blank canvas, map out your ideal customer journey, and fully personalize the bot to deliver seamless interactions.

### Prefer watching than reading? Watch the below YouTube Video:

{% embed url="<https://youtu.be/MhRs_iAfVEI>" %}

### Prefer reading? Read the steps below:

To create a Bot from scratch, choose the option. In the side window, fill in the Bot Name, Configure the nudge for the bot, and custom configurations.

**What if the contact didn't respond to the bot's questions?**

1. Add the session out Time for the Bot in ***How long the bot can wait for reply?***

<figure><img src="/files/JQ0CoXvmd4EHatKaf8DE" alt=""><figcaption></figcaption></figure>

2. Add the session Message for the Bot in ***What should the bot say to contact after the designated wait time?***

<figure><img src="/files/8WhcE0maAi7M6CFzNzSx" alt=""><figcaption></figcaption></figure>

3. Add the action once the Bot session expires in ***What should the bot do after the designated wait time?***

<mark style="background-color:yellow;">You can choose from 8 actions:</mark> *<mark style="background-color:yellow;">**Assign Conversation to Users**</mark><mark style="background-color:yellow;">,</mark>* *<mark style="background-color:yellow;">**Assign Conversation to Team**</mark><mark style="background-color:yellow;">,</mark>* *<mark style="background-color:yellow;">**Assign Conversation to Contact Owner**</mark><mark style="background-color:yellow;">,</mark>* *<mark style="background-color:yellow;">**Unassign Conversation**</mark><mark style="background-color:yellow;">,</mark>* *<mark style="background-color:yellow;">**Resolve Conversation**</mark><mark style="background-color:yellow;">,</mark>* *<mark style="background-color:yellow;">**Update Conversation Tag**</mark><mark style="background-color:yellow;">,</mark>* *<mark style="background-color:yellow;">**Remove Conversation Tag**</mark><mark style="background-color:yellow;">, and</mark>* *<mark style="background-color:yellow;">**Push to Sequence**</mark><mark style="background-color:yellow;">.</mark>*

<figure><img src="/files/BUKtDeiq4yyrIeR9mTQ5" alt=""><figcaption></figcaption></figure>

**Custom Configurations**

To accept the messages and send the messages in [voice ](#voice-enabled-bot)- **Toggle On** the Accept voice messages also as input option.

![](/files/wFXb6X8ZF3I7yNOaC4gk)

Once the bot is created, you can add **multiple** flows in any bot to create a well-flourished conversational chatbot.

<figure><img src="/files/nzGjsgjh9hXLc6YpSVhW" alt=""><figcaption></figcaption></figure>


---

# 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://docs.gallabox.com/bots/bot-in-gallabox/create-a-bot-from-scratch.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.
