← Google Classroom + TickTick integrations

Create a Task with TickTick API on New Assignment from Google Classroom API

Pipedream makes it easy to connect APIs for TickTick, Google Classroom and 3,000+ other apps remarkably fast.

Trigger workflow on
New Assignment from the Google Classroom API
Next, do this
Create a Task with the TickTick API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Google Classroom trigger and TickTick action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Assignment trigger
    1. Connect your Google Classroom account
    2. Configure timer
    3. Optional- Select one or more Course States
    4. Select a Course
    5. Optional- Configure Keywords
  3. Configure the Create a Task action
    1. Connect your TickTick account
    2. Configure Title
    3. Optional- Configure Content
    4. Optional- Select a Project ID
    5. Optional- Configure Start date
    6. Optional- Configure Due date
    7. Optional- Select a Priority
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when an assignment is added to a course.
Version:0.0.4
Key:google_classroom-new-assignment

Google Classroom Overview

The Google Classroom API lets you tap into the educational space by managing courses, assignments, and student interactions programmatically. With this API, you can automate course creation, roster management, and content distribution, effectively bridging the gap between various educational tools and platforms. Leveraging Pipedream's serverless execution environment, you can build powerful workflows that respond to events in Classroom, sync data across platforms, and streamline the educational process for teachers and students alike.

Trigger Code

import common from "../common/common.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  ...common,
  key: "google_classroom-new-assignment",
  name: "New Assignment",
  description: "Emit new event when an assignment is added to a course.",
  version: "0.0.4",
  type: "source",
  dedupe: "unique",
  props: {
    ...common.props,
    keywords: {
      type: "string[]",
      label: "Keywords",
      description: "Limit the results to assignments that contain keywords",
      optional: true,
      reloadProps: true,
    },
  },
  async additionalProps() {
    if (this.keywords?.length > 0) {
      return {
        searchDescription: {
          type: "boolean",
          label: "Search Title & Description?",
          description: "Set to `true` to search both title and description for keyword(s). If `false`, only assignment titles will be searched",
          optional: true,
          default: false,
        },
      };
    }
  },
  methods: {
    ...common.methods,
    async getHistoricalEvents({ pageSize }) {
      const { courseWork } = await this.googleClassroom.listCoursework({
        ...this.getParams(),
        pageSize,
      });
      return courseWork;
    },
    async getResults(after) {
      return this.paginate(this.googleClassroom.listCoursework, this.getParams(), "courseWork", after);
    },
    getParams() {
      return {
        courseId: this.course,
        courseWorkStates: this.courseStates,
      };
    },
    isRelevant(assignment, after = null) {
      if (!this.isAfter(assignment.creationTime, after)) {
        return false;
      }
      if (this.keywords?.length > 0) {
        const titleMatch = this.keywordsMatch(assignment.title);
        if (this.searchDescription) {
          const descriptionMatch = this.keywordsMatch(assignment?.description);
          return titleMatch || descriptionMatch;
        } else {
          return titleMatch;
        }
      }
      return true;
    },
    keywordsMatch(text = "") {
      const matches = this.keywords?.filter((keyword) => text.includes(keyword));
      return matches.length > 0;
    },
    generateMeta(assignment) {
      return {
        id: assignment.id,
        summary: `New assignment ${assignment.title}`,
        ts: Date.parse(assignment.creationTime),
      };
    },
  },
  sampleEmit,
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
Google ClassroomgoogleClassroomappThis component uses the Google Classroom app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer
Course StatescourseStatesstring[]Select a value from the drop down menu:COURSE_STATE_UNSPECIFIEDACTIVEARCHIVEDPROVISIONEDDECLINEDSUSPENDED
CoursecoursestringSelect a value from the drop down menu.
Keywordskeywordsstring[]

Limit the results to assignments that contain keywords

Trigger Authentication

Google Classroom uses OAuth authentication. When you connect your Google Classroom account, Pipedream will open a popup window where you can sign into Google Classroom and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Google Classroom API.

Pipedream requests the following authorization scopes when you connect your account:

https://www.googleapis.com/auth/userinfo.emailhttps://www.googleapis.com/auth/userinfo.profilehttps://www.googleapis.com/auth/classroom.courses.readonlyhttps://www.googleapis.com/auth/classroom.coursework.studentshttps://www.googleapis.com/auth/classroom.coursework.mehttps://www.googleapis.com/auth/classroom.announcements.readonly

About Google Classroom

Google Classroom helps educators create engaging learning experiences they can personalize, manage, and measure.

Action

Description:Create a Task. [See the documentation](https://developer.ticktick.com/api#/openapi?id=create-a-task)
Version:0.0.8
Key:ticktick-create-task

TickTick Overview

The TickTick API lets you tap into a robust task management framework from Pipedream. If you've ever wanted to streamline your to-do list or automate routine task management, this is your gateway. Use the API to create tasks, retrieve task details, update task status, and more. Automating your TickTick tasks can free up time, ensuring important items never slip through the cracks.

Action Code

import ticktick from "../../ticktick.app.mjs";
import { removeNullEntries } from "../../common/utils.mjs";

export default {
  key: "ticktick-create-task",
  name: "Create a Task",
  description: "Create a Task. [See the documentation](https://developer.ticktick.com/api#/openapi?id=create-a-task)",
  version: "0.0.8",
  annotations: {
    destructiveHint: false,
    openWorldHint: true,
    readOnlyHint: false,
  },
  type: "action",
  props: {
    ticktick,
    title: {
      type: "string",
      label: "Title",
      description: "Task title",
    },
    content: {
      type: "string",
      label: "Content",
      description: "Task content",
      optional: true,
    },
    projectId: {
      propDefinition: [
        ticktick,
        "projectId",
      ],
      optional: true,
    },
    startDate: {
      type: "string",
      label: "Start date",
      description: "Start date and time in \"yyyy-MM-dd'T'HH:mm:ssZ\" format. Example : \"2019-11-13T03:00:00+0000\"",
      optional: true,
    },
    dueDate: {
      type: "string",
      label: "Due date",
      description: "Due date and time in \"yyyy-MM-dd'T'HH:mm:ssZ\" format. Example : \"2019-11-13T03:00:00+0000\"",
      optional: true,
    },
    priority: {
      type: "string",
      label: "Priority",
      description: "The priority of the task, defaults to \"None\"",
      default: "0",
      optional: true,
      options: [
        {
          label: "None",
          value: "0",
        },
        {
          label: "Low",
          value: "1",
        },
        {
          label: "Medium",
          value: "3",
        },
        {
          label: "High",
          value: "5",
        },
      ],
    },
  },
  async run({ $ }) {
    const data = removeNullEntries({
      title: this.title,
      content: this.content,
      startDate: this.startDate,
      dueDate: this.dueDate,
      priority: this.priority,
    });

    if (this.projectId && this.projectId !== "inbox") {
      data.projectId = this.projectId;
    }

    const response = await this.ticktick.createTask({
      $,
      data,
    });
    response && $.export("$summary", "Successfully created task");
    return response;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
TickTickticktickappThis component uses the TickTick app.
Titletitlestring

Task title

Contentcontentstring

Task content

Project IDprojectIdstringSelect a value from the drop down menu.
Start datestartDatestring

Start date and time in "yyyy-MM-dd'T'HH:mm:ssZ" format. Example : "2019-11-13T03:00:00+0000"

Due datedueDatestring

Due date and time in "yyyy-MM-dd'T'HH:mm:ssZ" format. Example : "2019-11-13T03:00:00+0000"

PriorityprioritystringSelect a value from the drop down menu:{ "label": "None", "value": "0" }{ "label": "Low", "value": "1" }{ "label": "Medium", "value": "3" }{ "label": "High", "value": "5" }

Action Authentication

TickTick uses OAuth authentication. When you connect your TickTick account, Pipedream will open a popup window where you can sign into TickTick and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any TickTick API.

Pipedream requests the following authorization scopes when you connect your account:

tasks:writetasks:read

About TickTick

TickTick is a simple and easy-to-use time management tool. It includes modules for Tasks, Calendar, Eisenhower Matrix, Pomodoro, and Habit Tracker.

More Ways to Connect TickTick + Google Classroom

Create a Task with Ticktick API on Assignment Done from Google Classroom API
Google Classroom + TickTick
 
Try it
Complete a Task with Ticktick API on Assignment Done from Google Classroom API
Google Classroom + TickTick
 
Try it
List Projects with Ticktick API on Assignment Done from Google Classroom API
Google Classroom + TickTick
 
Try it
Update a Task with Ticktick API on Assignment Done from Google Classroom API
Google Classroom + TickTick
 
Try it
Complete a Task with Ticktick API on New Assignment from Google Classroom API
Google Classroom + TickTick
 
Try it
Assignment Done from the Google Classroom API

Emit new event when an assignment in a course is marked as done.

 
Try it
New Announcement from the Google Classroom API

Emit new event when an announcement is created.

 
Try it
New Assignment from the Google Classroom API

Emit new event when an assignment is added to a course.

 
Try it
New Due Date from the Google Classroom API

Emit new event when an assignment's due date is created or updated'.

 
Try it
New Task Completed from the TickTick API

Emit new event when a task is completed.

 
Try it
Get Assignment with the Google Classroom API

Retrieve information about an assignment. See the docs here

 
Try it
List Assignments with the Google Classroom API

Retrieve a list of assignments for a course. See the documentation

 
Try it
Complete a Task with the TickTick API

Complete a Task. See the documentation

 
Try it
Create a Task with the TickTick API

Create a Task. See the documentation

 
Try it
List Projects with the TickTick API

List all projects in a TickTick account. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
3,000+
apps by most popular

Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
AWS
AWS
Premium
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Twilio SendGrid
Twilio SendGrid
Premium
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Klaviyo
Klaviyo
Premium
Klaviyo unifies your data, channels, and AI agents in one platform—text, WhatsApp, email marketing, and more—driving growth with every interaction.
Zendesk
Zendesk
Premium
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
ServiceNow
ServiceNow
Premium
Beta
The smarter way to workflow
Slack
Slack
Slack is the AI-powered platform for work bringing all of your conversations, apps, and customers together in one place. Around the world, Slack is helping businesses of all sizes grow and send productivity through the roof.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.