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 Set Customer Languages operation, the node sends a JSON request body to the ScaleFluidly API endpoint responsible for updating or setting customer language preferences.

Typical use cases include automating administrative tasks related to customer profiles, such as configuring language settings for customers in bulk or as part of a workflow that manages customer data. For example, a user might use this node to update language preferences for customers after importing new customer data or when syncing with external systems.

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). This determines which backend instance the node will communicate with.
Request A JSON object representing the request body sent to the API. This contains the details necessary for the "Set Customer Languages" operation, such as customer identifiers and their corresponding language settings.

Output

The node outputs an array of JSON objects, each representing the response from the ScaleFluidly API for each input item processed. The json output field contains the parsed JSON response returned by the API, which typically includes confirmation of the language settings being applied or any relevant status messages.

If the API returns binary data (not indicated in this operation), it would be handled accordingly, but for "Set Customer Languages," the output is expected to be JSON only.

Dependencies

  • Requires access to the ScaleFluidly API endpoints.
  • An API authentication token (bearer token) must be provided via the input data's authorization header on the first item or through configured credentials.
  • The node uses HTTP requests with appropriate headers including Accept: application/json and Authorization.
  • No internal credential names are exposed; users must supply a valid bearer token for authentication.
  • The environment URL must be correctly set to point to the desired ScaleFluidly backend environment.

Troubleshooting

  • Bearer token not found error: If the first input item does not contain an authorization header with a bearer token, the node will throw an error. Ensure the first item includes a valid authorization token or configure credentials properly.
  • Operation not found error: If the specified operation (intent) does not match any known API endpoint mapping, the node will report an error. Verify that the operation name is correct and supported.
  • API request failures: Network issues, incorrect environment URLs, or invalid request bodies can cause API errors. Check the environment selection, ensure the JSON request body matches the API schema, and verify network connectivity.
  • Invalid JSON in Request property: The request_info property must be valid JSON. Malformed JSON will cause the node to fail.

Links and References


This summary focuses on the Admin resource's Set Customer Languages operation based on the provided source code and properties.

Discussion