Fill a Google Form on a schedule from a CSV file

How to fill a Google Form on a schedule from a CSV file: install the Chrome extension, click Build from description, tell the agent what you want, and follow its prompts. A working bot is built and tested in minutes.

Here is how the automation works. To fill a Google Form on a schedule from a CSV file, an Import CSV File step reads the rows from a CSV on your computer, a Loop through data step takes them one at a time, and inside the loop Go to page, Enter text and Click element open the form, fill each question and submit it. A schedule on the automation runs it every day, week or hour without you opening the form.

Author
Alex Barlow
Published

Build the scheduled CSV form filler from a description


Describe it and click the button: the agent builds and tests the form filler in your Chrome extension. See automate data entry into Google Forms for every question type the bot fills. The CSV is read where the automation runs, so scheduled runs happen on the desktop app on the computer that holds the file.

  1. Read the rows from a CSV file on my computer
  2. Open my Google Form for each row
  3. Fill in each question from the row
  4. Submit the form and go to the next row
  5. Schedule my bot
Click to launch the Chrome extension. Not installed? You can create an account and try it free.Opens the Chrome extension. Free account to try.

You need the CSV saved as UTF-8 with a header row, one row per form entry and a column per question in the form's order, and the form's address. Replace the file's rows between runs, since each scheduled run submits every row the file holds, and keep the desktop app open at the scheduled time.

Build the scheduled CSV form filler step by step


The steps the agent builds, as the Builder shows them: each step by its name, with the fields to set under it. Add them yourself in this order in the step-by-step builder, or open the agent's result there to adjust it.

  • 1.0 Import CSV File
    • Import CSV: the CSV file on your computer
    • First cell: A2
  • 2.0 Loop through data
    • repeats for every row in [imported-csv]
    • 2.1 Go to page
      • URL: the form's address
    • 2.2 Enter text
      • Select text field: the first short answer question
      • Text: the first column of [imported-csv]
    • 2.3 Enter text
      • Select text field: the next short answer question
      • Text: the second column of [imported-csv]
    • 2.4 Click element
      • Select: the multiple choice option the third column of [imported-csv] names
    • 2.5 Click element
      • Select: the form's Submit button

Common questions about the scheduled CSV form filler


Why did the scheduled run not fill the Google Form?

The desktop app was not running at the scheduled time. The CSV is read from your computer, so the schedule runs there, and a closed app or a sleeping computer skips that run. Keep the app open, turn on Launch at Login in its tray menu, and stop the computer from sleeping over the scheduled time.

Why does the form filler submit the header row of the CSV?

First cell on the Import CSV File step is at its default of A1, so the header is read as a row. Set it to A2 and the loop starts from the first entry.

Why are the same rows submitted on every scheduled run?

Each run submits every row the CSV holds, and the automation does not change the file. Replace the rows with the next batch before the next run, or point the file at an export your other system writes fresh each day. Reading from a Google Sheet instead lets the bot delete each row once it is submitted; see automate data entry from a Google Sheet into a web form.

Why do the answers show odd characters like é in the Google Form?

The CSV is not saved as UTF-8. Export it again as UTF-8 from your spreadsheet program, or open it in a text editor and save it with UTF-8 encoding, and the accents and symbols come through as typed.

Why does a row not submit?

A required question was left empty, or an answer failed the question's validation, so the form refused the response and the run stopped on that row. Give every required column a value and match the validation rules, such as an email format. When a run fails, hand it to the agent and it repairs the step.

Why does the run stop when one row fails?

A failed step ends the run. Wrap the form steps in a Try / Catch step to skip a bad row and carry on.

How do I fill checkboxes, dropdowns and date questions in the Google Form?

The agent adds a Click element step for each checkbox or multiple choice option, opens a dropdown and clicks the option, and types a date with key presses. See tick checkboxes and choose options from a sheet and fill a date picker in a Google Form.

How do I set the schedule for the CSV form filler?

Save the automation, open its settings from the Dashboard and set a start date, a time and how often it repeats: every hour, day, week or month. The schedule an automation page has the options, including a JavaScript condition for patterns such as weekdays only.

Can I fill a Google Form on a schedule from a CSV file without code?

Yes. The automation is built from the five lines above with no code; every step is picked from the builder and the schedule is a setting.

Can I fill the Google Form from a Google Sheet or an Excel file instead?

Yes. A Read data from a Google Sheet step in place of Import CSV File reads a sheet and lets the schedule run in the cloud with no computer on; see fill a Google Form from an Excel sheet for a workbook on OneDrive or SharePoint.

Where do I get help?

Get in touch with support, or ask in the axiom.ai community.

Related guides