SparkBot icon

SparkBot

Interact with SparkBot WhatsApp API

Actions148

Overview

This node interacts with the SparkBot WhatsApp API, providing various operations grouped by resource types. Specifically, for the Webhooks resource and the Delete Webhook operation, it allows users to delete an existing webhook by specifying its unique ID. This is useful for managing webhook subscriptions, cleaning up unused or obsolete webhooks, and maintaining control over event notifications from the SparkBot service.

Practical examples include:

  • Removing a webhook that is no longer needed after a project ends.
  • Deleting incorrectly configured webhooks to prevent unwanted callbacks.
  • Managing webhook lifecycle programmatically within automation workflows.

Properties

Name Meaning
Webhook ID The unique identifier of the webhook to delete.

Output

The node outputs a JSON object representing the result of the delete operation. Typically, this will confirm whether the webhook was successfully deleted or provide error details if the deletion failed.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the SparkBot WhatsApp API.
  • The node depends on the SparkBot API being accessible and the provided webhook ID being valid.
  • No additional environment variables are explicitly required beyond the API key credential.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent webhook ID will cause the operation to fail.
    • Network connectivity problems can prevent successful API calls.
    • Insufficient permissions associated with the API key may block webhook deletion.
  • Error messages:

    • Errors indicating "webhook not found" suggest the webhook ID does not exist or has already been deleted.
    • Authentication errors imply issues with the API key credential; verify the key is correct and active.
    • Timeout or network errors require checking internet connectivity and API endpoint availability.

To resolve these issues:

  • Double-check the webhook ID input.
  • Ensure the API key credential is correctly configured and has necessary permissions.
  • Verify network access to the SparkBot API endpoints.

Links and References

Discussion