WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node operation allows a user to accept an invitation to join a group by providing the group's invite code and the instance ID. It is useful in scenarios where automated workflows need to programmatically join groups based on invite codes, such as onboarding users into communication or collaboration 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 external triggers or events.

Properties

Name Meaning
Id The unique instance ID of the group to join. Must be provided as a number.
Invite Code The invite code string used to accept the group invitation.

Output

The node outputs JSON data representing the result of the "accept invite" action. This typically includes confirmation details about the accepted invite, such as status or metadata returned from the API. There is no indication of binary data output for this operation.

Dependencies

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

Troubleshooting

  • Invalid or expired invite code: If the invite code is incorrect or has expired, the API will likely return an error. Verify the invite code before retrying.
  • Incorrect instance ID: Providing an invalid or non-existent instance ID may cause the request to fail. Ensure the ID corresponds to a valid group instance.
  • Authentication errors: Missing or invalid API credentials will prevent the node from connecting to the API. Confirm that the API key credential is correctly set up.
  • Network issues: Connectivity problems can cause timeouts or failures. Check network access to the API endpoint.

Links and References

Discussion