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. Specifically, for the Configure resource and the Add User Favourite Product operation, the node enables adding a product to a user's list of favorite products within the ScaleFluidly system.

Common scenarios where this node is beneficial include:

  • Personalizing user experiences by managing favorite products.
  • Automating product preference updates in sales or inventory workflows.
  • Integrating ScaleFluidly's product configuration capabilities into broader automation pipelines.

For example, a sales automation workflow could use this node to add a product to a user's favorites when they frequently select it, improving recommendation accuracy.

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 required by the API for the operation. This contains the details of the product to add as a favorite for the user. The exact structure depends on the ScaleFluidly API specification for this operation.

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 indicated here), it would be included accordingly, but this operation primarily deals with JSON data.

Dependencies

  • Requires access to the ScaleFluidly API endpoint specified by the chosen environment.
  • Optionally uses an API authentication token if provided in the input data headers under authorization.
  • No explicit external npm packages beyond n8n core dependencies are required.
  • The node supports using an API key credential configured in n8n (referred generically as "an API key credential") for authenticated requests if no bearer token is found in input data.

Troubleshooting

  • Bearer token not found error: If the first input item does not contain an authorization header with a bearer token, and no API key credential is configured, the node will throw an error. Ensure that either the input data includes a valid bearer token in the headers or configure an appropriate API authentication credential 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 not found. Verify that the operation name is correct and supported.
  • Invalid request body: Since the request body is user-provided JSON, malformed or incomplete JSON may cause API errors. Validate the JSON structure against the ScaleFluidly API documentation.
  • Environment URL issues: Selecting an incorrect environment or having network connectivity issues to the specified environment URL can cause request failures.

Links and References

  • ScaleFluidly API Documentation (QA environment)
  • Refer to your ScaleFluidly API docs for detailed request body schemas and response formats for the "Add User Favourite Product" operation.

Discussion