StockAlert icon

StockAlert

Interact with StockAlert.pro API

Actions8

Overview

This node interacts with the StockAlert.pro API to manage stock alerts and webhooks. Specifically, for the Webhook - Delete operation, it deletes a webhook by its ID. This is useful when you want to stop receiving notifications from a previously registered webhook.

Common scenarios include:

  • Cleaning up unused or obsolete webhooks to reduce unnecessary callbacks.
  • Managing webhook lifecycle programmatically within an automation workflow.
  • Ensuring that only active and relevant webhooks remain registered in your StockAlert.pro account.

Example: You have a webhook set up to notify your system when a stock alert triggers, but you no longer need these notifications. Using this node operation, you can delete that webhook by providing its ID.

Properties

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

Output

The output is a JSON array containing a single object indicating the success of the deletion operation. It has the following structure:

{
  "success": true,
  "message": "Webhook deleted successfully"
}
  • success: A boolean confirming the webhook was deleted.
  • message: A confirmation message string.

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 service endpoints.
  • No additional environment variables are needed beyond the API authentication setup.

Troubleshooting

  • Invalid Webhook ID: If the provided webhook ID does not exist or is malformed, the API may return an error. Verify the webhook ID is correct.
  • Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to delete webhooks.
  • Network Issues: Connectivity problems can cause request failures. Check network access to the StockAlert.pro API endpoint.
  • Continue on Fail: If enabled, errors will be returned as part of the output instead of stopping execution, allowing partial processing of multiple inputs.

Links and References

Discussion