Game-changing multi-channel messaging tools for the next generation of marketers.
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
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
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,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// 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
},
})