aws-samples / serverless-patterns

Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.
https://serverlessland.com
Other
1.6k stars 928 forks source link

New serverless pattern - stepfunctions-sns-apigw-human-review workflow simplified #2485

Closed anuprajpara closed 1 week ago

anuprajpara commented 1 month ago

Issue #, if available:

Description of changes:

The application will create a State Machine, an SNS topic, and an API Gateway REST API. This pattern allows you to integrate a human review or approval process into your workflows. The State Machine task sends a message to an SNS topic which sends a notification to a human reviewer by email. The workflow then waits until the approver completes their review. When the reviewer makes a selection, it will trigger an API that sends the SendTaskSuccess API call with the chosen result.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

anuprajpara commented 3 weeks ago

Updated as suggested. Pl review

marcojahn commented 2 weeks ago

Thank you @anuprajpara for your contribution. Your pattern will be merge by a serverless DA soon.