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 Edit Price Book Item operation, it enables editing details of a price book item within the ScaleFluidly system.

Typical use cases include automating updates to pricing data in a price book, adjusting product prices or attributes programmatically, and integrating these updates into broader sales or inventory workflows. For example, a user might update price book items based on new supplier costs or promotional discounts automatically triggered by external events.

Properties

Name Meaning
Environment The target environment URL for the API call. Options: Dev (https://documentation-dev.scalefluidly.com), QA (https://documentation.scalefluidly.com), Local (http://localhost:8400). This determines which backend instance the request is sent to.
Request JSON object containing the request body specific to the operation. This includes all necessary fields required by the "Edit Price Book Item" API endpoint to specify what changes to apply.

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 edit operation performed on the price book item.

If the API returns binary data (not indicated explicitly here), it would be included accordingly, but this node primarily handles JSON responses representing the updated price book item details or status messages.

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 credentials configured in n8n under a generic API key credential.
  • No explicit environment variables are required beyond selecting the correct environment URL.
  • The node depends on the request helper from n8n for HTTP calls.

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 data includes a valid authorization token or the node has proper API credentials set up.
  • Operation not found: If the specified operation or intent does not match any known API endpoint mapping, the node throws an error indicating the operation is invalid. Verify the operation name matches supported actions.
  • Invalid JSON in Request: The request_info property must be a valid JSON object matching the API's expected schema. Malformed JSON or missing required fields can cause API errors.
  • Environment URL issues: Selecting an incorrect environment or having network connectivity problems to the chosen URL may result in request failures.

Links and References


This summary focuses on the Admin resource's Edit Price Book Item operation, describing how to configure and use the node effectively within n8n workflows.

Discussion