Referral software for B2C, FinTech, and SaaS. Our customers see 312% ROI, 30% new leads, 15% ARR growth from referrals.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Growsurf API lets you run powerful referral programs. With referral programs,
you can reward your users for referring new users to your product or service.
You can use the API to create and manage your referral programs, track
referrals, and pay out rewards.
Here are some examples of what you can build with the Growsurf API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
growsurf: {
type: "app",
app: "growsurf",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.growsurf.com/v2/campaigns`,
headers: {
Authorization: `Bearer ${this.growsurf.$auth.api_key}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})