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 Update Rule Product Groups operation, it enables updating product group rules within the ScaleFluidly system by sending a custom JSON request body.

Common scenarios where this node is beneficial include automating administrative updates to product grouping rules in sales or pricing platforms, integrating rule management into workflows, and synchronizing product group configurations programmatically.

For example, a user might update product group rules automatically when new products are added or pricing strategies change, ensuring consistent application of business logic without manual intervention.

Properties

Name Meaning
Environment The target environment for the API call. Options: Dev (https://documentation-dev.scalefluidly.com), QA (https://documentation.scalefluidly.com), Local (http://localhost:8400). This determines which ScaleFluidly instance the request will be sent to.
Request A JSON object representing the request body to send for the "Update Rule Product Groups" operation. This should contain the necessary data structure expected by the ScaleFluidly API to update rule product groups.

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 for the respective request.

If the API returns binary data (not indicated explicitly here), it would be included accordingly, but based on the static analysis, the output is primarily JSON data reflecting the result of the update operation.

Dependencies

  • Requires access to the ScaleFluidly API endpoint specified by the selected environment.
  • Optionally uses an API authentication token passed via an authorization header. If the first input item includes an authorization bearer token in its headers, that token is reused for subsequent requests.
  • No explicit internal credential names are exposed; users must provide appropriate API authentication tokens or credentials configured in n8n.
  • The node depends on n8n's 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 bearer token in its headers and no other means of authentication is provided, the node will throw an error indicating the missing token. Ensure the first input includes valid authorization headers or configure authentication properly.
  • Operation not found error: If the operation name (intent) does not map to a known URL endpoint, the node throws an error stating the operation was not found. Verify that the operation name matches one of the supported actions.
  • 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 endpoint unreachable: Selecting an incorrect environment or having network issues may cause request failures. Confirm the environment URL and network connectivity.

Links and References


This summary focuses on the Admin resource's Update Rule Product Groups operation as requested, describing how the node sends a JSON request to update product group rules via the ScaleFluidly API.

Discussion