Skip to content

Google Form Auto-Submission Script The Google Form Auto-Submission Script is a Python-based automation tool designed to streamline the process of submitting responses to Google Forms. This script allows users to easily send data to a Google Form without the need for manual input, making it ideal for bulk submissions or repetitive data entry tasks.

License

Notifications You must be signed in to change notification settings

DangNhutNguyen/GOOGLE-FORM-AUTO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOOGLE-FORM-AUTO

This Python script allows you to automatically submit responses to a Google Form. The script reads the Google Form ID and response data from a text file, enabling efficient and repeatable submissions.

README in VietNamese find that here

Features

  • Reads form data from a specified text file.
  • Allows for multiple submissions in a loop.
  • Configurable delay between submissions.

Prerequisites

  • Python 3.x
  • requests library

Installation

  1. Clone the repository or download the script:

    git clone https://github.com/DangNhutNguyen/GOOGLE-FORM-AUTO.git
    cd google-form-auto-submission
  2. Install the required library:

    You can install the requests library using pip:

    pip install requests

Usage

  1. Create a Text File:

    Create a text file named form_data.txt in the same directory as the script with the following format:

    form_id: your_form_id
    entry_id_1: response_1
    entry_id_2: response_2
    entry_id_3: response_3
    ...
    

    How to collect the form_id:

form_id

The value above the red lines means form_id. Complete Goolge Form links is https://docs.google.com/forms/d/form_id/formResponse

How to collect the entry.value:

  1. Press Ctrl + Shift + I to open the Developer Tools. This will bring up the console where you can enter custom scripts.

    Operating System Keys
    macOS altcmdi
    Windows ctrlshifti
    Linux ctrlshifti
  2. Visit the Elements (Near the Console)

  3. Press Ctrl + F to open the Find tools

    Operating System Keys
    macOS cmdf
    Windows ctrlf
    Linux ctrlf
  4. Type in

entry.

image

  1. Find the entry_id for each question (Which means names:) and the response in form_data.txt (Which means values) in each response answer

entry

Example content of form_data.txt:

form_id: 1FAIpQLSd1XexampleId
entry.1864374387: 18 - 25
entry.1101225596: 4
entry.634083696: 4
  1. Run the Script:

    Execute the script using Python:

    python main.py
  2. Input Number of Submissions:

    When prompted, enter the number of times you wish to submit the form.

Important Notes

  • Be mindful of the frequency of submissions to avoid being flagged for spam. Ensure that your use of this script complies with Google Forms' usage policies.
  • If you encounter issues with form submissions, check that the form ID and entry IDs are correct.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

About

Google Form Auto-Submission Script The Google Form Auto-Submission Script is a Python-based automation tool designed to streamline the process of submitting responses to Google Forms. This script allows users to easily send data to a Google Form without the need for manual input, making it ideal for bulk submissions or repetitive data entry tasks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages