Process Amazon SQS messages with AWS Lambda
Poll one message at a time and remove it only after the function acknowledges the same message ID.
8 stepsProduct and engineering
Free to start, no card required.
How it works
When this happens
Poll the work queue
Schedule
Step 1 · Code
Set the queue URL

Step 2 · Amazon SQS
Receive one queue message
Step 3 · Code
Read the message and receipt
Step 4
Check for a message
Follows the first path that matches
Message received

Step 5 · AWS Lambda
Process the message in Lambda
Step 6
Check the function acknowledgment
Follows the first path that matches
Same message acknowledged

Step 7 · Amazon SQS
Remove the acknowledged message
Otherwise
Nothing happens
Otherwise
Nothing happens
Before you start
Set the queue URL and choose a Lambda function that accepts messageId and body, handles repeated IDs and returns processedMessageId on success. Set the queue visibility timeout above the maximum processing time and configure its dead-letter queue.
Accounts to connect
ScheduleBuilt into Connecto, no account
Amazon SQS
AWS Lambda
Similar templates
See all 109 in Product and engineering- Send queued order confirmations with Amazon SESSubmit one queued order confirmation to SES at a time and remove the SQS message after acceptance.Uses Schedule, Amazon SQS, Storage, Amazon SES11 steps · E-commerce
- Index public pages in Pinecone with Firecrawl and OpenAIRefresh embeddings for changed public articles and remove withdrawn articles or obsolete passages from the Pinecone index.Uses Schedule, Storage, Firecrawl, OpenAI, Pinecone20 steps · Product and engineering
- Publish a PostgreSQL outbox to RabbitMQRelay committed application events in batches and mark each PostgreSQL event as published only after RabbitMQ confirms the message.Uses Schedule, Postgres, RabbitMQ9 steps · Product and engineering
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.