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, and MCP. Specifically, for the Admin resource and the Get Price Book Associated Products operation, the node fetches products associated with a particular price book from the ScaleFluidly system.

Common scenarios where this node is beneficial include:

  • Retrieving product lists linked to specific price books for pricing or catalog management.
  • Automating workflows that require synchronization of price book data with other systems.
  • Enabling dynamic product selection based on price book associations in sales or inventory processes.

For example, a user might use this node to automatically pull all products tied to a promotional price book to update an e-commerce platform's pricing dynamically.

Properties

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

Details:

  • Environment: Selects which ScaleFluidly API environment to interact with.
  • Request: A JSON input that contains the necessary parameters for the API call. For "Get Price Book Associated Products," this would typically include identifiers like the price book ID or filters to specify which associated products to retrieve.

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 Associated Products" operation, the output JSON will contain details about the products associated with the specified price book, such as product IDs, names, 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 chosen environment.
  • May require an API authentication token (bearer token) passed via headers; the node attempts to extract this from incoming data or uses configured credentials.
  • No explicit external libraries beyond standard n8n helpers and HTTP request utilities are needed.

Troubleshooting

  • Bearer token not found: If the authorization header with a bearer token is missing in the first input item and no stored token exists, the node will throw an error. Ensure that the input data includes proper authorization or configure credentials correctly.
  • Operation not found: If the specified operation does not match any known intent URL mapping, an error will occur. Verify that the operation name is correct and supported.
  • Invalid JSON in Request: The request_info property must be valid JSON. Malformed JSON will cause the request to fail.
  • API connectivity issues: Check network access to the selected environment URL and ensure the API service is reachable.
  • Permission errors: Insufficient API permissions or invalid tokens may result in authorization errors from the API.

Links and References


Note: This summary is based solely on static analysis of the provided source code and property definitions without runtime execution.

Discussion