Use Google Tasks to keep track of important to-dos that sync across all your devices.
Emit new event when a new message is posted in a channel
Emit new event for each task added to Google Tasks. See the documentation
Emit new event when a new message is received in a chat
Creates a new task and adds it to the authenticated user's task lists. See the docs here
Create a new channel in Microsoft Teams. See the docs here
Creates a new task list and adds it to the authenticated user's task lists. See the docs here
Deletes the authenticated user's specified task. See the docs here
The Google Tasks API allows you to manage and manipulate a user's tasks and task lists on Google Tasks directly from Pipedream. With this API, you can create, read, update, and delete tasks, as well as manage the lists themselves. This opens up possibilities for automating task management, syncing tasks with other systems, and creating custom task-based workflows that can increase productivity and ensure nothing falls through the cracks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_tasks: {
type: "app",
app: "google_tasks",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/tasks/v1/users/@me/lists`,
headers: {
Authorization: `Bearer ${this.google_tasks.$auth.oauth_access_token}`,
},
})
},
})
The Microsoft Teams API on Pipedream allows you to automate tasks, streamline communication, and integrate with other services to enhance the functionality of Teams as a collaboration hub. With this API, you can send messages to channels, orchestrate complex workflows based on Teams events, and manage Teams' settings programmatically.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_teams: {
type: "app",
app: "microsoft_teams",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_teams.$auth.oauth_access_token}`,
},
})
},
})