Quepasa (Whatsapp) icon

Quepasa (Whatsapp)

Non Official Whatsapp API

Actions10

Overview

The Quepasa (Whatsapp) node's "Webhook" resource with the "Clear" operation is designed to interact with a non-official WhatsApp API, specifically to clear or reset webhook configurations. This can be useful in scenarios where you need to remove existing webhook endpoints from your WhatsApp bot integration, such as when reconfiguring endpoints, troubleshooting webhook delivery issues, or cleaning up unused webhooks.

Practical examples:

  • Resetting all webhook URLs before setting new ones.
  • Removing webhook configurations during bot decommissioning.
  • Clearing webhooks as part of an automated deployment or migration process.

Properties

Name Type Meaning
Authentication options Selects how to provide credentials: either manually via parameters or using predefined credentials.
BaseUrl string The base URL of the Quepasa API. Required if using manual parameter authentication.
Token string The token for the WhatsApp bot. Required if using manual parameter authentication.

Note: Only the properties relevant to authentication are required for this operation; other fields may exist but are not necessary for "Webhook - Clear".

Output

The output will be a JSON object (or array of objects) representing the result of the webhook clearing operation. Typical fields may include:

  • success (boolean): Indicates whether the webhook was cleared successfully.
  • message (string): Additional information or status message from the API.
  • error (string, optional): If the operation fails, an error message may be present.

Example output:

[
  {
    "success": true,
    "message": "Webhook cleared successfully"
  }
]

Or, in case of error:

[
  {
    "error": "Invalid token or insufficient permissions"
  }
]

Dependencies

  • External Service: Requires access to the Quepasa (WhatsApp) API endpoint.
  • API Credentials: Either a manually provided BaseUrl and Token, or a predefined credential set in n8n.
  • n8n Configuration: If using predefined credentials, ensure the corresponding credential type (quepasaTokenAuthApi) is configured in n8n.

Troubleshooting

Common Issues:

  • Authentication errors: Invalid or missing token, incorrect BaseUrl, or misconfigured credentials.
  • Network errors: Inability to reach the Quepasa API endpoint due to network/firewall issues.
  • Insufficient permissions: The provided token does not have rights to clear webhooks.

Error Messages & Resolutions:

  • "Authentication failed": Check that the token and BaseUrl are correct and active.
  • "Webhook not found": There may be no webhook configured to clear.
  • "Invalid token or insufficient permissions": Ensure the token has the necessary permissions.

Links and References

Discussion