Response

General

The Response node is used to return an HTTP response with an optional response body and status code. A static response can be set from the node settings or a dynamic one that is passed as a parameter.

There can be multiple Response nodes in one endpoint to handle multiple return cases.

Input

  • Source: Receives an Object, String, Number or Boolean with the HTTP response data. Learn more on res.send.

Output

  • The Response node has no output.

Use Cases

Call an external API parse and process the response.

  • Request (Get) ➡ Webhook ➡ Script ➡ Response (200)

Receive data from a request and save the to the database.

  • Request (Post) ➡ Database ➡ Response (200)

Last updated

Was this helpful?