with Tapfiliate and Domain Group?
Emit new event when an agency listing is updated. See the documentation
Emit new event when a new agency is created. See the documentation
Emit new event when a new agency listing is created. See the documentation
Creates a new business listing. See the documentation
Creates a new commercial listing. See the documentation
Creates a new residential listing. 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: {
domain_group: {
type: "app",
app: "domain_group",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.domain_group.$auth.api_url}/v1/me`,
headers: {
Authorization: `Bearer ${this.domain_group.$auth.oauth_access_token}`,
},
})
},
})