Subscriber alert should trigger script

Hello everyone,

I am trying to help out a friend with my basic programming and scripting skills.
I made a PowerShell script which does exactly what is needed if I run it myself.

Now instead of running it manually, I would like it to be executed by a subscriber alert.
So, someone subscribes to his channel, alert triggers the script.
Now the new API as far as I can tell doesn’t support a subscriber alert yet.

Can you give me a pointer in the right direction where and how to use subscriber alerts?

Thank you in advance!

Until subscription webhooks are added (which are still at the ‘exploring’ stage on the Roadmap) you will need an app that either listens to the channel subscriptions topic on pubsub, or connects to chat and listens to subscription events there, which will then execute the script you want to run.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.