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 quotes, configuration, pricing, admin, and MCP (a custom action). Specifically for the Configure resource and the Favorite Carts operation, the node enables managing favorite carts within the ScaleFluidly platform. This can be useful in scenarios where users want to apply or manage saved cart configurations programmatically, streamlining workflows related to sales or product configuration.

Practical examples include:

  • Applying a user's favorite cart configuration to a quote or order.
  • Retrieving or saving favorite cart setups for reuse.
  • Automating cart management tasks in sales processes.

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 is sent to.
Request JSON object representing the request body payload specific to the operation. This contains all necessary parameters and data required by the "Favorite Carts" operation in the Configure resource.

Output

The node outputs an array of JSON objects corresponding to the responses from the ScaleFluidly API calls made during execution. Each item in the output array represents the JSON response from one API request.

  • The json field contains the parsed JSON response from the ScaleFluidly API.
  • If the API returns binary data (not typical for this operation), it would be included accordingly, but for Favorite Carts, the output is expected to be JSON structured data describing cart details or confirmation of actions performed.

Dependencies

  • Requires access to the ScaleFluidly API endpoint specified by the selected environment.
  • 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 additional external dependencies beyond standard HTTP requests and n8n's helper methods.

Troubleshooting

  • Bearer token not found error: If the first input item does not contain an authorization header with a bearer token, and no stored credential is available, the node will throw an error. Ensure that either the input includes a valid authorization token or proper API credentials are configured in n8n.
  • Operation not found error: If the operation name does not map to a known intent URL, the node throws an error indicating the operation is invalid. Verify the operation name matches supported operations for the Configure resource.
  • Request body issues: Since the request body is user-provided JSON, malformed or incomplete JSON may cause API errors. Validate the JSON structure before running the node.
  • Environment URL misconfiguration: Selecting an incorrect environment URL may lead to connection failures or unexpected responses. Confirm the environment setting matches your intended ScaleFluidly instance.

Links and References


This summary focuses on the Configure resource's Favorite Carts operation based on the provided properties and source code analysis.

Discussion