How to trigger phython script in Google Cloud Functions using a HTTP request in Make

Hi! I would like to have an http request sent to a Google Cloud Function to trigger a python script. In the url for the request I have query parameters that will be used in the python script.

I’ve tried following the documentation here but I get a 401 Unauthroized error. I found this documentation in Google and have tried following it but don’t really understand what I need to do and how to do it via Make. (I am not a developer and basically need to follow step by step instructions to figure out how to do things.) There aren’t many online tutorials and the ones I have found, don’t cover the authentication piece (like this one) which is where I seem to be getting hung up.

Any help is greatly appreciated!

1 Like

Maybe you need to allow invoke the function to AllUsers, please check this links:

If that worked for you let me know

2 Likes

Thanks! I would like to restrict access instead of allowing AllUsers to invoke and I tried following the Authorize access with IAM but I must be doing something wrong.

I’ve tried using the api too.

I think I might know where I am getting stuck. What would the Service Account Email for Make be? Whatever email address is being used in the http request I think is what I need to give permission for. I’ve tried using the email address associated with my Make account and that didn’t work.

I don’t think so, could be the Invoke method.