Send queued order confirmations with Amazon SES

Submit one queued order confirmation to SES at a time and remove the SQS message after acceptance.

11 stepsE-commerce

Free to start, no card required.

How it works

  1. When this happens

    Poll the order confirmation queue

    Schedule

  2. Step 1 · Code

    Set the confirmation queue

  3. Step 2 · Amazon SQS

    Receive one order confirmation

  4. Step 3 · Code

    Validate the order and recipient

  5. Step 4

    Check for a queued confirmation

    Follows the first path that matches

    • Ready to process

      1. Step 5 · Storage

        Look up the SES acceptance

      2. Step 6

        Check for an accepted email

        Follows the first path that matches

        • First submission

          1. Step 7 · Amazon SES

            Submit the order confirmation

          2. Step 8 · Code

            Confirm SES accepted the email

          3. Step 9 · Storage

            Save the result reference

        • Otherwise

          Nothing happens

      3. Step 10 · Amazon SQS

        Remove the acknowledged message

    • Otherwise

      Nothing happens

Before you start

Set a dedicated SQS queue URL; each JSON message must contain orderId and email. Choose a verified SES sender and a template with an orderId variable. Configure the queue visibility timeout and dead-letter queue for failed deliveries.

Accounts to connect

See all 114 in E-commerce

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template