https://github.com/rostislavzz/form-response-grade
Apps Script project to set scores and feedback for Google Form responses.
https://github.com/rostislavzz/form-response-grade
Last synced: 2 months ago
JSON representation
Apps Script project to set scores and feedback for Google Form responses.
- Host: GitHub
- URL: https://github.com/rostislavzz/form-response-grade
- Owner: rostislavzz
- License: mit
- Created: 2023-10-05T06:01:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-03T15:49:36.000Z (about 1 year ago)
- Last Synced: 2025-01-19T10:07:20.561Z (4 months ago)
- Language: JavaScript
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Form Response Grade
Apps Script project to set scores and feedback for Google Form responses.Evaluates responses with `FormApp.ItemType.CHECKBOX` and `FormApp.ItemType.PARAGRAPH_TEXT` types. For `FormApp.ItemType.PARAGRAPH_TEXT` responses processes throught ChatGPT.
Prompt for ChatGPT can be configured in `src/serivce/verifier/message.js`.## Install
Add library by script id: `AKfycbyfDXhMcritrkCzSyzmeCsy-5UuBHPV5Y_rZokUpayxtOTk_HwfRdU78WBmJi8LhhIt`.Paste this code in the editor:
```js
function installTrigger() {
const form = FormApp.getActiveForm();ScriptApp
.newTrigger("FormResponseGrade.onFormSubmit")
.forForm(form)
.onFormSubmit()
.create();
}
```In "Function selection" menu select "installTrigger" and press "Run".
## Test
```
npm run test
```## Build
```
npm run build
```## Deploy
```
npm run deploy
```