Overview
This node integrates with the StockAlert.pro API to manage webhooks related to stock alerts. Specifically, for the Webhook - Get Many operation, it retrieves a list of all configured webhooks from the StockAlert.pro service.
Common scenarios where this node is beneficial include:
- Auditing or reviewing all active webhook subscriptions.
- Synchronizing webhook configurations between StockAlert.pro and other systems.
- Automating monitoring or management workflows that depend on existing webhook setups.
For example, a user might want to fetch all webhooks to display them in a dashboard or to verify which URLs are currently receiving alert notifications.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all webhook results or only up to a default limit (true/false). |
Output
The output is an array of JSON objects representing individual webhooks retrieved from the StockAlert.pro API. Each object typically contains details such as the webhook's unique ID, subscribed events, and the URL receiving notifications.
Example structure of each webhook item (fields may vary):
{
"id": "string",
"url": "https://your-app.com/webhook",
"events": [
"alert.triggered",
"alert.created"
],
"created_at": "timestamp",
...
}
No binary data is output by this operation.
Dependencies
- Requires an API key credential for authenticating with the StockAlert.pro API.
- The node uses HTTP requests to communicate with the StockAlert.pro endpoints.
- No additional environment variables are explicitly required beyond the API authentication.
Troubleshooting
Common issues:
- Authentication failures due to invalid or missing API keys.
- Network connectivity problems preventing access to the StockAlert.pro API.
- Receiving empty results if no webhooks are configured in the account.
Error messages:
- Errors returned from the API will be surfaced, e.g., unauthorized access or rate limiting.
- If the node is set to continue on failure, errors will appear in the output as error messages per item.
Resolutions:
- Verify that the API key credential is correctly configured and has necessary permissions.
- Check network connectivity and firewall settings.
- Ensure that webhooks exist in the StockAlert.pro account before attempting to retrieve them.
Links and References
- StockAlert.pro API Documentation (hypothetical link)
- n8n Webhook Node Concepts: https://docs.n8n.io/nodes/n8n-nodes-base.webhook/