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

Add a webhook handler for RECAP alerts #442

Open
mlissner opened this issue Dec 15, 2023 · 1 comment
Open

Add a webhook handler for RECAP alerts #442

mlissner opened this issue Dec 15, 2023 · 1 comment

Comments

@mlissner
Copy link
Member

Soon, RECAP will have alerts which send webhook events: freelawproject/courtlistener#612

When that is live, we should set up a webhook handler in the bot that catches those events and then automatically subscribes to related cases.

For example, today Rudy Giuliani was made to pay $148M to election workers. He'll be filing for bankruptcy soon. What if I could create an alert for that bankruptcy today, before he files it, and then when that alert triggers in a few months, we just automatically subscribe to it.

Sounds pretty neat to me.

@mlissner
Copy link
Member Author

mlissner commented Dec 15, 2023

I think this will have to work by my inclusion of a magic word in the description of the alert. Like, maybe I have to name the alert bigcases-autosubscribe so that the bot know what to do when the event lands. Hmmmmmm....

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

1 participant