z-api by @jaimeflneto icon

z-api by @jaimeflneto

Interact with Z-API to send WhatsApp messages

Overview

This node interacts with the Z-API service to perform operations related to WhatsApp communities, specifically linking groups to a community. It is useful for automating the management of WhatsApp communities by programmatically linking multiple group IDs to a specified community ID. For example, it can be used to link several WhatsApp groups to a community in bulk, streamlining community management tasks.

Use Case Examples

  1. Link multiple WhatsApp groups to a community by providing the community ID and a comma-separated list of group IDs.
  2. Automate community group linking as part of a larger workflow managing WhatsApp interactions.

Properties

Name Meaning
Community ID The ID of the WhatsApp community to which groups will be linked.
Group IDs Comma-separated list of WhatsApp group IDs to link to the specified community.

Output

JSON

  • linkedGroups - Details of the groups successfully linked to the community.
  • communityId - The ID of the community to which groups were linked.

Dependencies

  • Z-API service for WhatsApp interaction

Troubleshooting

  • Ensure the community ID and group IDs are valid and correctly formatted; invalid IDs will cause errors.
  • Check API credentials and permissions for the Z-API service to ensure the node can perform linking operations.
  • If the node throws errors about missing parameters, verify that both Community ID and Group IDs are provided and not empty.

Links

Discussion