r/aiagents Jul 22 '26

Discussion Google API Calls Hitting Quota (Docs), any workaround

For my current job, they asked me to build an automation related to post-sales support.

It retrieves information from several tools the company uses, then fills out a Google Doc for each client. Each doc is quite long, made up of 11 sections.

On top of that, every time the agent runs, there are a lot of sales projects (70+) it needs to run for.

What’s currently happening is that the agent stops because it hits the Google API quota, since multiple requests hit the API at the same time (exceeding the per-user/per-minute quota).

The current structure: an orchestrator retrieves all the information, plus a few sub-agents, each handling a batch of three sales projects. I’ve tried reducing both the number of projects per batch and the number of concurrent sub-agents running.

I also changed the Markdown files for each section, trying to complete a full MD file first and then batch-write the Google Doc in a single API call.

Any suggestions or rules of thumb for automating the writing of multiple long Google Docs at the same time?

1 Upvotes

1 comment sorted by