Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Emit new event when a new loyalty reward has been created in Referrizer.
Emit new event when a new loyalty reward has been redeemed by a contact.
Emit new event when a new message is posted in a channel
Create a new channel in Microsoft Teams. See the docs here
Adds a new loyalty reward to the Referrizer system. See the documentation
Create a visit to an existing contact in Referrizer. 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 Referrizer API lets you automate the engagement and tracking of your referral marketing campaigns. By integrating with Pipedream, you can stitch the Referrizer API into workflows that streamline your marketing efforts, track referrals, manage rewards, and sync customer data across multiple platforms. Pipedream’s serverless execution model allows you to focus on defining the logic without worrying about the infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
referrizer: {
type: "app",
app: "referrizer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.referrizer.com/v1/contacts`,
headers: {
Authorization: `Bearer ${this.referrizer.$auth.api_token}`,
"Accept": `application/json`,
},
})
},
})