Google API Python Code script

  • 2 June 2023
  • 3 replies

Userlevel 1

Does anyone know if it’s possible to connect to Google Sheet REST API in Code by Zapier (Python)?  I’m having issues with oauth authentication...

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +14

Hi @Google Forms -> 

Good question.

Why not use this Zap action: GSheets - API Request

This will handle the GSheets authentication for you.


Userlevel 1

I can do that, but I need to loop through multiple rows on a google sheet, and I am burning up many steps in zapier...

Userlevel 7
Badge +14

@Google Forms -> 

Unsure what you are trying to do specifically within in the Code step, but some GSheet action support line items.


So in theory you could use these actions steps:

  • Action: GSheets - API Request
  • Action: Code
  • Action: GSheets - Update Row(s)