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
| Data | Description |
|---|---|
| Parameters | An object containing dynamic parameters passed to the function. |
| User | The authenticated user object (if the caller was logged in). |
| Body | The raw body content (if applicable). |
| Headers | HTTP headers from the request. |
Dynamic Outputs
| Data | Description |
|---|---|
| * | Dynamic outputs for specific parameters defined in the Cloud Function's settings. |
Usage
Reading Input
- Define a Cloud Function "calculateTax" with parameter .
- In the function graph, the Request node will have an output.
- Connect to a math node.
Authentication Check
- Connect User output to an If node.
- Check if User is valid (not null).
- 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.