Skip to main content

Request

This node provides access to the incoming HTTP request data in a Cloud Function.

The Request node is the entry point for server-side logic triggered by an API call.

The Request node is only available within a Cloud Function graph. It outputs the data sent by the client (or another node) when calling this function. This includes parameters, body content, headers, and user information.

Inputs

This node has no inputs. It is triggered when the function starts.

Outputs

Data

DataDescription
ParametersAn object containing dynamic parameters passed to the function.
UserThe authenticated user object (if the caller was logged in).
BodyThe raw body content (if applicable).
HeadersHTTP headers from the request.

Dynamic Outputs

DataDescription
*Dynamic outputs for specific parameters defined in the Cloud Function's settings.

Usage

Reading Input

  1. Define a Cloud Function "calculateTax" with parameter .
  2. In the function graph, the Request node will have an output.
  3. Connect to a math node.

Authentication Check

  1. Connect User output to an If node.
  2. Check if User is valid (not null).
  3. If null, return an error response.

Detailed Behavior

  • Context: This node only works in the cloud runtime environment.
  • Security: The object is verified by the platform's authentication system.

Troubleshooting

  • Missing Params: Ensure the calling node (e.g., Cloud Function node in the frontend) is actually sending the parameters.