Manage and track your ambassador, influencer and affiliate marketing programs with ease.
Emit new event when a new message is posted to one or more channels
Emit new event when a message was posted in a direct message channel
Emit new events on new Slack interactivity events sourced from Block Kit interactive elements, Slash commands, or Shortcuts.
Emit new event when a specific keyword is mentioned in a channel
Get information about an affiliate. You can get an affiliate's information using their ID or code. See the docs here
Send a message to a public or private channel. See the documentation
Allows you to manually credit an affiliate with any commission amount. See the docs here
Configure custom blocks and send to a channel, group, or user. See the documentation.
Refersion is a powerful affiliate tracking platform that streamlines the process of managing, tracking, and growing your affiliate network. Through its API, you can automate affiliate registrations, commission tracking, and payout processes. Pipedream's serverless platform allows you to connect Refersion with hundreds of other apps to automate workflows, sync data across platforms, and respond to events in real time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
refersion: {
type: "app",
app: "refersion",
}
},
async run({steps, $}) {
const data = {
"limit": `3`,
"page": `1`,
}
return await axios($, {
method: "post",
url: `https://api.refersion.com/v2/affiliate/list`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
"Refersion-Public-Key": `{{custom_fields.api_key}}`,
"Refersion-Secret-Key": `{{custom_fields.secret}}`,
},
data,
})
},
})
The Pipedream Slack app enables you to build event-driven workflows that interact with the Slack API. Once you authorize the Pipedream app's access to your workspace, you can use Pipedream workflows to perform common Slack actions or write your own code against the Slack API.
The Pipedream Slack app is not a typical app. You don't interact with it directly as a bot, and it doesn't add custom functionality to your workspace out of the box. It makes it easier to automate anything you'd typically use the Slack API for, using Pipedream workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
slack: {
type: "app",
app: "slack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://slack.com/api/users.profile.get`,
headers: {
Authorization: `Bearer ${this.slack.$auth.oauth_access_token}`,
},
})
},
})