Real Simple Syndication
Make a GET request to https://api.sendpulse.com/emails/{email}
Retrieve multiple RSS feeds and return a merged array of items sorted by date See documentation
Make a POST request to https://api.sendpulse.com/addressbooks/{id}/emails/unsubscribe
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 SendPulse API taps into the power of multi-channel marketing automation, enabling you to manage mailing lists, send emails, and analyze campaign performance. By leveraging Pipedream, you can stitch SendPulse into a network of apps to create automated workflows. Imagine syncing new sign-ups from your CRM to SendPulse, triggering personalized email sequences based on customer behavior, or pulling campaign stats into your analytics dashboard - All in real-time and without writing a single line of server-side code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendpulse: {
type: "app",
app: "sendpulse",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sendpulse.com/senders`,
headers: {
Authorization: `Bearer ${this.sendpulse.$auth.oauth_access_token}`,
},
})
},
})