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 Salesmate API enables automation of CRM-related tasks within the Salesmate platform. By leveraging this API on Pipedream, you can craft serverless workflows that interact with Salesmate data, such as contacts, deals, and activities. This allows for seamless integration of Salesmate with other services to enhance sales processes, enable real-time data updates, and trigger custom actions based on specific events within your CRM.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
salesmate: {
type: "app",
app: "salesmate",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.salesmate.$auth.domain}.salesmate.io/apis/core/v4/users`,
headers: {
"Content-Type": `application/json`,
"accessToken": `${this.salesmate.$auth.session_key}`,
"x-linkname": `${this.salesmate.$auth.linked_name}`,
},
})
},
})