Real Simple Syndication
Retrieve multiple RSS feeds and return a merged array of items sorted by date See documentation
Searches for a contact by email and returns contact details if found. See the documentation
Removes a contact from a specific list by email or contact ID. 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
},
})
The Freshmarketer API enables automation of marketing efforts, providing tools to manage campaigns, leads, and more. In Pipedream, you can leverage these capabilities to create custom workflows that interact with Freshmarketer's data and connect it to other services. Combining Freshmarketer with Pipedream's serverless platform allows you to automate actions like syncing contacts, triggering campaigns based on external events, or analyzing marketing performance with external analytics tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
freshmarketer: {
type: "app",
app: "freshmarketer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.freshmarketer.$auth.domain}.myfreshworks.com/crm/sales/api/sales_accounts/filters`,
headers: {
"Authorization": `Token token=${this.freshmarketer.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})