Using client.trigger
(Recommended)
We recommend using client.trigger
to start your workflow.
2. Sending an HTTP Request
This approach is recommended for quick testing via curl during development. You should NOT start the workflow run in production by direct calls to your endpoint.If you’ve secured your endpoint with signing keys, only the
trigger
methid will work. Direct calls to the endpoint (e.g., via curl
or fetch
) will not be possible since Upstash-Signature
header is missing.For more information, read Secure a workflow documentation.