Can i trigger temporal workflow from aws lambda?

Hi All, I am looking into use case where we need to run a workflow on receiving aws sns notification. We plan to run aws lambda on each such notification and start a temporal workflow from that. Is it possible to start workflow from aws lambda?

I see this is tagged as go-sdk. If it can run Go and communicate with your Temporal server, it can start a workflow. Just create a new client via client package - go.temporal.io/sdk/client - pkg.go.dev and invoke ExecuteWorkflow.

If you want the lambda to handle as a worker that actually executes the workflows and activities however, that may be more of a challenge for such a short-lived call.

Thanks Chad, this is really helpful. I am only looking for triggering workflow from lambda and not for running workers.

1 Like