Send a Message to an Amazon SQS Queue

The Amazon SQS (Simple Queue Service) external action receives messages and sends them to an Amazon SQS queue. A queue retains an unlimited number messages for up to 14 days. For more information about the Amazon SQS, see the Amazon SQS Getting Started Guide.

The Amazon SQS external action has two output ports. The success port () can send a message if the Amazon SQS queue is notified successfully. The failure port (x) can send a message if the notification fails.

Requirements

To use the Amazon SQS external action, you will need:

  • Amazon Web Services (AWS) security credentials.
  • Ownership of the queue where messages are to be sent, or permission to send messages to that queue.
  • The URL of the queue where messages are to be sent. If you own the queue you can find this information by navigating to your queue through the AWS Management Console. Otherwise, ask the queue owner for the URL.
  • Mouse-over to vew screenshot:

Parameters

Note: See also Working with Parameters in Automations Workflows.

Tip: To test that your parameters work as expected, click Validate.

  • SQS Queue URL: Provide the URL of the queue.
  • AWS Access Key ID and AWS Secret Access Key: Provide your AWS security credentials.
  • Message Body Template: The default message you want to send to the queue. The message can be up to 64 KB of text in any format.

Output Keys

See Also

Tip: To view the output keys from upstream components, click Show Upstream Keys.

Key Description
time Event time
source Event type
sqs.messageId (Success port only) Message ID
sqs.md5 (Success port only) Message MD5 Digest
error.type (Failure port only) Error type
error.message (Failure port only) Error message
aws.requestId AWS Request ID
aws.status AWS Status Code
aws.errorCode (Failure port only) AWS Error Code