WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Team → Grant Device Access

AI-generated

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 device (WhatsApp number) managed by WaliChat. This is useful in scenarios where team members need controlled access to WhatsApp numbers for managing conversations, sending messages, or performing other actions within the WaliChat platform.

Practical examples include:

  • Assigning a new support agent access to a shared WhatsApp business number.
  • Managing permissions dynamically when team roles change.
  • Automating onboarding of users to specific WhatsApp devices in a customer service 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 loaded dynamically.
  • User ID: Selected from team agents filtered based on the chosen WhatsApp device.

Output

The output JSON contains the response from the WaliChat API after attempting to grant access. It typically includes confirmation details such as success status and any relevant metadata about the granted access.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API via an API key credential configured in n8n.
  • The node depends on dynamic loading methods to fetch available WhatsApp devices and team agents for selection.
  • Proper permissions on the WaliChat account are necessary to modify team access settings.

Troubleshooting

  • Common Issues:

    • Selecting a WhatsApp number or user ID that does not exist or is invalid.
    • Insufficient permissions in the WaliChat account to grant access.
    • Network or authentication errors connecting to the WaliChat API.
  • Error Messages:

    • Errors related to invalid device or user IDs usually indicate incorrect selections; verify the options loaded dynamically.
    • Authentication errors suggest issues with the API key credential setup.
    • API rate limits or server errors may require retrying after some time or contacting WaliChat support.

Links and References

Discussion