GithubHelp home page GithubHelp logo

zaskem / google-form-merge-to-document Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 8 KB

An example process for "merging" Google Form (response spreadsheet) data to a Google Doc (similar to Microsoft Office mail merge) in a Team Drive. Additionally, an email notification is sent to a recipient (with PDF attachment).

JavaScript 100.00%

google-form-merge-to-document's Introduction

Google Form Merge to Document

Example process for "merging" Google Form (response spreadsheet) data to a Google Doc (similar to Microsoft Office mail merge) in a Team Drive. Additionally, an email notification is sent to a recipient (with PDF attachment).

Original Purpose

A process was developed by a non-technical, non-IT user, to improve a previously cumbersome and error-prone information transfer process. In particular:

Paper Form → Handwriting → Scan to Email Recipient → Shred & Recycle

As Google Docs do not natively support such functionality, the resulting process was developed to accommodate the process and eliminate the unneccessary paper trail.

Key Technologies

  • Google Team Drive
  • Google Forms
  • Google Sheets
  • Google Docs
  • Google Scripts
    • Triggers

How to Use

The basic instructions included in HowToSetupAndUse.md should get you in business, assuming you've created an appropriate Google Form with an equivalently-structured response sheet (see structure details below).

Considerations, Expectations, and Nuances

The use of Team Drives is assumed. While this code will work in an individual's personal Google Drive, none of the details in this repository address the nuances of sharing and permissions, which will have to be set up independently as your project demands.

This project is based on the circumstances and optimization of one specific workflow. As such, there are no built-in bits for extensibility (see future opportunities below). You should be able to successfully grab a copy, make it work, and modify as necessary to your specific operations.

Example Form Response Sheet Structure

The Google Form you create will determine the modifications necessary for the processing script. The example provided is assuming a Form (and thus, Sheet) with the following fields/columns, in order:

  • Timestamp
  • Instructor Name
  • Facilitator Name
  • Course and Section Number (ex. Biol 1111-1)
  • Date of session
  • Objective
  • Content
  • Attendance
  • Additional Notes

An example form is provided to view the front-end, and an example/stub-out response sheet is available for a demo/starting reference.

Future Work/Opportunities

To enhance future scalability, a short list of possible modifications is presented. If you are interested in contributing or making an enhancement, feel free to fork this repository and submit a pull request for your modifications!

  • Document structure enhancements (e.g. proper headers vs. text size/bold)
  • Other document style enhancements
  • More scalable document paragraph formatting (current version manually builds each paragraph)
  • Other customizations (additional/dynamic email recipients, data validation, etc.)

google-form-merge-to-document's People

Contributors

zaskem avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

wallacelibrary

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.