Programmatic Form Filling
Learn what programmatic form filling really means, the four routes that work on Google Forms, and which one actually fills a form you don't own.

"Programmatic form filling" means getting code — a prefilled URL, a script, an API call or an automation framework — to put answers into form fields instead of a person typing or clicking. On Google Forms the practical routes are prefill links, Google Apps Script, headless browser automation, and on-page browser extensions. For forms you don't own, an extension that reads the visible questions is the realistic option.
Programmatic form filling is worth learning properly, because the route you pick decides whether the job takes two minutes or two hours. And most people pick the wrong one — usually because they try to script a form they don't own.
Add Zipifil to Chrome — 3 fills a day free and it fills the whole form for you, including dropdowns and checkboxes.
What does programmatic form filling actually mean?
It means any method where code puts answers into form fields instead of a person typing or clicking. That covers four quite different things, and people use the same phrase for all of them:
- A prefilled link with answers baked into the URL.
- A script running inside Google's own tooling (Apps Script).
- A browser automation framework driving the page (Selenium, Playwright).
- A browser extension that fills the page you're looking at.
They differ in one crucial way: who owns the form. The first two need you to control the form. The last one works on a form someone else sent you.
Do you own the form? Answer this before anything else
If yes, the cheap routes are open to you. If no, most of them close.
This is the fork in the road. A form you created in your own Google account can be prefilled, scripted and read through Google's APIs. A form a client, a supplier or a recruiter sent you cannot — you don't have its edit link, and you can't reliably read its entry. IDs.
| You own the form | You received the form |
|---|---|
| Prefill links work | Prefill links don't apply |
| Apps Script can submit | No script access |
| REST API can edit the form | Read-only page |
| Automation is straightforward | Extension is the practical route |
So the honest answer to "how do I do programmatic form filling" depends entirely on that first question. Let's take the routes in order.
How do Google Forms prefill links work?
You build a URL where each entry. ID maps to one field, and opening it pre-types those answers.
The URL looks like …/viewform?usp=pp_url&entry.798192315=Foo1&entry.798192331=Foo2, according to a Stack Overflow revision (2025-02-23). You generate it from the form's "Get pre-filled link" menu by entering sample values, then copy the URL.
- Open the form in edit mode and choose "Get pre-filled link".
- Type sample values into each field you want to prefill.
- Copy the generated URL — it now contains the
entry.IDs. - Map each ID to a column of your data, then swap the sample values for real ones.
Two things go wrong constantly. First, the entry. IDs must be exact — a Google Help thread (2024-04-06) traces missing pre-filled values to incorrect IDs and formula-substitution mistakes in Sheets. Second, question IDs are not entry IDs: a Google Help thread (2025-01-27) reports a user getting "wrong question ids" from item.getId() and having to map them separately.
Can Google Apps Script submit a Google Form for me?
Yes — FormResponse can submit answers programmatically, and it's Google's own blessed route for it.
Per Google for Developers (page snapshot 2026-04-12), FormResponse works three ways: reading a respondent's submitted answers with getItemResponses(), submitting answers with withItemResponse(response) then submit(), and generating a prefill URL from a given response with toPrefilledUrl().
- Open the form's script editor from the form itself.
- Build a response with
withItemResponse(...)for each item. - Call
submit()— and handle the exception it throws if the response was already submitted. - Authorise the script with Forms scopes such as
forms.currentonly.
Two gotchas from the same docs: submit() throws a scripting exception if the response has already been submitted, and a script-created response that hasn't been submitted yet returns null for its timestamp.
What about the official Google Forms API?
Google's REST Forms API reads and writes Google Forms and responses, but it cannot submit responses. Google's own comparison guide (Google for Developers, date not given) says the REST API doesn't support submitting responses or including detailed form or response data, and points to Apps Script's Forms Service for what the REST API doesn't cover. The same guide notes that forms created with the API after June 30, 2026 start in an unpublished state by default.
So if someone tells you to "just use the Forms API" to submit answers, they're describing something the API doesn't do.
How do Selenium and Playwright fit in?
They drive a real browser: navigate to the form, fill each field, click submit.
Playwright's fill, selectOption, check/uncheck and click actions cover the field types, as a Scrapeless walkthrough (vendor blog, 2026-08-09) shows on a public test form. A Playwright-based Apify runner (2026-09-05) declares the same pattern as no-code JSON actions — navigate, fill, select, click, assert, screenshot — so non-coders can run the workflow.
- Navigate to the form URL.
- Fill text fields with
fill. - Select dropdown options with
selectOption. - Tick checkboxes with
check. - Click submit.
Two practical warnings. First, you write and maintain selectors for every form — change the form and the script breaks. Second, browser UI actions are generally serialised to the main thread, so filling several fields from separate threads doesn't run in parallel; a Volcengine post (vendor blog, 2026-09-23) recommends the async API with await per field instead.
What works on a Google Form you don't own?
A browser extension that reads the visible question text and fills the page — that's the one route left.
You can't prefill a form you didn't create, you can't run Apps Script against it, and scripting it means maintaining selectors against a page that may change. What you can do is install something that reads the questions as a human would and types the answers.
Extensions work through content scripts, which can both read and modify the page to find fields and write values, as Bitwarden's contributing docs explain. One AI-filler project (GitHub, 2025-10-15) says it detects forms on any page "including HubSpot forms and iframes" using seven label-detection methods.
That's the mechanism. The question is which extension handles Google Forms' dropdowns, checkboxes and multi-page flow without leaving fields empty.
Which tool fills a Google Form you received?
Of the tools we compared, Zipifil is our pick for forms you don't own — it reads the page and fills the whole form, dropdowns and checkboxes included.
Zipifil is a Chrome extension that uses AI to fill web forms — text boxes, dropdowns, checkboxes, radio buttons, date pickers and multi-step wizards. It works on tricky forms other fillers give up on, such as locked portals, iframes and custom dropdowns, and the owner confirms it works on all Google Forms and moves from one page to the next. It works best in English; for other languages you can ask support.
Free forever gives you 3 AI form fills every day, no credit card. The unlimited plan is $9.99 per month as of November 2026, and prices can change.
Zipifil is made by the team behind this blog.
| Option | Best for | Key features | Price (as of Nov 2026) | Watch-outs |
|---|---|---|---|---|
| Zipifil (Our pick) | Forms you don't own, especially Google Forms | Fills every field type; per-URL rules; PDF/image upload | Free: 3 fills/day; $9.99/mo unlimited | Works best in English |
| Prefill links | Forms you own, same data every time | entry. ID URLs; free | Free | Needs exact IDs; still needs opening |
Apps Script FormResponse | Scripted submission of your own forms | submit(); prefill URL generation | Free (part of Workspace) | Needs scopes; throws if already submitted |
| Selenium / Playwright | Bulk runs and CI on forms you own | fill, selectOption, check, click | Free, open source | You maintain selectors per form |
| Saved Q&A extensions | Same answers on the same forms | Question-text matching; Chrome sync storage | Free | You build the answer list; no AI |
If you mainly need unattended bulk submissions of forms you own, Apps Script or Playwright is the more direct choice. If you need a form someone sent you filled today, the extension is the one that works.
Add Zipifil to Chrome — 3 fills a day free, or read more on how to automatically fill a Google Form with AI.
What are the most common mistakes?
Most failures come down to four things, and all four are avoidable.
- Using question IDs as entry IDs. They aren't the same, and scripts silently produce wrong answers.
- Trying to script a form you don't own. The IDs aren't reliably visible, and it's the case responsible tools refuse.
- Forgetting option labels must match exactly. A dropdown value that's one character off won't select.
- Assuming browser autofill counts. It fills basic fields and leaves the rest of a Google Form blank.
How do you make the whole thing repeatable?
Teach the tool your rules once, and every future fill follows them.
Zipifil lets you set URL-specific rules once — format phone numbers, skip a field — and remembers them. You can also add custom AI instructions per page to manipulate, skip or format fields, and highlight text on a page, right-click and map it to a form field in two clicks.
Say you run a bakery and every supplier sends the same Google Form for a weekly order. You map the fields once, set a rule to skip the "how did you hear about us" question, and the next forty submissions take seconds each.
The best programmatic form filling is the kind you set up once and never think about again.
Sources
- Class FormResponse (Google for Developers, snapshot 2026-04-12)
- Compare REST API with Forms Service (Google for Developers)
- Google Forms API reference (Google for Developers)
- gform — Google Forms MCP Server (PyPI, 2026-06-10)
- Chrome autofill help (Google Chrome Help)
- Stack Overflow revision on prefill links (2025-02-23)
- Pre-filled Google Form Link will not display all pre-filled values (Google Help thread, 2024-04-06)
- Wrong questions ids (Google Help thread, 2025-01-27)
- Playwright Browser Automation Runner (Apify, 2026-09-05)
- Scrapeless form validation walkthrough (vendor blog, 2026-08-09)
- Selenium async form filling (Volcengine, vendor blog, 2026-09-23)
- Bitwarden contributing docs: Browser Autofill
- dw-chromegpt AI Form Filler (GitHub, 2025-10-15)
- QuickForm blog on autofilling Google Forms (vendor blog, 2026-06-09)
Frequently asked questions
No. The REST Forms API reads and writes forms and responses but cannot submit them, per Google's own comparison guide. Apps Script's FormResponse.submit() is Google's submit route.
Usually wrong entry. IDs or wrong option labels. A Google Help thread (2024-04-06) traces it to incorrect IDs and formula-substitution mistakes in Sheets.
Tools exist, but every responsible source restricts them to forms you own. A published Google Forms MCP package (PyPI, 2026-06-10) states that fabricating responses to someone else's live survey is survey fraud and violates Google's terms.
No. It fills fields from saved info and needs you signed in, per Google Chrome Help. On Google Forms it tends to fill name and email and leave the rest blank.
Of the tools we compared, Zipifil is our pick: it fills the whole form including dropdowns and checkboxes, and starts free with 3 fills a day. If you own the form and need unattended bulk runs, Apps Script or Playwright is the more direct choice.




