Cloudia icon

Cloudia

Send messages

Overview

This node integrates with the Cloudia platform to perform various operations related to customers and WhatsApp messaging. Specifically, for the Customer - Assign User operation, it assigns a user to a specified customer by sending a request to the Cloudia API. This is useful in scenarios where you want to link users (e.g., support agents or account managers) to customers within your system, enabling better tracking and management of customer relationships.

Practical examples include:

  • Automatically assigning a sales representative to a new customer record.
  • Linking a support agent to a customer when a ticket is created.
  • Managing customer ownership dynamically based on workflow conditions.

Properties

Name Meaning
Cloudia API Key An API key string used for authenticating requests to the Cloudia platform.
Customer ID The unique numeric identifier of the customer to whom the user will be assigned.
User ID The unique numeric identifier of the user who will be assigned to the customer.
Channel Integration ID The numeric ID of the channel integration through which messages are sent (contextual).
Name The name of the customer, used as part of the data sent to Cloudia.

Output

The node outputs an array of JSON objects representing the responses from the Cloudia API for each input item processed. Each JSON object contains the result of the assign user operation or an error message if the operation failed.

If the node encounters errors and "Continue On Fail" is enabled, the output will include error objects with an error field describing the issue.

No binary data output is produced by this node.

Dependencies

  • Requires access to the Cloudia API endpoint.
  • Needs an API key credential or direct API key input for authentication.
  • The node uses internal helper functions to build request URLs and bodies specific to the resource and operation.
  • No additional external libraries beyond those bundled with n8n are required.

Troubleshooting

  • Common issues:

    • Missing or invalid API key: Ensure the API key is correctly provided either via credentials or directly in the property.
    • Incorrect Customer ID or User ID: Verify that the IDs exist and are valid in the Cloudia system.
    • Unsupported resource or operation: The node throws errors if an unsupported resource or operation is selected.
  • Error messages:

    • "Unsupported resource: <resource>": Indicates the selected resource is not implemented; check the resource selection.
    • "Unsupported operation: <operation>": Means the chosen operation is not supported for the selected resource.
    • API request failures: Errors returned from the Cloudia API will be included in the output if "Continue On Fail" is enabled or thrown otherwise.

To resolve these, verify all inputs, ensure correct API credentials, and confirm that the Cloudia API service is reachable.

Links and References

Discussion