UazAPI icon

UazAPI

Integração completa com UazAPI - 90+ endpoints para automação WhatsApp

Overview

This node integrates with the UazAPI service to manage WhatsApp instances. Specifically, for the Instance - Create operation, it allows users to create a new WhatsApp instance by providing a unique instance name. This is useful in scenarios where you want to programmatically initialize and register new WhatsApp instances for automation workflows, such as setting up multiple WhatsApp bots or managing different WhatsApp accounts within an automation pipeline.

Practical examples include:

  • Automatically provisioning new WhatsApp instances when onboarding clients.
  • Creating isolated WhatsApp environments for testing or development.
  • Managing multiple WhatsApp business accounts from a single n8n workflow.

Properties

Name Meaning
Instance Name Unique name of the WhatsApp instance to be created. This name identifies the instance within the UazAPI system.

Output

The node outputs a JSON object representing the response from the UazAPI after creating the instance. This typically includes details about the newly created instance such as its ID, status, and any metadata returned by the API.

Example output structure (simplified):

{
  "id": "string",
  "name": "string",
  "status": "string",
  "createdAt": "string"
}

No binary data is output by this operation.

Dependencies

  • Requires an active connection to the UazAPI service.
  • Requires an API key credential configured in n8n to authenticate requests to UazAPI.
  • The base URL for the UazAPI must be set in the credentials configuration.
  • The node uses HTTP POST requests to the /instance/init endpoint of the UazAPI.

Troubleshooting

  • Common issues:

    • Providing a non-unique instance name may cause the API to reject the creation request.
    • Network connectivity problems can prevent successful communication with the UazAPI.
    • Missing or invalid API authentication credentials will result in authorization errors.
  • Error messages:

    • "Instance name already exists": Choose a different unique instance name.
    • "Unauthorized" or "Authentication failed": Verify that the API key credential is correctly configured and valid.
    • "Network error" or timeouts: Check your internet connection and the availability of the UazAPI service.

Links and References

  • UazAPI Documentation (hypothetical link)
  • WhatsApp Business API concepts for instance management
  • n8n HTTP Request Node documentation for understanding API calls

Discussion