Skip to main content

DeleteMessage

AWS SQS Plugin – Delete Message

Summary (SEO Meta Description):
The AWS SQS plugin in WeHub allows workflows to delete messages from Amazon SQS queues.
Use this action to acknowledge and remove processed messages from the queue.


Overview

The Delete Message action removes messages from an Amazon SQS queue once they’ve been processed successfully.
This is a key step in ensuring messages aren’t reprocessed and queues remain clean.

It’s commonly used after a consumer workflow has handled a message.


⚙️ Action: Delete Message

  • Description: Delete a specific message from an SQS queue.
  • Use Case: Prevent duplicate processing by removing acknowledged messages.

Configuration Options:

FieldTypeDescription
LabelStringCustom name for the action.
Select ConnectionConnectionChoose or create an AWS connection.
Queue URLStringURL of the SQS queue from which the message will be deleted.

💡 Example Use Cases

  • ETL Pipelines: After a file event is processed, remove its message from the queue.
  • Healthcare: Ensure HL7/FHIR event messages aren’t duplicated by clearing them once consumed.
  • E-commerce: Delete processed order messages after they’re stored in the database.

FAQ

Q: How does the Delete Message action know which message to remove?
A: The workflow execution passes the Receipt Handle (provided by SQS when the message is received) to the Delete action.

Q: What happens if I don’t delete a message?
A: The message will become visible again in the queue after the Visibility Timeout expires, potentially causing reprocessing.


Keywords: WeHub AWS SQS Plugin, Delete Message, SQS Workflow Integration, Remove Queue Messages, AWS Messaging Automation