Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
Overview
The "Grant Device Access" operation under the "Team" resource in this node allows you to grant a specific user access to a particular WhatsApp number (device) managed within the Wassenger platform. This is useful in scenarios where team members need controlled access to WhatsApp devices for managing conversations, sending messages, or performing other team-related tasks.
For example, if you have multiple WhatsApp numbers connected to your system and want to delegate access to certain agents or team members, this operation lets you assign those permissions programmatically within an automation workflow.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) to which access will be granted. |
| User ID | The ID of the user (team member) who will be granted access to the specified WhatsApp number. |
- WhatsApp Number: Selected from available WhatsApp devices linked to the account.
- User ID: Selected from team agents filtered by the chosen WhatsApp device.
Output
The output JSON contains the response from the Wassenger API after attempting to grant access. It typically includes confirmation details about the granted access or error information if the operation failed.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Wassenger WhatsApp API via an API key credential.
- The node depends on the Wassenger API endpoints related to team management and device access control.
- Proper permissions and API credentials must be configured in n8n to authenticate requests.
Troubleshooting
Common Issues:
- Invalid or missing WhatsApp Number or User ID parameters can cause failures.
- Insufficient permissions for the API key may prevent granting access.
- Network or API downtime could lead to request errors.
Error Messages:
- Errors indicating invalid IDs usually mean the selected device or user does not exist or is not accessible.
- Authentication errors suggest issues with the API key configuration.
Resolutions:
- Verify that the WhatsApp Number and User ID are correctly selected and valid.
- Ensure the API key has the necessary permissions for team management operations.
- Check network connectivity and Wassenger service status.
Links and References
- Wassenger Official API Documentation (for detailed API capabilities and authentication)
- n8n Documentation on Creating Custom Nodes