...
You can access the chat history of the last 50 messages. You have the option to include agent messages, and bot messages, and choose the format (default, text, or text with time) according to your preference.
Remove All Smart Delays
Description
The Remove All Smart Delays action clears all smart delay actions associated with a specific bot user. This feature is useful for instantly removing any queued delays, allowing for immediate bot responses.
How to Remove All Smart Delays
Go to the Flow, Select Action Node and choose Advance Action. Then select the Bot User API option
...
Now Select the option Remove All Smart Delays action.
...
Now you have to add User NS of the User you want to remove all smart delays or You can use a System Fields which contains User Ns.
...
In the Sample Data you will see status: "ok" and delete: "0" which means all smart delay have been removed Successfully.
Use Cases
Instant Reset: Instantly remove all pending delays for a user to improve response times.
Response
Success: Returns a
200 OK
status with a message confirming all smart delays have been removed.
Error: Returns an appropriate error code if the user Ns is not found or if the request fails.