Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Error: Returns an appropriate error code if the user Ns is not found or if the request fails.

Remove All Scheduled Messages

Description

The Remove All Scheduled Messages action allows for the deletion of all scheduled messages queued for a particular bot user. This action ensures that no further scheduled messages are sent to the user, enabling quick modifications in user interaction plans.

How to Remove All Scheduled Messages

Go to the Flow, Select Action Node and choose Advance Action. Then select the Bot User API option.

...

Now Select the option Remove All Scheduled Messages action

...

Now you have to add UserNS of the User you want to remove all Scheduled Messages.

...

In the Sample Data you will see status: "ok" and delete: "0" which means all Scheduled Messages have been removed Successfully 

Use Cases

  • Bulk Message Removal: Quickly clear all pending messages to prevent redundant or outdated information from being sent.

  • Precise Flow Adjustment: Modify scheduled messaging plans by removing all queued messages for immediate updates to user interaction.

Response

  • Success: Returns a 200 OK status with a message confirming all scheduled messages have been removed.

  • Error: Returns an appropriate error code if the user Ns is not found or if the request fails.