How to write first to a client on WhatsApp or Telegram with Salesbot

Salesbot is a bot that can be programmed to complete certain actions. For example, if you have a client’s number, but haven’t corresponded with him yet, you can use Salesbot to initiate dialogue. 

How to create a bot

How to send a message with Salesbot buttons 

How to create a bot

1. Go to “Leads” → open the necessary funnel → click “Setup” in the upper right corner.

2. Click on the empty box below the stage where the bot should act → select Salesbot

This will open the bot’s settings. Select:

  • the event that will trigger the bot,
  • time at which the bot will be triggered. 

You can also add a condition for the bot to send a message to a contact from the lead. 

In our example, the bot will be triggered when the lead has moved to the “Offer made” stage. It will be triggered always and for all leads that have been moved to the selected stage.

3. After that click “+ Create a new bot”. 

4. The bot editor will open. In the “Add next step” panel, select “Widget” → find Wazzup → “+ Add”

5. Choose a channel you want to write from. This will determine where the message will go.

If you check “Write to last dialog”, the message will go to the dialog where the last incoming or outgoing message was, including automatic messages. It will be sent to the same client number or username, from the same channel.

If there is no dialog, the message will be sent from the channel you selected in “Where to write from if there are no dialogs“. It will go to the main contact in the lead, if it is specified, or to the first number, username in the lead card.

If you don’t check the box and select a channel in the “Where to write from” section, messages will go to the main contact in the lead, if it is specified, or to the first number, username in the lead card. It doesn’t matter if there is any correspondence with the client.

If you write on Telegram, first we will try to create a chat by username. If it is not specified, then by phone number. This is done because if you write by phone number more than once every 3 minutes, Telegram can block your account.

6. Write a message that will go to the customers.

From a WhatsApp or Telegram channel, you can send a text message with an attached image, video, document. 

You can add a variable from CRM to the message. For example, customer name or order number. To do this, click on the {…} button below the message field.

From a WABA channel, you can only send a template. The list will show all the templates that are available in your personal account. 

Fill in the variables. This can be done manually, or you can substitute data from CRM. To automatically pull data from Bitrix into the message, click on the arrow next to the required variable → select the field from which you want to take the information.

Attach a file if you have a template with media.

You can have both the message entry field for WhatsApp and Telegram channels and the list of WABA templates displayed. This happens if you have both types of channels, and want to send a message from the priority channel of the responsible one or to the last dialogue. 

Fill in both fields. If the message will go from the WhatsApp or Telegram channel, Salesbot will recognize that you need to send the text from the “Message for WhatsApp or Telegram channel” field. If from the WABA channel — the bot will send the selected template. The messages will not go from two channels at once — only one.

7. As the next step for both “If an error occurs” and “If successfully completed” select “Stop bot”.

Done! You’ve set up Wazzup in Salesbot. Save your settings in the upper right corner. 

How to send a message with Salesbot buttons 

From WABA channels you can send messages with 1-10 buttons from Salesbot Kommo. The message will leave only if there is active 24-hour WABA conversation. 

To start a conversation with a message with buttons, you need a template moderated by Meta — you can add no more than three buttons to it. You can create such a template and send it for moderation in your Wazzup account.

How to send a message with buttons from Salesbot

When setting up Salesbot, add the “Message” step at the right place in the process.

Write text and add buttons:

Salesbot buttons

A message with more than three buttons will be displayed in the client’s chat and in your Wazzup chat with the “Menu” button. Clicking on it will open a list of buttons.

A message with more than ten buttons will not be sent completely. The client will only receive the first ten response options.

Salesbot buttons in chats

If there is only one dialogue with the client, the message will go only there. If there are multiple dialogues with a customer, Salesbot will send a message to all of them.