I am developing a salesbot widget for amo CRM. I want to connect my chatbot solution through my backend. I want the widget to be able to be embedded in one of the Salesbots.
It should work like this:
1. The user launches SalesBot in a chat with the user - "/salesbot1"
2. The Salesbot asks the client - please ask a question
3. The response from the client should then be sent to the API - https://flowman.viktorslinovs.com/webhook/33bba64d-c42f-4c6b-a35a-b24804876554 via webhook using - https://www.amocrm.ru/developers/content/digital_pipeline/salesbot#%D0%9E%D0%B1%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA-widget_request
In the data field, two fields need to be provided:
"data[message]": "my request", - this is the question or text that the user entered
"data[lead]": "12314951", - this is the lead
4. The server will return a response of the form:
{
"data": {
"status": string
}
}
5. It needs to be sent to the client, offering a button to end the dialogue with the bot or, when responding to the bot, start from point 3.
In the widget interface for the salesbot, there is one field - a link for the webhook
I have drafted the widget (in the application), but it does not work. I have little experience in this. Could you help with the development? How much will it cost?