WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node allows you to create a new Channel in the WaAPI system. Channels can be used to organize and manage communication streams or content groups within the platform. This operation is useful when you want to programmatically set up new channels with specific metadata such as name, description, and an associated picture.

Practical examples include:

  • Automatically creating a channel for a new project or team.
  • Setting up channels for different topics or departments in an organization.
  • Creating channels dynamically based on user input or external triggers.

Properties

Name Meaning
Id The instance ID where the channel will be created. This is a required numeric identifier.
Name The display name of the channel.
Description A textual description providing details about the channel.
Picture Url URL pointing to an image representing the channel (e.g., logo or icon).

Output

The node outputs JSON data representing the newly created channel object returned by the API. This typically includes all properties of the channel such as its unique identifier, name, description, picture URL, and any other metadata provided by the service.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the WaAPI service via an API key credential.
  • The node uses the base URL https://waapi.app/api/v1 for API requests.
  • Proper authentication credentials must be configured in n8n to authorize API calls.

Troubleshooting

  • Common issues:

    • Invalid or missing instance ID (Id) may cause the creation to fail.
    • Network connectivity problems or incorrect API credentials will prevent successful API calls.
    • Providing invalid URLs for the picture may result in errors or ignored images.
  • Error messages:

    • Authentication errors indicate issues with the API key or credential setup; verify and reconfigure credentials.
    • Validation errors usually point to missing required fields or invalid data types; ensure all required properties are correctly filled.
    • HTTP errors from the API (e.g., 400 Bad Request) suggest malformed requests; check property values and formatting.

Links and References

Discussion