You can automate this using Bambuser Webhooks and through your backend via API.
You will need a signed resource URI which you can find here.
More examples on running custom code when broadcasting can be found here using:
Google Cloud Functions
Bambuser AB (publ)
111 51 Stockholm
Registration Number: 5567313126