Google Forms · Arazzo Workflow
Google Forms Build and Grade a Quiz
Version 1.0.0
Create a form, switch it into quiz mode with a graded question, publish it, and read scored submissions.
View Spec
View on GitHub
Data CollectionFormsGoogleGoogle WorkspaceQuestionnairesResponsesSurveysArazzoWorkflows
Provider
Workflows
build-and-grade-quiz
Stand up an auto-graded quiz form and harvest the scored submissions.
Creates the form, enables quiz settings and adds one graded multiple-choice question in a single batch update, publishes the quiz, and lists responses carrying the computed total score.
1
createQuizForm
createForm
Create the underlying form with its title. Quiz mode cannot be set at creation and is switched on by the batch update that follows.
2
enableQuizAndAddQuestion
batchUpdateForm
Turn on quiz settings and add the graded question in one batch update. The grading block carries the point value, the correct answer used for automatic scoring, and the feedback shown for right and wrong answers.
3
publishQuiz
setPublishSettings
Publish the quiz and open it for submissions.
4
readScoredResponses
listFormResponses
List submissions for the quiz. On a quiz form each response carries the total score the service computed at submission time, and each answer carries its own grade, so no scoring logic is needed on this side.