There is a web-hook that listens to an event from WhatsApp Business API. The event is triggered immediately when a message arrives. After the message arrives, GPT responds to the client’s message. But the problem is that the client can write one sentence separately, for example, the sentence “I want to order such and such a project” and the client can write like this “I want to order” “such and such a project”. And for each message, the event handler is triggered and GPT responds to each message separately, thus breaking away from the context of communication with the client. How can this be improved? Maybe there are ready-made solutions for this in the scripts?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Can i watch event in a middle of a scenario on whatsapp? | 3 | 54 | December 1, 2024 | |
| Webhook data from WhatsApp Business stays in queue | 1 | 43 | May 2, 2025 | |
| WhatsApp Watch Events having queue even without requests | 3 | 59 | April 22, 2025 | |
| Webhook with whatsapp datas | 3 | 141 | November 26, 2024 | |
| Chatbot - Reading "interactive" fields from a webhook | 4 | 329 | December 7, 2023 |