SQS ReceiveSQSMessage Trigger

The ReceiveSQSMessage trigger is used to receive messages. It is triggered when a message is sent by the SendSQSMessage activity. The trigger fetches the message from the queue.

Trigger Settings

Note: When you make changes to the SQS ReceiveSQSMessage trigger, such as update Queue URL, Message Attributes, ensure to click the Sync button to allow the changes reach the flow input schema.

On the Trigger Settings tab, configure the following settings:

Field Description
Trigger Settings The Trigger Settings has the following field:
  • AWS Connection - Name of the Amazon Web Services connection

The Handler Settings has the following fields:

  • Query URL - The URL of the Amazon SQS queue from where the message is received. The list of queues that you can access. If your privileges do not allow you to list the queues, you can specify the queue using the app property.
  • Max Number of Messages - The maximum number of messages returned by Amazon SQS.
  • Visibility Timeout(Seconds) - The time interval for which the messages are hidden from the requests from other consumers to retrieve the message.
  • WaitTime(Seconds) - The time interval for which the call waits for a message to arrive in the queue.
  • ReceiveRequest Attempt Id- The token used for deduplication of the calls to receive messages. This parameter applies only to FIFO (first-in-first-out) queues.
  • Delete Received Message - A boolean value that is set to true to delete the message from the queue.

Input Settings

On the Input Settings tab, configure the following settings:

Field Required Description
Message Attributes No The metadata of the message. Each message can have up to 10 message attributes. The Message Attributes name in ReceiveSQSMessage trigger must match with the message attribute added while sending the message. If the message attribute name in ReceiveSQSMessage trigger is different from the message attribute used to send the message, you receive a null value for the message attribute in the ReceiveSQSMessage trigger response. The message attribute is case-sensitive.

Map to Flow Inputs

On the Map to Flow Inputs tab, you can map the trigger output to the flow input.