Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Emit new event when a new message is posted in a channel
Emit new event when a new message is received in a chat
Emit new event when a new team is joined by the authenticated user
Create a new channel in Microsoft Teams. See the docs here
Get a list of the links created by the authenticated account See the documentation
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 y.gy API allows users to shorten URLs dynamically, providing a way to manage and track URL performance in applications or marketing campaigns. Using this API on Pipedream, you can automate URL shortening and integrate these activities with other services like databases, analytics tools, or CRM systems. This capability is particularly valuable in scenarios involving high-volume link generation, targeted content distribution, and real-time link performance analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
y_gy: {
type: "app",
app: "y_gy",
}
},
async run({steps, $}) {
const data = {
"destination_url": "https://pipedream.com",
}
return await axios($, {
method: "post",
url: `https://api.y.gy/api/v1/link`,
headers: {
"api-key": `${this.y_gy.$auth.api_key}`,
},
data,
})
},
})