Trigger Google Home from Web

Hello!
I am trying to connect my Python script to my google home. Python script is not run locally, so a simple flask application to trigger the google home to play a song is not a solution. I’ll be running the Python script on a service which is hosted in a server (herokuapp etc). Is there any way to trigger my Google home in this case?

Example:
My Python script will be scraping weather data of a location, whenever it rains in a specific location, I need to play a song/sound in my google home.

Any help is much appreciated!
Thanks!