> For the complete documentation index, see [llms.txt](https://read.cryptograb.wiki/cryptograb-automatic-affiliate/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://read.cryptograb.wiki/cryptograb-automatic-affiliate/cryptograb-affiliate/wiki-cryptograb/nashi-offery/ton-drainer/bot-builder.md).

# Bot Builder

**Bot Builder:**

**Creating Trustworthy Bots with Auto-Reply:**

**Guide to Creating a Bot and Sending Messages in SendPulse:**

1. **Registration and Bot Creation:**
   * Go to the website, enter a random phone number, complete the captcha, and click the "Registration" button. <https://sendpulse.com/>

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

Go to Chatbots. messengers/connect/telegram/

<figure><img src="/files/0nq9qiIbBngkiv164bSw" alt=""><figcaption></figcaption></figure>

Click the Connect Channels button.&#x20;

Enter the token of the BotFather bot you created and click Connect.

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

1. Click the **Open in browser** button.
2. Copy the entire URL.
3. Send the copied URL as a Telegram message to any chat, e.g., Saved Messages.
4. Open the link in Telegram and click **START**.
5. Customize the welcome message:
   * Click **Welcome message**.
   * Tap **Edit the flow**.
   * To create a new message, drag the icon in the box on the right.
   * Customize this message by setting its path and execution conditions, such as creating a message triggered by the `/start` command.

To create a simple bot:

1. Click on the message box to open the control panel.
2. In the control panel:
   * Change the message text.
   * Add buttons, photos, and other elements.
3. Set the message for the /start command to "🎁 $TOKEN Airdrop".
4. Customize the button:
   * Enter the button text.
   * Check the URL box.
   * Enter the link to your webapp (more about Mini APP).
   * Check the box for using the webapp.
   * Click "Add".
   * Click "Apply".
5. Save your changes to apply them.

### Setting Up Your Bot

#### Sending a Message with a Button

1. **Typing /start:**
   * The bot will send a message with a button that opens the drainer.

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

#### Adding a Photo

1. **Click Add...** and select **Image** to add a photo.
2. Once the photo is added, remove the welcome message by clicking the **shopping cart icon**.

#### Customizing the Webapp

1. Add text such as “🎁 $NOT Airdrop”.
2. Customize the button as needed.

#### Creating a Button Without a Link

1. For a button with text but no link, select **Continue flow**.
2. Pinch and move the message block to the workspace.
3. Enter the text and customize the buttons if necessary.
4. Link the button to the message block.

**IMPORTANT:** Utilize user newsletters and statistics.

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

In addition to a beautiful interface, the service provides comprehensive bot statistics, including user counts, actions taken, and buttons clicked. Mailing allows sending custom messages to all users who have used the /start command. It is recommended to run several mailings per day to enhance efficiency. Creating a mailing

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

* <mark style="color:purple;">**Big profits and smooth traffic!**</mark> Be creative and don't just stick to templates; you can make more advanced bots, and it'll be great!

  Check: the mailing should be sent, and the dashboard will show the stats. Choose a name for the campaign, set the publication time, and click **Send a campaign**. Configure the message: text, photo, buttons, etc., then click **Next**. Go to your bot's page and click \*\*Create campaign

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://read.cryptograb.wiki/cryptograb-automatic-affiliate/cryptograb-affiliate/wiki-cryptograb/nashi-offery/ton-drainer/bot-builder.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
