Skip to content

Commit 9d2006f

Browse files
author
Yogesh Nain
committed
- Updated readme as per suggestion
- Keep nodejs24.x runtime for ProcessingLambda (SAM CLI upgrade resolved the build issue)
1 parent 5cffcea commit 9d2006f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

human-in-the-loop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Human in the Loop
22

3-
This pattern allows you to integrate a human review or approval process into your workflows with **one-click email approval**. A Lambda function sends an approval request via SNS email containing clickable approve/reject links. The task token is URL-encoded to ensure special characters don't break the API Gateway callback URL. The workflow pauses until the reviewer clicks a link, which triggers an API Gateway endpoint to resume the Step Functions execution.
3+
This pattern allows you to integrate a human review or approval process into your workflows with **one-click email approval**. An AWS Lambda function sends an approval request via Amazon SNS email containing clickable approve/reject links. The task token is URL-encoded to ensure special characters don't break the Amazon API Gateway callback URL. The workflow pauses until the reviewer clicks a link, which triggers an API Gateway endpoint to resume the AWS Step Functions execution.
44

55
Learn more about this workflow at Step Functions workflows collection: [Human in the Loop](https://serverlessland.com/workflows/human-in-the-loop)
66

human-in-the-loop/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Resources:
7676
FunctionName: ProcessingLambda
7777
CodeUri: lambda/
7878
Handler: app.handler
79-
Runtime: nodejs20.x
79+
Runtime: nodejs24.x
8080
Timeout: 3
8181
Policies:
8282
- AWSLambdaBasicExecutionRole

0 commit comments

Comments
 (0)