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 Add Rule Product Groups operation, the node sends a custom JSON request body to the ScaleFluidly API endpoint responsible for adding product groups to a rule configuration.

Typical use cases include automating administrative tasks related to product group management within pricing or quoting systems, such as programmatically associating product groups with specific business rules. This can be useful in scenarios like dynamic pricing adjustments, promotional rule setups, or inventory grouping automation.

Example: Automatically add a set of product groups to a pricing rule when certain conditions are met, streamlining the workflow without manual intervention.

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 A JSON object representing the request body sent to the API. This contains all necessary data for adding rule product groups. It must conform to the API's expected schema for this operation.

Output

The node outputs an array of JSON objects corresponding to the responses from the ScaleFluidly API for each input item processed. Each JSON object contains the API response data related to the "add_rule_product_groups" operation, typically confirming success or providing details about the added product groups.

If the API supports binary data in responses, it is not explicitly handled here; the output focuses on JSON data returned by the API.

Dependencies

  • Requires access to the ScaleFluidly API endpoints.
  • Optionally uses an API authentication token if provided in the input data headers under authorization.
  • No explicit internal credential names are exposed; users must configure appropriate API authentication credentials in n8n or provide bearer tokens dynamically.
  • The node depends on the n8n HTTP request helper methods 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, and no static authorization header was previously set, the node will throw an error. Ensure that the input data includes valid authorization headers or configure credentials properly.
  • Operation not found error: If the specified operation (intent) does not match any known API endpoint mapping, the node will throw an error indicating the operation is not found. Verify the operation name is correct and supported.
  • Invalid JSON in Request property: Since the request body is user-provided JSON, malformed JSON will cause the API call to fail. Validate the JSON structure before execution.
  • API connectivity issues: Check network access to the selected environment URL and ensure the API service is reachable.

Links and References


This summary covers the static analysis of the node’s execute method and its relevant properties for the Admin resource’s Add Rule Product Groups operation.

Discussion