Sending messages when disconnected

Status
Not open for further replies.

JorgeWillianSantos

Bronze Partner
Advanced Certified
Joined
Dec 19, 2023
Messages
38
Reaction score
7
Hello! We have configured in a client that whenever there is a disconnection in the call, a message is sent by Whatsapp to the customer via API integration, what I would like to occur is that the message is sent only if the disconnection comes from the client's side, but the sending is being done even when the attendant who ends the call, Is there a way for me to configure the call flow so that the sending occurs this way?
 

Attachments

  • Screenshot_30.png
    Screenshot_30.png
    18.9 KB · Views: 9
You could use a variable, and you change the value just before the end of the call flow. This way, if the variable is changed, that means that you reached the end, and you should not send the message.
 
  • Like
Reactions: Evolute IT
You could use a variable, and you change the value just before the end of the call flow. This way, if the variable is changed, that means that you reached the end, and you should not send the message.
Hello! Do you have any example of how I would do this configuration in the variable?
 
It's just defining a variable. Go to the Project Explorer, click on your project, go to the Properties window, and open the Variables dialog. From there you create a variable, and assign a default value. Then, at the end of the call flow, use the Variable Assignment component to change it's value. Finally, in the Disconnect Handler flow use a Conditional to check the status of this variable, and do what you need in each case.
 
  • Like
Reactions: Evolute IT
Status
Not open for further replies.

Members Online Now

No members online now.

Forum statistics

Threads
111,843
Messages
589,327
Members
164,679
Latest member
SamadMYK