respondToHttpRequest completes a request received by onHttpRequest with
waitForResponse: true. Use it to return a custom status, headers, and body to
the caller.
Example
automations/http-response.automation.ts
Inputs
Every input accepts a compatible signal. The action returns
Signal<void>.
The ingress request waits up to ten seconds. If this action does not produce a
response in time, the caller receives 504, although the automation may keep
running. Pair this action only with a waiting HTTP trigger in the same execution
context.