with Tapfiliate and MailGenius?
Returns daily limit for api token, how many email tests are used in last 24 hours and how many are still remaining for use. See the documentation
Returns generated test email, limit exceeded if daily limit is reached. 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: {
mailgenius: {
type: "app",
app: "mailgenius",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mailgenius.com/external/api/audits`,
headers: {
Authorization: `Bearer ${this.mailgenius.$auth.api_token}`,
},
})
},
})