ScaleFluidly icon

ScaleFluidly

Consume ScaleFluidly API

Actions98

Overview

This node integrates with the ScaleFluidly API, allowing users to perform various operations across multiple resources such as Admin, Quote, Configure, Pricing, and MCP. Specifically for the Admin resource and the Create Permission operation, it enables creating new permissions within the ScaleFluidly system by sending a structured JSON request body to the appropriate API endpoint.

Common scenarios where this node is beneficial include automating permission management in ScaleFluidly environments, integrating permission creation into workflows, or managing user roles programmatically without manual intervention.

For example, an organization could use this node to automatically assign specific permissions to users or groups when onboarding new team members, ensuring consistent access control aligned with company policies.

Properties

Name Meaning
Environment The target ScaleFluidly environment to connect to. Options: Dev, QA, Local (with respective URLs).
Request The JSON-formatted request body containing the details of the permission to create. This must conform to the API's expected schema for creating permissions.

Output

The node outputs an array of JSON objects representing the responses from the ScaleFluidly API for each input item processed. Each JSON object contains the data returned by the API after attempting to create the permission, which typically includes confirmation details or error messages related to the creation request.

If the API supports binary data in responses, the node would handle it accordingly, but based on the provided code and context, the output is purely JSON.

Dependencies

  • Requires access to the ScaleFluidly API endpoints corresponding to the selected environment.
  • Optionally uses an API authentication token (bearer token) passed via HTTP headers for authorized requests.
  • No explicit external libraries beyond n8n's standard helpers are required.
  • The node expects proper configuration of credentials or authorization tokens to authenticate API calls.

Troubleshooting

  • Bearer token not found: If the first input item does not contain an authorization header with a bearer token, subsequent requests will fail. Ensure that the authorization token is correctly set in the input data or configured in the node credentials.
  • Operation not found: If the specified operation (intent) does not match any known API endpoint mapping, the node throws an error indicating the operation is invalid. Verify the operation name matches supported actions.
  • Invalid JSON in Request: The request_info property must be valid JSON matching the API's expected format. Malformed JSON or missing required fields can cause API errors.
  • Environment URL issues: Selecting an incorrect or unreachable environment URL will result in connection failures. Confirm the environment setting corresponds to a valid and accessible ScaleFluidly instance.

Links and References

Discussion