Real Simple Syndication
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
Retrieve multiple RSS feeds and return a merged array of items sorted by date See documentation
This endpoint tracks an event for a specific user. If the user profile doesn't exist Vero will create it. See the documentation
The RSS app allows users to automatically fetch and parse updates from web feeds. This functionality is pivotal for staying abreast of content changes or updates from websites, blogs, and news outlets that offer RSS feeds. With Pipedream, you can harness the RSS API to trigger workflows that enable a broad range of automations, like content aggregation, monitoring for specific keywords, notifications, and data synchronization across platforms.
module.exports = defineComponent({
props: {
rss: {
type: "app",
app: "rss",
}
},
async run({steps, $}) {
// Retrieve items from a sample feed
const Parser = require('rss-parser');
const parser = new Parser();
const stories = []
// Replace with your feed URL
const url = "https://pipedream.com/community/latest.rss"
const feed = await parser.parseURL(url);
const { title, items } = feed
this.title = title
if (!items.length) {
$end("No new stories")
}
this.items = items
},
})
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,
})
},
})