Connect Google Classroom to Definable AI
Google Classroom is a free web service developed by Google for schools that aims to simplify creating, distributing, and grading assignments
About Google Classroom
Google Classroom is a productivity tool. Connect it to Definable AI with one-click OAuth2 — no API keys or custom code required.
What you can automate with Google Classroom
Use Definable AI's agent platform to trigger workflows from Google Classroom, process results with 50+ AI models, and sync data across 900+ connected apps.
Tools & Actions (68 available)
- Add Student to Course: Tool to add a student to a course. Use when enrolling a user as a student in a course. Domain administrators can directly enroll users; students can self-enroll with an enrollment code.
- Create Announcement: Tool to create an announcement in a course. Use after confirming the course ID is valid.
- Create Course: Tool to create a new course. Use when a teacher needs to establish a Classroom course before enrollment.
- Create Course Alias: Tool to create an alias for a course. Use when you need to add an alternative identifier to a course after confirming the course ID.
- Create Course Topic: Tool to create a course topic. Use when you need to organize course content into named sections.
- Create Course Work Material: Tool to create course work material. Use when adding resources or notes to a course.
- Create CourseWork: Tool to create a CourseWork item in a course. Use when you need to assign an assignment or question to students immediately or on a schedule.
- Create Invitation: Tool to create an invitation for a user to a course. Use after confirming the course ID is valid.
- Create Registration: Tool to create a registration for push notifications from Google Classroom. Use when you need to set up notifications from a specific feed to a Cloud Pub/Sub topic. Requires the OAuth scope https://www.googleapis.com/auth/classroom.push-notifications.
- Delete Add-on Attachment: Tool to delete an add-on attachment from a course announcement. Requires the add-on to have been the original creator of the attachment.
- Delete Add-on Attachment: Tool to delete an add-on attachment from course work. Use when the add-on needs to remove an attachment it originally created. Requires the add-on to have been the original creator of the attachment.
- Delete Announcement: Tool to delete an announcement. Use after confirming the announcement ID.
- Delete Course: Tool to delete a course. Use when you need to remove a course after confirming the course ID.
- Delete Course Alias: Tool to delete an alias of a course. Use when you need to remove an alias from a course after confirming the course ID and alias name.
- Delete Course Student: Tool to delete a student from a course. Use when you need to remove a student's enrollment from a specific course. This revokes their access to course materials and participation.
- Delete Course Teacher: Tool to delete a teacher from a course. Use when you need to remove a teacher's enrollment from a specific course. This revokes their teaching access to the course.
- Delete Course Topic: Tool to delete a course topic. Use when you need to remove a topic from a course after confirming the course and topic IDs.
- Delete Course Work Material: Tool to delete a course work material. Use after confirming the course work material ID and course ID.
- Delete CourseWork: Tool to delete a specific CourseWork. Use when you need to remove a coursework item from a course after confirming the IDs.
- Delete Invitation: Tool to delete an invitation. Use when you need to remove an invitation after confirming the invitation ID.
- Delete Topic: Tool to delete a topic from a Google Classroom course. Use when you need to remove a topic after confirming the course and topic IDs.
- Get Add-on Attachment: Tool to get an add-on attachment from an announcement. Use when you need to retrieve a specific add-on attachment. Requires the add-on requesting the attachment to be the original creator.
- Get Add-on Context for Announcement: Tool to get metadata for Classroom add-ons in the context of a specific announcement post. Use when validating query parameters and user permissions for add-ons loading in an iframe. Returns the current user's role (student or teacher) with exactly one context field populated.
- Get Add-on Context for Course Work: Tool to get metadata for Classroom add-ons in the context of a specific course work. Use when validating query parameters and user permissions for add-ons loading in an iframe. Returns the current user's role (student or teacher) with exactly one context field populated.
- Get Add-on Context for Course Work Material: Tool to get metadata for Classroom add-ons in the context of a specific course work material. Use when validating query parameters for add-ons loading in an iframe. Returns course/item identifiers and role-specific context.
- Get Add-on Context for Course Work Material: Tool to get metadata for Classroom add-ons in the context of a specific post. Use when you need to validate query parameters and maintain data integrity for an add-on. Returns course/item identifiers and role-specific context.
- Get Add-on Context for Post: Tool to get metadata for Classroom add-ons in the context of a specific post. Use when validating query parameters and user permissions for add-ons loading in an iframe. Returns the current user's role (student or teacher) with exactly one context field populated.
- Get Announcement: Tool to get an announcement. Use when you need to fetch an announcement by course and announcement ID.
- Get Course: Tool to get details for a specific course. Use when you need full course information by ID.
- Get Course Student: Tool to retrieve a specific student of a course. Use when you need to get detailed information about a student enrolled in a course by courseId and userId.
- Get Course Topic: Tool to get a course topic. Use when you need to retrieve details of a specific course topic by ID after confirming the course and topic IDs.
- Get CourseWork: Tool to get details of a specific coursework. Use when detailed information about a particular assignment is needed.
- Get CourseWork Add-on Attachment: Tool to get an add-on attachment from course work. Use when you need to retrieve a specific add-on attachment. Requires the add-on requesting the attachment to be the original creator.
- Get Coursework Material: Tool to get a coursework material. Use when you need to retrieve details of a specific coursework material by course and material ID.
- Get Grading Period Settings: Tool to retrieve grading period settings for a course. Use when you need to access the grading periods configured in a course.
- Get Invitation: Tool to retrieve an invitation by its identifier. Use when you need to view invitation details.
- Get Teacher: Tool to get teacher enrollment. Use when you need to retrieve a specific teacher in a course by courseId and userId.
- Get Topic: Tool to retrieve a specific topic from a Google Classroom course. Use when you need to get details about a topic within a course.
- Get User Profile: Tool to retrieve a user profile by user ID. Use when you need to get information about a specific user including their name, email, photo, and permissions.
- List Add-on Attachments: Tool to list all add-on attachments created under an announcement. Use when you need to retrieve attachments added by an add-on. Requires the add-on to have active attachments on the post or permission to create new attachments.
- List Add-on Attachments: Tool to list all add-on attachments created under a course work item. Use when you need to retrieve attachments added by an add-on. Requires the add-on to have active attachments on the post or permission to create new attachments.
- List Add-on Attachments on Course Work Material: Tool to list all add-on attachments under a course work material post. Use when you need to retrieve attachments created by an add-on. Requires the add-on to have active attachments or permission to create new attachments on the post.
- List Announcements: Tool to list announcements in a course. Use after you have the course ID to page through announcements.
- List Course Aliases: Tool to list aliases for a course. Use when you need to retrieve all aliases associated with a specific course.
- List Course Student Groups: Tool to list student groups in a course. Use when you need to retrieve groups within a specific course.
- List Course Students: Tool to list students in a course. Use after you have the course ID to page through enrolled students.
- List Course Teachers: Tool to list teachers in a course. Use after you have the course ID to page through enrolled teachers.
- List Course Topics: Tool to list topics in a course. Use when you have confirmed the courseId and need to retrieve its topics.
- List Course Work Rubrics: Tool to list rubrics for a specific coursework. Use when you need to retrieve grading rubrics that the requester has permission to view.
- List CourseWork: Tool to list coursework in a course. Use after verifying courseId.
- List CourseWork Add-on Attachments: Tool to list all add-on attachments created by an add-on under a course work. Use when you need to retrieve attachments added by an add-on to course work.
- List CourseWorkMaterials: Tool to list course work materials in a course. Use when you need to retrieve and paginate materials for a given courseId.
- List CourseWorkMaterials: Tool to list CourseWorkMaterials in a course. Use after confirming a valid courseId; supports pagination and ordering.
- List Courses: Tool to list all courses accessible to the authenticated user. Use when you need a paginated list of courses.
- List Invitations: Tool to list invitations that the requesting user is permitted to view. At least one of userId or courseId must be supplied.
- List Post Add-on Attachments: Tool to list all add-on attachments created under a post. Use when you need to retrieve attachments added by an add-on. Requires the add-on to have active attachments on the post or permission to create new attachments.
- List Student Guardians: Tool to list guardians of a student in a course. Use when you need to retrieve and paginate guardians for a given student in a course.
- List Student Submissions: Tool to list student submissions for a specific coursework. Use when you need to fetch or paginate student submissions by course and coursework, optionally filtering by user, state, or timeliness.
- Modify Announcement Assignees: Tool to modify assignee mode and options of an announcement. Use when you need to change who can view an announcement, either making it visible to all students or to specific students only.
- Modify CourseWork Assignees: Tool to modify assignee mode and options of coursework. Use when you need to change who can view coursework, either making it visible to all students or to specific students only.
- Patch Announcement: Tool to update fields of an announcement. Use when you need to modify specific details of an existing announcement after confirming which fields to update.
- Patch Course: Tool to update one or more fields of a Classroom course. Use after retrieving course details and confirming fields to update.
- Patch Course Topic: Tool to update fields of a course topic. Use when you need to rename a topic after confirming its current details.
- Patch Course Work: Tool to update one or more fields of a course work. Use when you need to modify specific details of an existing course work after confirming which fields to update.
- Patch Course Work Material: Tool to update fields of a course work material. Use when you need to modify specific details of an existing course work material after confirming which fields to update.
- Patch Coursework: Tool to update fields of a CourseWork. Use when you need to modify specific details of an existing coursework after confirming which fields to update.
- Reclaim Student Submission: Tool to reclaim a student submission for editing. Use after a student requests to edit their turned-in submission, resetting its state to CREATED.
- Update Course: Tool to update a course. Use when you need to modify course details like name, description, or state. This performs a full update (PUT) of the course.
How to connect Google Classroom
- Sign in to Definable AI and go to Apps
- Search for Google Classroom and click Connect
- Authorize via OAuth2 — takes under 30 seconds
- Use Google Classroom actions in your AI agents and workflows