ScaleFluidly icon

ScaleFluidly

Consume ScaleFluidly API

Actions224

Overview

This node integrates with the ScaleFluidly API, allowing users to perform various operations related to pricing, quotes, configuration, and more within the ScaleFluidly platform. Specifically for the Pricing resource and the LineItem PriceTrails operation, it fetches detailed price trail information for line items, which can be useful for tracking price changes, adjustments, or history of pricing on specific products or services.

Common scenarios where this node is beneficial include:

  • Retrieving historical pricing data for audit or reporting purposes.
  • Monitoring price adjustments over time for product line items.
  • Integrating pricing history into sales or inventory workflows.
  • Automating price validation or approval processes based on past price trails.

Example use case: A sales team wants to automatically pull the price change history of a quote's line items before finalizing a deal, ensuring all discounts and promotions applied are tracked and justified.

Properties

Name Meaning
Environment The target environment for the API call. Options are:
- Dev (https://documentation-dev.scalefluidly.com)
- QA (https://documentation.scalefluidly.com)
- Local (http://localhost:8400)
Request JSON object representing the request body sent to the API. This contains the parameters required by the selected operation, such as filters or identifiers for the price trails to retrieve.

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 LineItem PriceTrails operation, the output typically includes detailed information about the price history of line items, such as timestamps, price values, adjustment reasons, and user actions.

If the API returns binary data (not typical for this operation), it would be included in the binary output, 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 or key configured in n8n credentials (referred generically as "an API key credential").
  • The node uses HTTP requests with appropriate authorization headers to communicate with the ScaleFluidly API.

Troubleshooting

  • Bearer token not found error: If the first input item does not contain an authorization header with a bearer token, the node will throw an error. Ensure that the incoming data includes valid authorization or that the node is properly configured with credentials.
  • Operation not found error: If the specified operation (intent) does not match any known API endpoint, the node will report this. Verify that the operation name is correct and supported.
  • API request failures: Network issues, incorrect environment URLs, or invalid request bodies may cause API errors. Check the environment URL, request JSON structure, and API credentials.
  • Invalid JSON in Request property: The Request property must be valid JSON matching the expected schema for the operation; otherwise, the API may reject the request.

Links and References


This summary focuses on the Pricing resource and the LineItem PriceTrails operation as requested, based on static analysis of the provided source code and properties.

Discussion