Skip to content

Updating visuals

If you see any images containing outdated UI, please bear with us.

We are updating all content as quickly as possible to mirror our new UI.

Send response ​

Use the Send Response action to define what your API Endpoint returns to the caller.

This is where you choose:

  • The data to return (for example an object, a list of rows, or an error message).
  • The status code (for example 200, 400, 401, 403, 404, 500).
  • Optional headers (for example Content-Type).

Configuration ​

SettingWhat it does
Response dataThe data to return. You can bind this to results from previous actions.
Status codeThe HTTP status code to return.
HeadersOptional headers to include in the response.

Example: return data on success ​

Use Send Response after a table action to return the created or updated record.

Example pattern:

  • Tables → Insert rows
  • Send Response With:
    • Status code: 200
    • Response data: The inserted row(s)

Example: return a clear error ​

If something is wrong (missing data, unauthorized user, etc.), send an error response and stop the workflow early.

Example pattern:

  • True/False split (Check a condition)
  • If not valid → Send Response with:
    • Status code: 400
    • Response data: { "error": "Invalid inputs" }

Common pitfalls ​

The API Endpoint returns nothing ​

  • Make sure you added a Send Response action in your workflow.
  • If you have multiple branches, make sure each branch returns a response.

CONTINUE LEARNING

Learn how to handle errors in your API Endpoints.

Error handling with Try/Catch →