# Amazon SQS - New message trigger
The SQS connector supports the following triggers:
# New message
The New message trigger checks your SQS queue at regular polls to retrieve messages. Use the New message (Batch) trigger for high volume queues.
# Input
Input field | Description |
---|---|
Queue | Enter the queue to pull messages from. |
Automatically delete message | Select true to automatically delete messages as they are retrieved. |
Visibility timeout | Enter the duration (in seconds) of the visibility timeout. This hides messages retrieved by a ReceiveMessage request from subsequent retrieve requests for a specified amount of time. Maximum value is 12 hours. Refer to Visibility timeout for more information. |
# Output
Output field | Description |
---|---|
Request ID | The unique ID of the request. |
MD5 of message attributes | The MD5 hash of the message attribute. |
MD5 of message body | The MD5 hash of the message body. |
MD5 of message system attributes | The MD5 hash of the message system attribute. |
Message ID | The unique ID of the message. |
Message body | The message's contents. |
Sequence number | The large, non-consecutive number that Amazon SQS assigns to each message. This parameter applies only to FIFO (first-in-first-out) queues. |
# New message (Batch)
The New message (Batch) trigger regularly polls your specified SQS queue to retrieve messages. Workato recommends the batch trigger for high volume queues.
# Input
Input field | Description |
---|---|
Queue | Enter the queue to pull messages from. |
Automatically delete message | Select true to automatically delete messages as they are retrieved. |
Visibility timeout | Enter the duration (in seconds) of the visibility timeout. This hides messages retrieved by a ReceiveMessage request from subsequent retrieve requests for a specified amount of time. Maximum value is 12 hours. Refer to Visibility timeout for more information. |
Batch size (Only for batch trigger) | Enter the maximum number of messages for each trigger event. The minimum is 10, maximum is 2000, default is 2000. The input must be a multiple of 10. |
# Output
The output to this trigger is a list of messages.
Output field | Description |
---|---|
Request ID | The unique id of the request. |
MD5 of message attributes | The MD5 hash of the message attribute. |
MD5 of message body | The MD5 hash of the message body. |
MD5 of message system attributes | The MD5 hash of the message system attribute. |
Message ID | The unique ID of the message. |
Message body | The message's contents. |
Sequence number | This parameter applies only to FIFO (first-in-first-out) queues. The large, non-consecutive number that Amazon SQS assigns to each message. |
Last updated: 4/30/2025, 6:16:17 PM