Quickly and easily setup refer a friend style giveaways, sweepstakes, and product launches!
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
Adds a new lead or modifies an existing lead on your campaign. See the documentation.
Create a new channel in Microsoft Teams. See the docs here
Remove a lead from your campaign. See the documentation.
The KickoffLabs API enables you to automate your referral marketing campaigns by integrating with their service. With this API, you can programmatically manage campaigns, leads, and rewards, allowing you to dynamically respond to new sign-ups or reward achievements. By connecting the KickoffLabs API to Pipedream, you can create powerful workflows that react to events in real-time, synchronize data across multiple services, or even trigger custom logic tailored to your marketing strategy.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kickofflabs: {
type: "app",
app: "kickofflabs",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.kickofflabs.com/v1/${this.kickofflabs.$auth.campaign_id}/subscribe`,
headers: {
"Content-Type": `application/json`,
},
params: {
email: `sergio@pipekit.pro`,
api_key: `${this.kickofflabs.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})