Influence word of mouth instead of waiting for it to happen.
ReferralRock's API unlocks the power of referral marketing within your applications, allowing you to automate the integration of your referral programs into your business processes. By leveraging this API on Pipedream, you can create dynamic, serverless workflows that respond to events in ReferralRock, synchronize data with other platforms, reward customer loyalty, and track the performance of your referral campaigns in real-time. This enables a seamless blend of referral marketing with your existing tech stack.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
referralrock: {
type: "app",
app: "referralrock",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.referralrock.com/api/programs`,
auth: {
username: `${this.referralrock.$auth.public_key}`,
password: `${this.referralrock.$auth.private_key}`,
},
})
},
})
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.