z-api by @jaimeflneto icon

z-api by @jaimeflneto

Interact with Z-API to send WhatsApp messages

Overview

The `ZApi` node in n8n interacts with the Z-API service to manage WhatsApp events, including retrieving webhook statuses. This functionality is beneficial for monitoring and managing webhook configurations, ensuring they are active and correctly set up to receive events from WhatsApp interactions.

Use Case Examples

  1. Monitoring the status of a webhook to confirm it is active and receiving events.
  2. Verifying webhook configurations after updates to ensure they are correctly set up.
  3. Troubleshooting webhook issues by checking their current status.

Output

JSON

  • status - Indicates the current status of the webhook, such as 'active' or 'inactive'.
  • lastChecked - Timestamp of the last time the webhook status was checked.

Dependencies

  • Z-API service credentials

Troubleshooting

  • If the webhook status is 'inactive', ensure that the webhook URL is correctly configured in the Z-API dashboard and that the Z-API service is operational.
  • If the node fails to retrieve the webhook status, verify that the Z-API credentials provided in n8n are correct and have the necessary permissions.
  • If the node encounters errors during execution, check the n8n logs for detailed error messages and consult the Z-API documentation for troubleshooting steps.

Links

Discussion