This is how we used to do, however I recommend using cloud build in the future to handle these things.
the slides
I work with getting the right data into the right places, so actions can be taken from it.