Skip to main content

GFormBot illustrated cover with a terminal and branching form cards

Generate synthetic responses for your Google Form.

Give GFormBot a form link, a response count, and a short description of the answers you want. It generates fictional responses with AI and submits the batch to your form.

Install and run →   ·   Quick submit   ·   Supported forms

Install and run

You’ll need Python 3.10 or newer, an internet connection, and a public Google Form you own or have permission to use. Open Terminal or PowerShell and run:

python -m pip install --upgrade gformbot
python -m gformbot

Use python3 on macOS or Linux, or py on Windows, if that’s how you normally run Python. Use the same interpreter for both lines. You can also run gformbot directly when the launcher is on your PATH.

Quick submit

Want to submit a bunch of responses quickly?

  1. Select Quick submit with the arrow keys and Enter.
  2. Paste the link a respondent would open. Both forms.gle and full responder links work.
  3. Enter the response count and any instructions. For answers that depend on media, add observations using the numbers in the question table, for example Q12: The arrow points left; Q13: The card reads ABC-123. You can also pick a guide CSV.
  4. GFormBot generates and checks the full batch, then submits automatically. If it needs more answers or manual review, it saves your work under Continue batches.

Quick submit example with a form link, five fictional event registrations, and no guide CSV.

Prefer one command? Replace YOUR_RESPONDER_URL with your form link.

python -m gformbot generate "YOUR_RESPONDER_URL" -n 5 -m "Vary the fictional signups."

Read the form, choose answers, validate the batch, and submit over HTTPS.

Choose Start a new form to see the form introduction and questions before choosing where the answers come from. In Review or edit responses, move between responses and choose Save and finish to save your edits together.

Choose your answer source

In the wizard Reach for it when… What happens
Generate answers with AI You want a spread of fictional profiles, including written answers. Uses the form’s questions and rules, your instructions, and an optional guide CSV. Larger forms are handled in groups, with related answers carried forward.
Use my own answers You have a CSV or want to make one with your own AI tool. Optionally copy a prompt tailored to the form, then choose a CSV. Read rows in order, shuffle them, or sample with repeats.
Pick answers randomly You want a mix of answers for choice-heavy forms. Samples eligible choices. Use equal chances, patterns from a guide CSV, or weights you set. AI can fill remaining written and date fields if needed.

--data uses your supplied answers. --like uses a CSV as a guide for generating new answers. Scripted CSV imports read complete rows in order, so values from different people stay together. Choose Start a new form if you want to review the prepared batch before sending it.

CSV and JSON formats
  • Use question titles, Q1 / Q2 numbers, or Google’s entry.ID field names as headers. Keep each header unique and use the exact labels for choice values.
  • For grids, identify the individual rows by their entry IDs or by exported headers such as Availability [Monday].
  • When a checkbox choice contains a comma, use a JSON array inside the CSV cell. For example, "[""Tea, iced"",""Water""]" selects two choices.
  • For an explicit Other answer, use a JSON object such as {"choices":[],"other":"Something else"} for a single-choice question. Checkbox questions can also include selected labels in choices.
  • Use YYYY-MM-DD for dates or MM-DD when the form excludes the year. Append HH:MM when it asks for a time. For standalone time or duration, use HH:MM or HH:MM:SS, respectively.
  • For ambiguous dates exported by Google, select the date order in the wizard or pass --date-order mdy or --date-order dmy.
  • A saved JSON plan belongs to the form it was prepared for. If the form changes, create a new plan. Export a CSV when you want a spreadsheet-friendly copy.

Supported forms

GFormBot works with public Google Forms that accept anonymous responses. It follows section routing for each answer set, including skipped sections and early submission. It checks the questions on that route and stops if the route is unclear or loops.

Area Supported
Written answers Short text, paragraphs, typed email, numbers, character limits, and supported validation rules
Choice answers Multiple choice, dropdowns, checkboxes, explicit Other, linear scales, and icon ratings
Structured answers Multiple-choice and checkbox grids, dates, clock times, and durations
Form structure Sections, routing, instructions, and confirmation messages

The form must be open to responses without Google sign-in. Account-verified email, one-response-per-account settings, and file uploads are unsupported. Unknown controls or rules can prevent a route from running. Images and videos appear during inspection for you to review. If they matter to an AI answer, add observations in Extra instructions using the question numbers, such as Q12: The arrow points left.

Media links appear in the terminal as they’re found. Click Open image or Open video in a terminal with mouse support. Choose Show media links to copy the direct URLs. Continuing to generation or leaving the form cancels discovery.

Resume a batch or find its results

What you see What to do
Ready to submit Open the plan from Continue batches to review, export, or send it.
Submission interrupted Open Continue batches and choose the batch by its progress and date. Confirmed responses are skipped.
A response needs checking Look in Google Forms or the linked sheet before choosing whether to retry. A lost connection can leave the result uncertain.
AI generation or quality review interrupted Open Continue batches to reuse saved work. If the wizard offers Continue this batch, you can also resume right there.
Looking for a receipt or instructions? Open More options → View recent activity from the folder you ran the batch in, or use log --followups.

GFormBot tracks submission outcomes in a local journal. Keep the original plan and journal when resuming. Files supplied as input and plans made with prepare are preserved. Temporary plans created for submission can be cleaned up after Google confirms the entire batch.

If an AI draft needs an additional media observation, save it in a JSON file such as {"evidence":{"Q12":"The arrow points left"}} and run gformbot prepare --resume DRAFT.json --quality POLICY.json with your actual file paths. You can review and submit the resulting plan from Continue batches.

Command guide

Run these after python -m gformbot or gformbot. Add --help after a command to see its full usage.

Command What it does
prepare "URL" -n 5 -m "Use fictional attendees" Generate and save five answers for review.
prepare "URL" --data answers.csv -n 2 Save two validated CSV rows without sending.
prepare --resume "DRAFT.json" Continue a saved AI draft using its original form link.
preview [PLAN.json] Open a saved plan in the default app. Omit the path to choose from unfinished plans.
generate "URL" --data "PLAN.json" Submit the plan’s remaining responses.
generate "URL" --like guide.csv -n 3 Generate and submit three responses guided by a CSV.
doctor --check Check the local setup and output folder.
log --last 10 Show recent outcomes. Use --details for full answers or --followups for directions and links.
config --show / config --edit Read or edit the saved form settings.
--version Show the installed version.

-n accepts 1–500. Without it, the command uses a matching saved count or defaults to one. A saved plan already has an exact count. For AI generation, --quality POLICY.json lets you set exact answers, allowed values, or rules for linked fields. For example, {"fields":{"Q2":{"email_domain":"example.com","name_from":1}}} derives the email in Q2 from the name in Q1 and uses a reserved test domain.

Troubleshooting

  • The terminal can’t find gformbot. Run python -m gformbot with the same Python you used to install it.
  • The file picker doesn’t open. Paste the CSV path into the wizard. The picker itself needs Tk and a desktop session.
  • Google asks you to sign in. Check the form’s publishing and access settings. The form must accept anonymous responses.
  • A CSV answer was rejected. Check the row and field in the error, then match the form’s option labels or date format exactly.
  • AI generation is unavailable. The guest service can limit or deny access. Reopen the saved draft when it’s available or prepare answers from a CSV.
  • Need to go back in the wizard? Press Backspace twice. In a text field, clear it first.

Data and privacy

Inspection and submission talk directly to Google over HTTPS. The visual response editor runs locally and opens in your default browser. AI mode uses ChatGPT’s unofficial guest service and can send form text, instructions, and guide examples. CSV and saved-plan workflows can run without AI.

Plans, drafts, activity logs, and the submission journal are local files and may contain answers or form details. Keep those files private and label synthetic responses when sharing results or combining them with real submissions.

Run from source or contribute

Clone or download the repository, then open a terminal in the folder containing pyproject.toml. To try the checkout, run python -m pip install .. For development, install ".[dev]" instead and run python -m pytest -q. The contribution guide explains the project’s checks and review process.

PyPI · Changelog · Contributing · Issues · Security

Apache 2.0 license and MIT notice for the ChatGPT protocol adaptation.

Metadata

Release files for gformbot 0.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gformbot 0.4.4
File Size Uploaded Provenance Actions
gformbot-0.4.4.tar.gz 158.6 kB Without provenance Details for gformbot-0.4.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gformbot 0.4.4
File Interpreter ABI Platform Actions
gformbot-0.4.4-py3-none-any.whl Python 3 none any Details for gformbot-0.4.4-py3-none-any.whl

Total release size: 326.2 kB

Release files / gformbot-0.4.4.tar.gz

Download URL gformbot-0.4.4.tar.gz
Size 158.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9ac3158340ee11f477e60a8e994ec432c3e3a8ea88eb4848d700b93c9587a321
BLAKE2b-256 checksum
How to use checksums
99e31c3d3f2ab0824be2b3336b13bc7b5aa6579f9a55df055abd0806085581e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / gformbot-0.4.4-py3-none-any.whl

Download URL gformbot-0.4.4-py3-none-any.whl
Size 167.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31e406bdc5e6fe48bfeef4049db6d03f25175e90672c8c4c47080acd3bb1e469
BLAKE2b-256 checksum
How to use checksums
1317c04c1614bdb17e257184ca72fc5636f94b6da644505809d713268d73d7f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for gformbot 0.4.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page