Trigger Lambda with dynamic payload

Right, but same concept. Presumably query1 is an API call to AWS Lambda with an additional scope variable called functionPayload that is incorporated into the call in some way? Simplest mockup I can think of like this:


Note: you have to put {{functionPayload}} somewhere otherwise you won't be passing anything. I put it in the body, but just as easy to put it in the headers, URL params, etc.


The payload was passed to the (admittedly overly simple) API