Actions148
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
Overview
This node interacts with the SparkBot WhatsApp API, providing various operations grouped by resource types. Specifically for the Webhooks resource and the Get Webhook operation, it allows users to retrieve details about a specific webhook by its ID. This is useful in scenarios where you need to inspect or manage existing webhooks configured in your SparkBot WhatsApp integration.
Practical examples include:
- Fetching webhook configuration details to verify URL endpoints or event subscriptions.
- Debugging webhook issues by retrieving current webhook settings.
- Automating management tasks that require reading webhook data before updating or deleting them.
Properties
| Name | Meaning |
|---|---|
| Webhook ID | The unique identifier of the webhook to retrieve. This is required to specify which webhook's details should be fetched. |
Output
The node outputs JSON data representing the webhook's details as returned by the SparkBot WhatsApp API. This typically includes information such as the webhook's ID, URL, subscribed events, status, and other metadata related to the webhook configuration.
If the node supports binary data output (not indicated here), it would represent any files or attachments related to the webhook, but this is not applicable for the Get Webhook operation.
Dependencies
- Requires an API key credential for authenticating with the SparkBot WhatsApp API.
- Needs network access to the SparkBot API endpoints.
- No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
Common Issues:
- Providing an invalid or empty Webhook ID will likely result in an error from the API indicating the webhook was not found.
- Network connectivity problems can cause request failures.
- Insufficient permissions or incorrect API key may lead to authorization errors.
Error Messages:
"Webhook not found": Verify the Webhook ID is correct and exists."Unauthorized"or"Invalid API key": Check that the API key credential is valid and has necessary permissions.- Timeout or network errors: Ensure the node can reach the SparkBot API endpoint.
Resolving these usually involves verifying input parameters, checking credentials, and ensuring stable network connectivity.
Links and References
- SparkBot WhatsApp API Documentation (general reference for API capabilities)
- n8n documentation on Creating Custom Nodes