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
The node "Wazend API" provides integration with the Wazend service, allowing users to perform various operations on different resources. Specifically, for the resource Grupo and operation Actualizar Miembros, this node enables managing group participants by adding, removing, promoting, or demoting members within a specified group. This is useful in scenarios where automated group management is needed, such as maintaining membership lists, moderating group roles, or synchronizing group participants from external systems.
Practical examples include:
- Automatically adding new users to a group when they register on a platform.
- Removing inactive or banned users from a group.
- Promoting trusted members to administrators based on certain criteria.
- Demoting administrators who no longer require elevated privileges.
Properties
| Name | Meaning |
|---|---|
| Nombre De La Instancia | The name of the Wazend instance to connect to. |
| ID Del Grupo | The unique identifier (JID) of the group whose members will be updated. |
| Acción | The action to perform on the members. Options: Add Member, Remove Member, Promote to Admin, Demote to Member. |
| Miembros | A comma-separated list of phone numbers representing the members to update (e.g., 5511999999999,5511888888888). |
Output
The node outputs a JSON array containing the result of the update operation on the group members. Each item in the output corresponds to the response from the Wazend API after performing the requested action on the specified participants. The exact structure depends on the API response but generally includes status information about the success or failure of each member update.
No binary data output is indicated.
Dependencies
- Requires an active connection to the Wazend API service.
- Needs an API authentication credential configured in n8n to authorize requests.
- The base URL for API requests is
https://docs.wazend.net/wazend. - Proper network access to the Wazend API endpoint is necessary.
Troubleshooting
Common Issues:
- Invalid or missing group ID (
ID Del Grupo) can cause failures in locating the target group. - Incorrect formatting of the members list (e.g., missing commas or invalid phone numbers) may lead to errors.
- Insufficient permissions or invalid API credentials will prevent successful updates.
- Attempting unsupported actions or using the wrong resource-operation combination triggers an error.
- Invalid or missing group ID (
Error Messages:
"Operação não suportada."indicates that the selected operation is not supported for the chosen resource. Verify that the resource and operation names are correct.- API errors related to authorization typically mean the API key or token is invalid or expired; reconfigure credentials accordingly.
- Validation errors on input properties suggest checking required fields and their formats.
Links and References
- Wazend API Documentation (base URL used by the node)
- n8n Documentation on Creating Custom Nodes