with Vero and Pendo?
This endpoint creates a new user profile if the user doesn't exist yet. Otherwise, the user profile is updated based on the properties provided. See the documentation
This endpoint tracks an event for a specific user. If the user profile doesn't exist Vero will create it. See the documentation
Vero's API allows you to automate email marketing tasks such as managing campaigns, users, and events. Integrating Vero with Pipedream enables you to create workflows that respond to various triggers, like webhooks or schedules, and carry out actions such as sending emails, segmenting users, or tracking events. This integration can be a powerful tool to personalize your marketing efforts and respond in real-time to your customers' interactions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vero: {
type: "app",
app: "vero",
}
},
async run({steps, $}) {
const data = {
"auth_token": `${this.vero.$auth.auth_token}`,
"id":"1234",
"email":"test@getvero.com",
"channels": [{"type": "push", "address": "UNIQUE_DEVICE_TOKEN", "platform": "android"}],
"data": {"first_name": "John", "last_name": "Doe"}
}
return await axios($, {
method: "POST",
url: `https://api.getvero.com/api/v2/users/track`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
The Pendo API provides a suite of endpoints that allow you to tap into user insights and product data collected by Pendo. With this API, you can automate the retrieval of visitor analytics, track feature usage, and manage guides and feedback within your application. When used within Pipedream, you can craft workflows that respond to this data in real-time, connect with other apps, and streamline your user-centric operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pendo: {
type: "app",
app: "pendo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.pendo.$auth.subdomain}.pendo.io/api/v1/report`,
headers: {
"x-pendo-integration-key": `${this.pendo.$auth.integration_key}`,
},
})
},
})