with Tapfiliate and Campaign Monitor?
Creates a new subscriber on a specific list. See the documentation
Sends an intelligent transactional email to a specified recipient. See the documentation
Removes a subscriber from a mailing list given their email address. See the documentation
The Tapfiliate API lets you build custom affiliate marketing programs, handling tracking, attribution, and commission management for your business. By leveraging it on Pipedream, you can automate affiliate-related processes, sync affiliate data with other tools, and create real-time, event-driven workflows. Whether you're syncing affiliate data to a CRM, sending customized email notifications, or updating affiliate info across platforms, Pipedream's serverless platform streamlines these tasks with minimal setup.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tapfiliate: {
type: "app",
app: "tapfiliate",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tapfiliate.com/1.6/affiliates/`,
headers: {
"X-Api-Key": `${this.tapfiliate.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
campaign_monitor: {
type: "app",
app: "campaign_monitor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.createsend.com/api/v3.3/primarycontact.json`,
headers: {
Authorization: `Bearer ${this.campaign_monitor.$auth.oauth_access_token}`,
"Content-Type": `application/json; charset=utf-8`,
},
})
},
})