with Customer.io and Growsurf?
Add people to a manual segment by ID. You are limited to 1000 customer IDs per request. See the docs here
Sends, tracks a customer event to Customer io. See the docs here
Customer.io is a versatile automation tool that allows you to harness the power of email, SMS, and push notifications to create personalized customer experiences. With its comprehensive API, Customer.io enables you to track customer interactions, segment audiences, and trigger targeted communications based on user behavior and data. By leveraging Pipedream, you can easily connect Customer.io to various other services and APIs to automate complex workflows, synthesize data, and respond to events in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
customer_io: {
type: "app",
app: "customer_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://track.customer.io/api/v1/accounts/region`,
auth: {
username: `${this.customer_io.$auth.site_id}`,
password: `${this.customer_io.$auth.api_key}`,
},
})
},
})
GrowSurf is a referral platform that can amplify your growth efforts by incentivizing word-of-mouth marketing. By harnessing the GrowSurf API on Pipedream, you can automate campaign management, track participant performance, reward achievements, and sync referral data across your marketing stack. This seamless integration enables personalized engagement with your audience, targeted follow-ups, and real-time analytics for informed decision-making.
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}`,
},
})
},
})