WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

The "Accept Invite" operation for the "Group" resource allows a user to accept an invitation to join a group by providing the group's invite code and the instance ID. This node is useful in scenarios where automated workflows need to programmatically join groups based on invite codes, such as onboarding users into team chats or community groups without manual intervention.

Practical examples include:

  • Automatically accepting group invites sent via email or messaging platforms.
  • Integrating with external systems that generate group invite codes and triggering acceptance within n8n workflows.
  • Managing membership of groups dynamically based on business logic.

Properties

Name Meaning
Id The unique instance ID (number) identifying the target group instance.
Invite Code The invite code string used to accept the group invitation.

Output

The node outputs JSON data representing the result of the invite acceptance request. This typically includes confirmation details about the accepted invite or any relevant metadata returned by the API. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI service.
  • The node communicates with the WaAPI endpoint at https://waapi.app/api/v1.
  • Proper configuration of the API authentication credentials in n8n is necessary.

Troubleshooting

  • Invalid Invite Code: If the invite code is incorrect or expired, the API will likely return an error. Verify the invite code before running the node.
  • Unauthorized Access: Missing or invalid API credentials will cause authentication failures. Ensure the API key credential is correctly set up.
  • Instance ID Errors: Providing an incorrect or non-existent instance ID may result in errors. Confirm the instance ID corresponds to a valid group instance.
  • Network Issues: Connectivity problems can prevent the node from reaching the API endpoint. Check network access and proxy settings if applicable.

Links and References

Discussion