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 Save Product Group Attributes operation, the node sends a JSON request body to the ScaleFluidly API endpoint corresponding to this operation. This enables updating or saving attributes related to product groups within the ScaleFluidly system.

Common scenarios where this node is beneficial include automating product group management tasks in sales or inventory workflows, synchronizing product attribute data between systems, or programmatically updating product configurations based on business logic.

For example, a user might use this node to update product group attributes after importing new product data or when adjusting product group settings dynamically during a sales process.

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). Determines which ScaleFluidly instance the request will be sent to.
Request The JSON-formatted request body containing the data to save or update product group attributes. This must conform to the expected API schema for the "save_product_group_attributes" operation.

Output

The node outputs an array of JSON objects representing the responses from the ScaleFluidly API for each input item processed. Each JSON object corresponds to the API response for the respective request made.

If the API returns binary data (not indicated explicitly here), it would typically represent files or media associated with the product groups, but this node primarily handles JSON data.

Dependencies

  • Requires access to the ScaleFluidly API endpoints.
  • Optionally uses an API authentication token if provided in the input data headers; otherwise, it attempts to use configured credentials named generically as an API key credential.
  • No explicit external libraries beyond standard n8n workflow helpers are required.
  • The node expects the user to configure the appropriate environment URL and provide valid request JSON matching the API's requirements.

Troubleshooting

  • Bearer token not found: If the first input item does not contain an authorization header with a bearer token and no API credential is configured, the node will throw an error. Ensure that either the input includes a valid authorization token or the node is configured with proper API credentials.
  • Operation not found: If the specified operation (intent) does not match any known API endpoint mapping, the node will error out. Verify that the operation name is correct and supported.
  • Invalid JSON request body: Since the request body is user-provided JSON, malformed or incorrect data structures may cause API errors. Validate the JSON against the ScaleFluidly API documentation before running.
  • Environment URL issues: Selecting an incorrect or unreachable environment URL will result in network errors. Confirm the environment setting matches your deployment.

Links and References

Discussion