You’ve defined your workflow, and the final step is to trigger the endpoint!
There are two main ways to start your workflow:
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.
Warning
If you’ve secured your endpoint with signing keys, only the trigger method 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.