ScaleFluidly icon

ScaleFluidly

Consume ScaleFluidly API

Actions224

Overview

This node integrates with the ScaleFluidly API, allowing users to perform various operations across multiple resources such as Admin, Quote, Configure, Pricing, MCP, and Product. Specifically, for the Admin resource and the Get Product By ID operation, the node sends a request to retrieve detailed information about a product identified by its ID.

Common scenarios where this node is beneficial include:

  • Fetching product details for inventory management or display in dashboards.
  • Integrating product data into workflows that require up-to-date product information.
  • Automating administrative tasks related to product management within ScaleFluidly.

For example, a user might use this node to automatically pull product details when processing orders or updating catalogs.

Properties

Name Meaning
Environment The target environment URL for the API call. Options: Dev (https://documentation-dev.scalefluidly.com), QA (https://documentation.scalefluidly.com), Local (http://localhost:8400). Determines which ScaleFluidly instance the request will be sent to.
Request JSON object containing the request body parameters required by the operation. For "Get Product By ID", this would typically include the product ID and any other relevant query parameters or filters.

Note: The "Request" property is a free-form JSON input that must conform to the expected API schema for the selected operation.

Output

The node outputs an array of JSON objects representing the response from the ScaleFluidly API for each input item processed. Each JSON object contains the product details retrieved by the "Get Product By ID" operation.

The exact structure of the output JSON depends on the ScaleFluidly API response but generally includes fields such as product ID, name, description, pricing, attributes, and other metadata.

If the API supports binary data (e.g., product images), the node can handle binary output accordingly, but this is not explicitly shown in the provided code snippet.

Dependencies

  • Requires access to the ScaleFluidly API endpoint specified by the chosen environment.
  • May require an API authentication token (bearer token) passed via HTTP headers. The node attempts to extract this token from the first input item's JSON headers.authorization field.
  • Optionally supports n8n credentials for authentication if configured.
  • No additional external dependencies beyond standard HTTP requests.

Troubleshooting

  • Bearer token not found error: If the authorization token is missing from the first input item's headers, the node throws an error. Ensure that the first input item includes a valid bearer token in json.headers.authorization.
  • Operation not found error: If the specified operation does not exist in the internal intent-to-URL mapping, the node will throw an error indicating the operation is unknown. Verify the operation name is correct and supported.
  • Invalid JSON in Request property: Since the request body is user-provided JSON, malformed JSON will cause the API call to fail. Validate the JSON format before execution.
  • Environment URL issues: Selecting an incorrect or unreachable environment URL will result in network errors. Confirm the environment setting matches your deployment.

Links and References


This summary focuses on the "Admin" resource and "Get Product By ID" operation as requested, based on static analysis of the provided source code and properties.

Discussion