How to Create a Survey in Google Form Survey with ChatGPT in 10 Steps
ChatGPT can write 20 thoughtful survey questions in 30 seconds. It can also write a job application form, a customer feedback form, a market research survey, or a product launch questionnaire from the same kind of prompt.
Google Forms can't generate any of these natively, but it accepts a Google Apps Script that wires AI-generated questions into a real, working form. The bridge between the two to get ChatGPT to output the Apps Script — is what most people get wrong.
This guide covers the full 10-step flow with screenshots, a video, and a working Apps Script example you can paste straight into your Apps Script editor.
It also names the common ChatGPT mistakes and shows where Formester's AI form generator and AI survey generator skip the ChatGPT-then-Apps-Script juggle entirely, paste a topic, get a finished form, no script, no copy-paste.
Watch the full ChatGPT-to-Google Forms flow
The 10 steps below, end to end. From the first prompt to a working form in your Drive.
Prefer to read? The 10-step guide is below. Want to skip the script entirely? Try the AI form generator.
Step 1: Log in to ChatGPT or Gemini
Open ChatGPT or Gemini. Free tier works for the basic prompts; paid tiers handle longer scripts more reliably.
If you don't want to spend the next 10 steps copy-pasting, skip ahead to Formester's AI form generator which builds the entire survey from a prompt in one step.
Step 2: Generate Survey Questions Using AI
Use a prompt that names: the form type, the topic, the audience, the question count, the question types, and the goal. Generic prompts give generic questions. Specific prompts give usable ones.
The "form type" framing matters: ChatGPT writes a feedback form differently from a job application form differently from a market research survey. Tell it which one upfront.
Example prompts (copy-paste any):
Create a feedback form for a product launch. Audience: early-access users.
Include 8 questions covering first impressions, feature requests, and likelihood to recommend.
Mix multiple choice and short answer. Avoid leading questions.
Make a job application form for a small business hiring a marketing lead.
Include 12 questions covering experience, portfolio links, availability, and salary expectations.
Use short answer for free-text fields and dropdowns for ranges.
Generate 15 customer feedback survey questions for a SaaS dashboard product.
Audience: existing paying customers.
Question types: mix of multiple choice (5), linear scale 1-10 (5), short answer (3), yes/no (2).
Include 1 NPS question. Avoid leading questions.
Output as a numbered list with the question type in brackets.
What ChatGPT returns: a numbered list with question types specified, ready to paste into Step 4's Apps Script prompt.
Step 3: Add Custom Content (Optional)
Iterate the prompt. Add brand voice ("use friendly, casual tone"), add constraints ("max 8 words per question"), add must-include topics ("question 5 must ask about onboarding speed").
This is the slowest step. For repeat surveys, save a "base prompt template" you can re-use and only swap the topic.
Step 4: Ask AI to Create a Google Form Script
Send a second prompt asking ChatGPT to turn the question list into Google Apps Script:
Take the 15 questions above and write a Google Apps Script that creates
a Google Form with these questions. Include the right question types
(multiple choice as MULTIPLE_CHOICE, linear scale as SCALE, etc.).
Add an explanatory comment above each block. Output only the code,
no surrounding prose.
What ChatGPT returns: a function createForm() { ... } block with FormApp.create() and addMultipleChoiceItem() calls.
Common ChatGPT errors at this step:
- Wrong question type method (
addRadioItem()instead ofaddMultipleChoiceItem()). - Missing scale low/high labels on linear scales.
- Hallucinated
setRequired(true)syntax (works as a method on the question, not as a setting). - Wrong API for adding sections (
addPageBreak()is right; ChatGPT sometimes inventsaddSection()).
If the script throws an error in Apps Script Editor, paste the error back to ChatGPT and ask for the fix. Usually one round of correction gets it working.
Step 5: Open Google Apps Script
Now, head over to Google Apps Script:
Go to your Google Drive
Click New → More → Google Apps Script
You’ll now see a blank code editor.
Step 6: Paste the Script Inside the editor:
Paste ChatGPT's full script into the editor. Save (Cmd/Ctrl+S). Name the project.
Working example to expect (a minimal form with two questions):
function createForm() {
var form = FormApp.create('Product Feedback Form');
form.addTextItem()
.setTitle('What did you like most about the product?');
form.addMultipleChoiceItem()
.setTitle('Would you recommend this product to others?')
.setChoiceValues(['Yes', 'No']);
form.addScaleItem()
.setTitle('How likely are you to use this product again?')
.setBounds(1, 10)
.setLabels('Not likely', 'Very likely');
}
A real survey with 15 questions will be longer but follows the same pattern. If ChatGPT's script doesn't include setBounds() on scale items or setChoiceValues() on multiple choice, that's the most common bug — paste the error back to ChatGPT in Step 7.
Step 7: Run the Script
Click the Run button (▶). First run prompts for Google account authorization (the script creates files on your Google Drive). Approve.
If the script throws an error, copy the error from the bottom panel, paste back to ChatGPT, ask for a fix.
Step 8: Open and Edit the Form
The script creates a new Google Form in your Drive. Open it. Verify the questions are correct, the types are right, and the required-ness matches what you asked for.
Common cleanup tasks:
Reorder questions if ChatGPT got the sequence wrong
Fix one or two typos
Add a header image (Apps Script doesn't add this; you do it in the Forms editor)
Set up section breaks if your survey needs them
Configure settings the script can't reach. Click the gear icon top-right and decide: can respondents edit responses after submitting? Should they get a confirmation message? Do they need to sign in (this is how Google Forms enforces one-response-per-person)? These four settings are not script-controllable; they're set in the form UI.
If you find yourself doing more than 5 minutes of cleanup, it's faster to use Formester's AI form generator directly — paste your topic, get a finished editable form, no script, no cleanup.
Step 9: Share Your Survey
Hit "Send" top-right. Pick:
Email — Google sends directly. Tracks opens via Google.
Link — Paste in Slack, Teams, WhatsApp, email signature, anywhere.
Embed — Iframe HTML for your website.
For tracking who responded across multiple channels (campaign attribution), use UTM parameters on the link or switch to Formester's response analytics which ships native source tracking
Step 10: Collect and Review Responses
Click the "Responses" tab in your form. Three views: Summary (charts), Question (one Q at a time), Individual (one respondent at a time). Link to a Google Sheet (green Sheets icon) for analysis.
See how to view responses in Google Forms for the full response-management guide.
Want to Do It Even Faster? Try Formester
If you don’t want to deal with scripts, editors, or setup steps, Formester makes survey creation even easier.
Here’s how: Go to Formester’s AI Survey Generator.
Enter a simple prompt like: “Create a survey for customer onboarding experience”
The AI instantly creates a full survey
You can then:
Customize the questions
Edit the design
Add logic rules and branding
Publish your survey with one click
No coding. No copy-pasting. No switching between tools. Just type, tweak, and launch. Perfect for marketers, founders, or anyone who wants surveys done right and fast.
ChatGPT plus Apps Script, custom GPT, or Formester AI. Which fits your survey?
Three workflows produce a working AI-generated survey. They differ on setup time, where the form lives, and what you control after launch.
| Dimension | ChatGPT + Apps Script | Custom GPT (marketplace) | Formester AI |
|---|---|---|---|
| Setup time | 10 to 20 minutes (this guide) | 2 to 5 minutes | Under a minute |
| Steps to working form | Prompt, script, paste, run, edit | Paste topic, copy output, build in Forms | Prompt to form, one step |
| Where the form lives | Google Forms (via script) | Google Forms (via marketplace) | Formester, hosted natively |
| Inputs supported | Prompt only | Prompt only | Prompt, question list, or PDF |
| Editing the AI output | Manual cleanup in Forms | Manual cleanup in Forms | Inline visual editor |
| Question-type accuracy | Depends on prompt; often needs error fix round | Higher (tuned for Forms) | Native, no script |
| Branding | Google’s default | Google’s default | Full branding kit |
| Response analytics | Google Forms summary + Sheets | Google Forms summary + Sheets | Native source tracking |
| Cost | Free (ChatGPT free tier works) | Free | Free tier, paid plans for advanced features |
| When to pick it | You’re already in Google Workspace and need the form there | One-off survey, fastest path inside Forms | Repeat surveys, brand-controlled, hosted analytics |
One-off survey on the Google Workspace stack? ChatGPT plus Apps Script gets you there in 15 minutes. Need brand-controlled forms with native analytics and no script juggling? Formester AI builds the same survey in under a minute, hosted on your domain.
Final Thoughts
Creating a smart, effective survey doesn’t have to be hard or time-consuming. With tools like ChatGPT or Gemini, you can write questions and generate a working Google Form in minutes.
And if you want to skip all the technical steps and launch even faster, Formester is built for you.
Try both methods and see what works best for your needs. Whether you’re doing customer research, product feedback, or employee check-ins, surveys help you listen, learn, and grow.
Start building your survey today. Your insights are just a few clicks away.
ChatGPT + Google Forms FAQ
The questions people ask right after they finish the 10 steps.
Can ChatGPT directly create a Google Form?
Is ChatGPT or Gemini better for Google Forms survey generation?
Why does ChatGPT’s Apps Script throw errors when I run it?
addRadioItem() instead of addMultipleChoiceItem()), missing setBounds() on linear-scale questions, and hallucinated API names like addSection(). Paste the error back into ChatGPT and ask for the fix. One round of correction usually clears it.Can I use ChatGPT to grade Google Forms responses?
Is the ChatGPT-generated form anonymous?
How do I make ChatGPT generate fewer cookie-cutter questions?
What’s the alternative if I don’t want to use ChatGPT and Apps Script at all?
Can I reuse the same Apps Script for a new survey?
More from Formester for AI-powered forms
Tools, templates, and walkthroughs that pair with this guide.



