StockAlert icon

StockAlert

Interact with StockAlert.pro API

Actions8

Overview

This node integrates with the StockAlert.pro API to manage webhooks related to stock alert events. Specifically, for the Webhook - Create operation, it allows users to register a webhook URL that will receive notifications when certain stock alert events occur. This is useful for automating workflows triggered by stock market conditions, such as receiving real-time alerts in your application or triggering downstream processes when an alert is created, updated, triggered, or deleted.

Practical examples:

  • Automatically notify a Slack channel or send an email when a stock alert condition is met.
  • Trigger a workflow to update a dashboard or database when a new alert is created.
  • Log alert updates or deletions for audit purposes.

Properties

Name Meaning
Webhook URL The URL endpoint where webhook notifications will be sent. Example: https://your-app.com/webhook
Events The specific alert-related events that trigger the webhook. Options include:
- Alert Triggered (when an alert condition is met)
- Alert Created (when a new alert is created)
- Alert Updated (when an alert is updated)
- Alert Deleted (when an alert is deleted)

Output

The node outputs an array of JSON objects representing the created webhook(s). Each object contains data returned from the StockAlert.pro API about the webhook, typically including its ID, URL, subscribed events, and other metadata.

No binary data output is involved in 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 service endpoints.
  • Proper network access to the StockAlert.pro API and the specified webhook URL is necessary.

Troubleshooting

  • Common issues:

    • Invalid or unreachable webhook URL: Ensure the URL is correct and publicly accessible.
    • Missing or incorrect API authentication: Verify that the API key credential is configured properly.
    • Selecting no events: At least one event must be selected to create a webhook.
  • Error messages:

    • API request failures may return errors indicating invalid parameters or authentication issues. Check the error message details and verify input values and credentials.
    • Network timeouts or connection errors suggest connectivity problems between n8n and the StockAlert.pro API or the webhook URL endpoint.

Links and References

Discussion