Webhook Receiver with AWS Lambda durable functions

API Gateway → AWS Lambda → AWS Lambda durable functions → Amazon DynamoDB

Receive and process webhooks durably with automatic checkpointing using Lambda durable functions and Python

This pattern demonstrates a serverless webhook receiver using Lambda durable functions with Python.
The pattern receives webhook events via API Gateway, processes them through multiple checkpointed steps, and provides status query capabilities.
Each processing step is automatically checkpointed, allowing the workflow to resume from the last successful step if interrupted.
Webhook events and processing state are persisted in DynamoDB with automatic TTL cleanup after 7 days.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/lambda-durable-webhook-sam-python

Deploy

sam buildsam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

sam delete --stack-name lambda-durable-webhook

Created by:

Ramesh Chidirala

Ramesh Chidirala

Sr. Solutions Architect at AWS

Follow on LinkedIn