Actions59
- Instancia Actions
- Mensaje Actions
- Grupo Actions
- Crear Grupo
- Actualizar Imagen Del Grupo
- Actualizar Nombre Del Grupo
- Actualizar Descripción Del Grupo
- Actualizar Configuraciones
- Actualizar Miembros
- Buscar Enlace De Invitación
- Revocar Enlace De Invitación
- Enviar Enlace De Invitación
- Buscar Grupos
- Encontrar Participantes
- Mensajes Temporales
- Entrar en El Grupo
- Salir Del Grupo
- Chat Actions
- Perfil Actions
- Evento Actions
Overview
This node, named "Wazend API," allows interaction with the Wazend API to perform various operations related to chat management. Specifically, for the "Chat" resource and the "Bloquear Contacto" (Block Contact) operation, it enables users to block or unblock a contact by specifying the contact's number and the desired action. This is useful in scenarios where automated control over chat contacts is needed, such as managing spam, restricting communication from certain users, or re-enabling communication when appropriate.
Practical examples:
- Automatically blocking a phone number that sends unwanted messages.
- Unblocking a previously blocked contact after verification.
- Integrating with customer support workflows to manage contact permissions dynamically.
Properties
Name | Meaning |
---|---|
Nombre De La Instancia | The name of the Wazend instance to connect to. |
Contacto | The contact number (remote JID) to be blocked or unblocked. |
Acción | The action to execute on the contact: either "Bloquear" (block) or "Desbloquear" (unblock). |
Output
The node outputs a JSON array containing the result of the block or unblock operation. The exact structure depends on the Wazend API response but generally includes confirmation of the action taken on the specified contact.
If the node supports binary data output, it is not indicated in the provided code or properties, so the output is purely JSON-based.
Dependencies
- Requires an active connection to the Wazend API.
- Needs an API authentication credential configured in n8n to authorize requests.
- The base URL for API requests is
https://docs.wazend.net/wazend
. - No other external dependencies are indicated.
Troubleshooting
- Unsupported Operation Error: If the node throws an error stating the operation is not supported, verify that the "resource" and "operation" parameters are correctly set to "chat-api" and "block-contact" respectively.
- Authentication Issues: Ensure the API key or authentication token is valid and properly configured in n8n credentials.
- Invalid Contact Number: The "Contacto" property must be a valid contact identifier recognized by the Wazend API; otherwise, the API may return an error.
- Network or API Endpoint Errors: Confirm network connectivity and that the base URL has not changed or become unavailable.
Links and References
- Wazend API Documentation (base URL used by the node)
- n8n Documentation on Creating Custom Nodes