Cronfree Time Scheduler creates multiple reoccurring tasks with no-code automation.
Emit new event when a new message is received. See the documentation
Emit new event when a new message is posted in a channel
Emit new event when a new message is received in a chat
Create a new channel in Microsoft Teams. See the docs here
Get the list of shift instances for a team. See the documentation
Send a message to a team's channel. See the docs here
The Cronfree API allows you to schedule tasks to run at specific intervals, similar to a traditional cron job, but with the flexibility of web-based management. On Pipedream, you can harness this API to trigger workflows on a schedule, offload periodic tasks from your apps, and integrate with other services to perform actions like sending emails, updating databases, or even automating social media posts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cronfree: {
type: "app",
app: "cronfree",
}
},
async run({steps, $}) {
const data = {
"hookUrl": `{{your_hook_url}}`,
"license_key": `${this.cronfree.$auth.license_key}`,
"wdays": `{{your_wdays}}`,
"months": `{{your_months}}`,
"hours": `{{your_hours}}`,
"minutes": `{{your_minutes}}`,
"timezone": `{{your_timezone}}`,
}
return await axios($, {
method: "post",
url: `https://login.cronfree.com/zapier/schedule`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
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}`,
},
})
},
})