AWS-SQS
AWS SQS Plugin – Subscribe (Trigger)
Summary (SEO Meta Description):
The AWS SQS Subscribe Trigger in WeHub listens for new messages from an Amazon SQS queue and automatically starts a workflow.
Configure the queue URL, FIFO options, and message attributes to integrate AWS queue-based systems with workflows.
Overview
The AWS SQS Subscribe Trigger allows WeHub workflows to automatically consume messages from an Amazon SQS queue.
It supports both standard queues and FIFO queues, with optional message attributes for fine-grained filtering and routing.
This makes it ideal for event-driven processing, asynchronous workloads, and decoupling microservices.
⚙️ Configuration Options
| Field | Type | Description | 
|---|---|---|
| Label | String | Custom name for the trigger node. | 
| Select Connection | Connection | Choose or create an AWS connection with valid IAM credentials. | 
| Queue URL | String | The URL of the Amazon SQS queue to subscribe to. | 
| FIFO Queue | Boolean (Toggle) | Enable if the target queue is a FIFO queue. | 
| Attributes (if FIFO enabled) | Key/Value Pairs | Define custom attributes for messages. Each attribute includes Name and Type. | 
Supported Attribute Types
- NUMBER
- STRING
- BYTE
- DATE
- DATETIME
- BOOLEAN
- OBJECT
- ARRAY
- ANY
💡 Example Use Cases
- Order Processing: Subscribe to an order queue and trigger downstream workflows for payment, shipping, etc.
- IoT: Collect and process device messages from SQS queues.
- Healthcare: Handle HL7/FHIR messages delivered asynchronously via SQS.
- Finance: Queue transactions for fraud detection or reconciliation workflows.
FAQ
Q: What permissions are required for SQS subscription?
A: The AWS connection must include IAM permissions for sqs:ReceiveMessage, sqs:DeleteMessage, and sqs:GetQueueAttributes.
Q: How does FIFO queue support work?
A: If enabled, messages are processed in strict order with exactly-once delivery.
Q: Can I subscribe multiple workflows to the same SQS queue?
A: Yes, but be aware of potential message duplication if not managed carefully.
Keywords: AWS SQS Subscribe, WeHub Trigger, SQS Workflow Integration, FIFO Queue, Asynchronous Processing, AWS Queue Event