with Referrizer and Outseta?
Emit new event when a new loyalty reward has been created in Referrizer.
Emit new event when a new loyalty reward has been redeemed by a contact.
Emit new event when an account is added. See the documentation
Adds a new loyalty reward to the Referrizer system. See the documentation
Create a visit to an existing contact 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`,
},
})
},
})
The Outseta API provides a versatile set of endpoints for interacting with a company's CRM, subscription billing, customer support, and email marketing functionalities. With this API on Pipedream, you can automate tasks, synchronize data across platforms, and build powerful workflows that cater to various aspects of SaaS business operations. Pipedream's serverless execution model enables integrating Outseta's services with numerous other apps without managing infrastructure, focusing on logic and efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
outseta_: {
type: "app",
app: "outseta",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.outseta.$auth.domain}.outseta.com/api/v1/crm/people`,
headers: {
"Authorization": `Outseta ${this.outseta.$auth.api_key}:${this.outseta.$auth.api_secret}`,
"Content-Type": `application/json`,
},
})
},
})