with Referrizer and RunSignup?
Adds a new loyalty reward to the Referrizer system. See the documentation
Create a visit to an existing contact in Referrizer. See the documentation
Modify the details or status of an existing loyalty reward in Referrizer. See the documentation
The Referrizer API lets you automate the engagement and tracking of your referral marketing campaigns. By integrating with Pipedream, you can stitch the Referrizer API into workflows that streamline your marketing efforts, track referrals, manage rewards, and sync customer data across multiple platforms. Pipedream’s serverless execution model allows you to focus on defining the logic without worrying about the infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
referrizer: {
type: "app",
app: "referrizer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.referrizer.com/v1/contacts`,
headers: {
Authorization: `Bearer ${this.referrizer.$auth.api_token}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
runsignup: {
type: "app",
app: "runsignup",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://runsignup.com/Rest/v2/auth-info/entity-info.json`,
headers: {
"x-rsu-api-secret": `${this.runsignup.$auth.api_secret}`,
},
params: {
rsu_api_key: `${this.runsignup.$auth.api_key}`,
},
})
},
})