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, MCP, and Product. Specifically for the Admin resource with the Get Price Books operation, it fetches price book data from the ScaleFluidly system.

Typical use cases include:

  • Retrieving price book information for administrative or pricing management purposes.
  • Automating workflows that require up-to-date price book data.
  • Integrating price book details into other business processes like quoting or order management.

For example, a user might configure this node to pull all available price books from the ScaleFluidly environment to synchronize them with an internal database or to display them in a dashboard.

Properties

Name Meaning
Environment The target ScaleFluidly API environment to connect to. Options: Dev, QA, Local (localhost).

The node also requires selecting the Resource (Admin) and Operation (Get Price Books), but these are fixed by your request context.

Output

The node outputs an array of JSON objects representing the response from the ScaleFluidly API for the requested operation. Each item corresponds to a price book or related data retrieved from the API.

  • The output is accessible via the json property of each item.
  • If the API returns binary data (not typical for this operation), it would be included accordingly, but for "Get Price Books," the output is purely JSON.

Example output structure (simplified):

[
  {
    "id": "pricebook_123",
    "name": "Standard Price Book",
    "currency": "USD",
    "items": [
      {
        "productId": "prod_456",
        "price": 100
      }
    ]
  }
]

Dependencies

  • Requires access to the ScaleFluidly API endpoint specified by the selected environment URL.
  • Optionally uses an API authentication token passed in the HTTP Authorization header. This token must be provided in the input data's headers on the first item or managed via n8n credentials if configured.
  • No additional external dependencies beyond standard HTTP requests.

Troubleshooting

  • Bearer token not found: The node expects an authorization token in the input data's headers on the first item. If missing, it will throw an error. Ensure the token is correctly set before execution.
  • Operation not found: If the operation name does not map to a known API endpoint, the node throws an error. Verify the operation name matches supported actions.
  • Network errors or invalid environment URL: Confirm the selected environment URL is reachable and correct.
  • Invalid JSON in Request Body: If providing a custom request body, ensure it is valid JSON.

Links and References


This summary focuses on the Admin resource's Get Price Books operation as requested, based on static analysis of the provided source code and properties.

Discussion