Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Create a new channel in Microsoft Teams. See the docs here
Get the list of shift instances for a team. See the documentation
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}`,
},
})
},
})
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.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ticktick: {
type: "app",
app: "ticktick",
}
},
async run({steps, $}) {
const data = {
"title": `Example task from Pipedream`,
}
return await axios($, {
method: "post",
url: `https://api.ticktick.com/open/v1/task`,
headers: {
Authorization: `Bearer ${this.ticktick.$auth.oauth_access_token}`,
},
data,
})
},
})