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 Currency Conversion operation, the node enables adding a new currency conversion entry by sending a JSON request body to the appropriate ScaleFluidly API endpoint.

Common scenarios where this node is beneficial include automating currency conversion management within a sales or financial workflow, updating currency rates dynamically, or integrating currency conversion data into broader business processes managed in n8n.

For example, a user might use this node to add a new currency conversion rate whenever a new currency pair needs to be supported in their pricing system, triggered automatically by an external event or schedule.

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). Determines which ScaleFluidly instance the request will be sent to.
Request The JSON-formatted request body containing the details of the currency conversion to add. This must conform to the API's expected schema for adding currency conversions.

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 currency conversion addition, typically including confirmation details or the created currency conversion record.

If the API supports binary data in responses (not evident here), it would be included accordingly, but this node primarily deals with 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 environment variables are required beyond what is configured in n8n for authentication.

Troubleshooting

  • Bearer token not found error: 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 error: If the specified operation (intent) does not match any known operation in the internal intent-to-URL mapping, the node will throw an error indicating the operation was not found. Verify the operation name is correct and supported.
  • Invalid request body: Since the request body is user-provided JSON, malformed or incorrect data may cause API errors. Validate the JSON structure against the ScaleFluidly API documentation before execution.
  • Environment URL issues: Selecting an incorrect environment URL or having network connectivity problems to the chosen environment can cause request failures.

Links and References


This summary focuses on the Admin resource's Add Currency Conversion operation as requested, based on static analysis of the provided source code and property definitions.

Discussion