Choose the trigger
The trigger is selected when you create the workflow. If the upstream service
has a documented webhook format, use Webhook. Use URL for a custom API
surface and Form for browser-submitted fields or uploads.
Validate the incoming data
Trigger Data exposes the request values. Treat all of them as untrusted.- Check required properties before using them.
- Use type checks and conversion actions when a value may arrive as text.
- Validate structured bodies with Validate JSON Schema.
- Return a clear
4xxresponse when the request cannot be processed.
Return one response
Add the response action that matches the endpoint contract:
Only response actions compatible with the selected trigger can be added. If
several branches can respond, design them so one branch wins for each request.
Example: create a JSON endpoint
- Create a workflow with the Webhook trigger.
- Read the parsed body from Trigger Data.
- Validate the required fields.
- Run the actions that process the request.
- Build a result object.
- Connect it to Respond JSON.
- Wait for Saved!, enable the workflow, and send a representative
POST. - Inspect the run and the caller’s response.
400. The success branch can return status 200 or 201.
Operate the endpoint
- Keep the workflow Live while callers depend on it.
- Watch Run History for failed requests and node errors.
- Preserve a stable response shape when downstream applications parse it.
- If you pause the workflow, new requests produce paused-workflow failures; they are not queued for later.