ScaleFluidly icon

ScaleFluidly

Consume ScaleFluidly API

Actions224

Overview

The ScaleFluidly node integrates with the ScaleFluidly API to perform various operations across multiple resources, including Pricing. Specifically, for the Pricing resource and the "Pricing Details" operation, the node sends a custom JSON request body to the ScaleFluidly pricing endpoint of the selected environment and returns the pricing details response.

This node is beneficial in scenarios where you need to programmatically retrieve or manipulate pricing information from ScaleFluidly within an n8n workflow. For example, you can automate fetching current pricing data for products or quotes, integrate pricing updates into your sales processes, or combine pricing data with other business systems.

Properties

Name Meaning
Environment The target environment URL for the ScaleFluidly API. Options: Dev, QA, Local (with respective base URLs).
Request A JSON object representing the request body sent to the ScaleFluidly API for the Pricing operation. This allows flexible input depending on the specific pricing query or action needed.

Output

The node outputs an array of JSON objects corresponding to the responses received from the ScaleFluidly API for each input item processed. Each output JSON object contains the pricing details or related data returned by the API based on the provided request body.

If the API returns binary data (not explicitly shown in the code), it would be included accordingly, but this node primarily handles JSON responses.

Dependencies

  • Requires access to the ScaleFluidly API endpoints.
  • Optionally uses an API authentication token passed via an authorization header. The token is extracted from the first input item's JSON headers if present; otherwise, it attempts to use configured credentials.
  • No explicit internal credential names are exposed; users must provide appropriate API tokens or credentials as required by their ScaleFluidly environment.
  • The node depends on n8n's HTTP request helper methods to communicate with the API.

Troubleshooting

  • Bearer token not found: If the first input item does not contain an authorization token in its headers and no credentials are configured, the node will throw an error. Ensure that the API token is correctly provided either in the input data or via node credentials.
  • Operation not found: If the specified operation (intent) does not match any known mapping, the node throws an error indicating the operation is invalid. Verify the operation name matches one of the supported ScaleFluidly API actions.
  • Request body errors: Since the request body is user-defined JSON, malformed or incorrect JSON may cause API errors. Validate the JSON structure before execution.
  • Environment URL issues: Selecting an incorrect environment URL or having network connectivity problems to the chosen environment will result in request failures.

Links and References


This summary focuses on the Pricing resource and the Pricing Details operation as requested, based on static analysis of the provided source code and property definitions.

Discussion