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 with the Get Table Schemas operation, the node fetches schema information about database tables or data structures managed by ScaleFluidly. This can be useful for administrators or developers who need to understand the structure of data tables for reporting, integration, or configuration purposes.

Common scenarios include:

  • Retrieving metadata about tables to dynamically build UI forms or reports.
  • Validating data structures before performing data migrations or updates.
  • Automating documentation generation for internal APIs or databases.

Example: An admin user wants to get the schema details of certain tables in the ScaleFluidly system to prepare a data export or integration with another system.

Properties

Name Meaning
Environment The target environment URL for the ScaleFluidly API. Options are:
- Dev (development environment)
- QA (quality assurance environment)
- Local (local instance)
Resource The category of API actions to perform. For this context, it is "Admin".
Operation The specific action to execute under the selected resource. Here, "Get Table Schemas".

The provided input properties JSON only includes the Environment property because the Resource and Operation are fixed by your selection.

Output

The node outputs an array of JSON objects representing the response from the ScaleFluidly API for the requested operation. For the Get Table Schemas operation, the output JSON will contain schema details of tables, such as column names, types, constraints, and other metadata describing the table structure.

If the API returns binary data (not indicated here), it would typically represent files or documents related to schemas, but this node primarily handles JSON responses.

Dependencies

  • Requires access to the ScaleFluidly API endpoint corresponding to the chosen environment.
  • May require an API authentication token (bearer token) passed via HTTP headers; the node expects this token to be present in the input data's authorization header on the first item or uses configured credentials.
  • No explicit external libraries beyond n8n core helpers are used.

Troubleshooting

  • Bearer token not found: If the authorization token is missing in the first input item's headers and no credential is configured, the node will throw an error. Ensure that the token is provided either in the input data or via node credentials.
  • Operation not found: If the specified operation does not exist in the intent-to-URL mapping, the node throws an error indicating the operation is invalid. Verify the operation name matches supported values.
  • API request failures: Network issues, incorrect environment URLs, or invalid tokens may cause request errors. Check connectivity and authentication details.
  • Empty or malformed response: If the API returns unexpected data, verify the request body and parameters.

Links and References


This summary focuses on the static analysis of the node's execute() method and its configuration relevant to the Admin resource and Get Table Schemas operation.

Discussion