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 Category Pricebooks operation, the node fetches pricebook information associated with a particular category.

Common scenarios where this node is beneficial include:

  • Retrieving pricing structures linked to product categories for sales or inventory management.
  • Automating workflows that require up-to-date pricebook data for categories in ScaleFluidly.
  • Integrating category pricebook data into other systems or reports.

For example, a user might use this node to automatically pull all pricebooks related to a specific product category to update pricing dashboards or trigger further processing based on pricing changes.

Properties

Name Meaning
Environment The environment URL to target: Dev (https://documentation-dev.scalefluidly.com), QA (https://documentation.scalefluidly.com), or Local (http://localhost:8400). This determines which ScaleFluidly instance the node interacts with.
Request JSON object representing the request body sent to the API. For the "Get Category Pricebooks" operation, this should contain any necessary parameters required by the API endpoint to specify the category or filter criteria.

Output

The node outputs an array of JSON objects under the json output field. Each object corresponds to the response from the ScaleFluidly API for the requested operation.

For the "Get Category Pricebooks" operation, the output JSON typically includes details about pricebooks associated with the specified category, such as pricebook IDs, names, pricing details, and possibly metadata related to the category-pricebook relationship.

The node does not output binary data.

Dependencies

  • Requires access to the ScaleFluidly API endpoints.
  • Optionally uses an API authentication token if provided; otherwise, it attempts unauthenticated requests.
  • The node expects the user to configure the environment URL correctly to point to the desired ScaleFluidly instance (Dev, QA, or Local).
  • No explicit external npm packages beyond n8n's standard helpers are required.

Troubleshooting

  • Bearer token not found error: If the first input item does not contain an authorization header with a bearer token, and no prior token was stored, the node will throw an error. Ensure that the API token is correctly passed in the input headers or configured in credentials.
  • Operation not found error: If the operation name (intent) does not match any known operation in the internal intent-to-URL map, the node will throw an error. Verify that the operation name is correct and supported.
  • Request body issues: Since the request body is a free-form JSON input, malformed JSON or missing required fields may cause API errors. Validate the JSON structure before execution.
  • Environment URL misconfiguration: Using an incorrect or unreachable environment URL will result in network errors. Confirm the environment selection matches your ScaleFluidly deployment.

Links and References


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

Discussion