About Google Classroom
Google Classroom is a free web service developed by Google for schools that aims to simplify creating, distributing, and grading assignments
Describe what should happen in Google Classroom, and when, in plain words. Whenever builds the workflow and runs it on a schedule, on a webhook, or when another app sends an event.
Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.
Google Classroom is a free web service developed by Google for schools that aims to simplify creating, distributing, and grading assignments
Through its API, using the credentials and permissions required by the provider.
Connect Claude, Cursor or Codex to the Whenever MCP server and your coding agent can build and deploy the Google Classroom workflow. It runs on Whenever afterwards, on its schedule or webhook, with the chat closed.
Set up the Whenever MCP serverTeachers who automate Google Classroom usually want help with the chores around a course rather than the teaching itself: knowing who has not turned in an assignment, posting the week’s announcement on time, or keeping a gradebook spreadsheet aligned with what is in Classroom. The Classroom API models this as courses, which hold students, teachers, courseWork (assignments and questions), announcements and topics, and studentSubmissions, one per student per piece of coursework.
A submission’s state is the field to watch. It moves from NEW or CREATED to TURNED_IN when the student submits, to RETURNED when the teacher hands it back, and to RECLAIMED_BY_STUDENT if the student withdraws it. The late flag marks work turned in after the due date, and assignedGrade and draftGrade hold the teacher’s marks. Filtering studentSubmissions by state for one courseWork item gives a clean missing-work list without opening each student’s page.
Permissions are tighter than in most Google APIs. The connected account must be a teacher of the course, or a domain administrator, to read rosters and submissions, and each data type has its own scope, such as coursework for students, rosters and announcements. An important limit: grades and submission states can only be changed through the API on coursework that was created by the same Google Cloud project. Assignments a teacher made by hand in the Classroom interface can be read but not graded programmatically, so plan to create assignments through the workflow if you intend to write grades back.
Classroom can send push notifications for roster and coursework changes through Google Cloud Pub/Sub registrations, which require a Pub/Sub topic and expire after a week. For most class routines a daily or weekly schedule is simpler and matches the rhythm of school days.
Authored starter briefs to configure with your accounts, not preconfigured workflows.
Reads submission states for upcoming assignments and emails the teacher a list, without contacting students.
Posts the teacher’s own prepared text on a schedule; nothing is written by AI.
Copies assigned grades into a sheet for reporting, leaving Classroom unchanged.
Grades and submission states can only be modified for coursework created by the same developer project. Coursework created in the Classroom web interface returns a permission error for those writes, though it can still be read.
NEW and CREATED mean not yet turned in, and RECLAIMED_BY_STUDENT means the student withdrew a submission. TURNED_IN and RETURNED mean the work was handed in.
Reading rosters, all submissions and grades requires a teacher of the course or a domain administrator. A student can only see their own work.
It offers push notifications via Cloud Pub/Sub registrations for course roster and coursework changes. Registrations expire after a week and need renewing, so scheduled checks are often simpler.
Describe your first workflow in plain words. One stays live for free, no credit card.
No credit card required