Amazon SQS

The Amazon SQS (Simple Queue Service) piece in ZBrain Flow allows you to send messages to AWS SQS queues as part of your automated workflows. It helps you manage reliable, scalable communication between distributed systems without needing to handle complex message broker infrastructure. By adding this connector to your flow, you can queue messages for downstream services or workers to process asynchronously.

This is useful for use cases like task scheduling, batch processing, decoupled microservices, and any workflow that involves passing data between services in a controlled, fault-tolerant way.

How to Use Amazon SQS in ZBrain Flow

Select Amazon SQS (Send Message) as Your Action

  1. In your ZBrain Flow, click the + button and search for Amazon SQS.

  2. Select Amazon SQS (Send Message) from the list.

Set Up the Amazon SQS Connection

Before using the piece, you need to create a secure connection to your AWS account.

To create the connection:

  1. In the ‘Connection’ dropdown, click ‘Create Connection’.

  2. In the pop-up window, fill in the following details:

    • Connection Name: A label for this connection (e.g., Amazon SQS)

    • Access Key ID: Your AWS access key

    • Secret Access Key: Your AWS secret key

    • Region: The AWS region where your SQS queue is located

  3. Click ‘Save’ to store the connection.

To find the correct region, refer to this document, “Amazon Simple Notification Service endpoints and quotas - AWS General Reference”.

Send a Message to an SQS Queue

Once your connection is configured:

  1. In the ‘Queue URL’ field, enter the full URL of your target SQS queue.

  2. In the ‘Message Body’ field, enter the message you want to send. This can be plain text or JSON, depending on what your consumer service expects.

Last updated