ScaleFluidly icon

ScaleFluidly

Consume ScaleFluidly API

Actions224

Overview

The ScaleFluidly node integrates with the ScaleFluidly API to perform various operations related to quotes, orders, products, pricing, configuration, and administration. Specifically, for the Quote resource and Create Order operation, this node allows users to create a new order by sending a structured JSON request to the ScaleFluidly backend.

This node is beneficial in scenarios where automated workflows need to interact with ScaleFluidly's system to programmatically create orders based on dynamic input data. For example, it can be used in sales automation pipelines to convert approved quotes into orders 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 The JSON-formatted request body containing the details required to create an order. This must conform to the expected API schema for creating an order in ScaleFluidly. It is a required field.

Output

The node outputs an array of JSON objects representing the responses from the ScaleFluidly API for each input item processed. Each output JSON corresponds to the API response for the "create order" request, typically including details about the created order such as order ID, status, and any metadata returned by the API.

If the API supports binary data in responses (not evident here), the node would handle it accordingly, but for this operation, the output is purely JSON.

Dependencies

  • Requires access to the ScaleFluidly API endpoint corresponding to the selected environment.
  • Optionally uses an API authentication token passed via an authorization header. The token is extracted from the first input item's JSON headers or can be overridden per request.
  • No explicit external credential type names are exposed; users must provide valid authorization tokens as part of the input or node credentials.
  • The node depends on n8n's HTTP request helper methods to send requests and handle authentication.

Troubleshooting

  • Bearer token not found error: If the first input item does not contain an authorization token in its JSON headers, and no other token is provided, the node will throw an error. Ensure that the input data includes a valid bearer token under json.headers.authorization.
  • Operation not found error: If the specified operation or intent name does not match any known API endpoint mapping, the node will raise an error. Verify that the operation name is correctly set to "create_order" for this use case.
  • Invalid request body: Since the request body is user-provided JSON, malformed or incomplete JSON may cause API errors. Validate the JSON structure against ScaleFluidly's API documentation before execution.
  • Environment URL issues: Selecting an incorrect environment or having network connectivity problems to the chosen URL will result in request failures. Confirm the environment setting matches your deployment.

Links and References


This summary focuses on the Quote resource with the Create Order operation, describing how the node sends a JSON request to create an order in ScaleFluidly and returns the API response.

Discussion