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 Get Price Book Available Products operation, the node fetches the list of products available in a given price book. This is useful in scenarios where you need to retrieve product data associated with price books for inventory management, pricing strategies, or sales processes.

Practical examples include:

  • Retrieving all products that can be added to a specific price book.
  • Synchronizing product availability data between ScaleFluidly and other systems.
  • Displaying available products in a custom UI or workflow based on price book selections.

Properties

Name Meaning
Environment The target environment URL for the ScaleFluidly API. Options: Dev, QA, Local (with respective URLs).
Request JSON object containing the request body parameters required by the operation.

The Request property must be provided as a JSON object tailored to the specific API call. For "Get Price Book Available Products," this typically includes identifiers like the price book ID or filters relevant to the product listing.

Output

The node outputs an array of JSON objects representing the response from the ScaleFluidly API for the requested operation. For the "Get Price Book Available Products" operation, the output JSON contains details about the available products within the specified price book, such as product IDs, names, descriptions, prices, and other relevant attributes.

If the API returns binary data (not typical for this operation), it would be included accordingly, but this operation primarily deals with JSON data.

Dependencies

  • Requires access to the ScaleFluidly API endpoint corresponding to the selected environment.
  • May require an API authentication token (bearer token) passed via headers; the node attempts to extract this from input data or uses configured credentials.
  • No explicit external npm packages beyond n8n's standard helpers are needed.
  • Proper configuration of the environment URL and valid authorization is necessary for successful API calls.

Troubleshooting

  • Bearer token not found: If the authorization header with a bearer token is missing in the first input item and no stored authorization exists, the node will throw an error. Ensure the token is provided either in the input data headers or through node credentials.
  • Operation not found: If the operation name does not map to a known API endpoint, an error will occur. Verify the operation parameter matches supported operations.
  • Invalid JSON in Request: The request_info property must be valid JSON. Malformed JSON will cause request failures.
  • API connectivity issues: Check network access to the selected environment URL and ensure the API service is reachable.
  • Permission errors: Insufficient permissions or invalid tokens may result in authorization errors from the API.

Links and References

Discussion