# 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="https://3874850312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKrpKNNdXb4qAyyOLgKE0%2Fuploads%2FlTVXgO09kSei3flh2qQL%2Fimage.png?alt=media&#x26;token=bcbbc5e4-ee8c-457b-978f-5fcd620b77d1" alt=""><figcaption></figcaption></figure>

Go to Chatbots. messengers/connect/telegram/

<figure><img src="https://3874850312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKrpKNNdXb4qAyyOLgKE0%2Fuploads%2FWhOE3y3P0jaOmksSzAWu%2Fimage.png?alt=media&#x26;token=f0f72ddb-97be-4862-8fe7-729e704740b9" 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="https://3874850312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKrpKNNdXb4qAyyOLgKE0%2Fuploads%2FBB3prZ3ZCMzOjrxPdNJv%2Fimage.png?alt=media&#x26;token=748d074f-15c9-4a86-92ca-9cdabaf58370" 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="https://3874850312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKrpKNNdXb4qAyyOLgKE0%2Fuploads%2F0b6EbHnUphUQ591QAJz5%2Fimage.png?alt=media&#x26;token=45e764db-1c40-4526-a139-4f49f7fcf7c2" 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="https://3874850312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKrpKNNdXb4qAyyOLgKE0%2Fuploads%2FkuDahFAW00MaoBdErQMM%2Fimage.png?alt=media&#x26;token=08bf6c58-9b6a-42e0-9713-32ba66062774" 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="https://3874850312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKrpKNNdXb4qAyyOLgKE0%2Fuploads%2F5xyEerBh2DyckPrxiLPc%2Fimage.png?alt=media&#x26;token=04d8d627-2eab-4e34-8c1d-bb98c1815ee2" 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="https://3874850312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKrpKNNdXb4qAyyOLgKE0%2Fuploads%2FpzMJINV3N17MmOS3XJBA%2Fimage.png?alt=media&#x26;token=533a870d-58df-4864-9d6b-456e258de809" alt=""><figcaption></figcaption></figure>
