To send messages through Salesbot, set up a widget and a funnel.
- Create a new bot:
![](https://chatapp.online/images/2022/9/6/AMlLaasc5mU3Cn4HWEgM4IozSp40Xi692rPIsPyw.png)
- In the bot settings, select - widgets:
![](https://chatapp.online/images/2022/9/6/KOZQyagYNgaYopBdYO98JZrZqnzEh5eiFDCucdBJ.png)
- Select the widget ChatApp - Send message (Sending a message)
![](https://chatapp.online/images/2023/4/28/kP0D1BReVaKd90JI2It0mEZaCDpfcaaGYHUA52cW.png)
- We select sending messages according to preset settings, specify the information:
- License
- Messenger (from available)
- specify message template
- specify a link to the file, for example, a picture - when sending a message with an image
![](https://chatapp.online/images/2022/9/6/XivqBA79TvvPRiZMSbHVS6rXOSblC8n1eSFHvjNp.png)
- In group - Choose whether the bot will write messages in group chats or not.
- If you need to send a message to a specific user, enter the number or @Login in the Contact field.
- If you need to write to the main contact in the deal, select: Main contact. If you want to send a message to the group where the main contact is, select Contact with group.
![](https://chatapp.online/images/2023/4/5/tEBjHewxP5Wo0AK85qofCa7wktsAkJf0MRVsHldz.png)
- Save (upper right corner)
When you enter this stage of the funnel, a message with the image that we created will automatically be sent.