Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add Webhook management #96

Open
tasonface opened this issue Jul 30, 2024 · 1 comment
Open

[Feature request] Add Webhook management #96

tasonface opened this issue Jul 30, 2024 · 1 comment

Comments

@tasonface
Copy link

It would be cool to be able to add a webhook by setting method/url/params/body/headers and on response to access some nodes by eval-ing them and be able to use them in the next timer configuration or condition.

A basic example:

WEBHOOK:
GET https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd
Response is: {"bitcoin":{"usd":65960}}

Loop

  1. WEBHOOK -> SPEAK "response.bitcoin.usd"
  2. Timer 5 minutes

Another conditional use case for price alerts:

Loop

  1. WEBHOOK -> SPEAK "WE DID IT!" -> WHEN "response.bitcoin.usd" >= 100000
  2. Timer 5 minutes
@DeweyReed
Copy link
Member

It doesn't sound very easy. Do you have some suggestions on how to achieve or use it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants