UniSender is a simple and easy-to-use service for email marketing.
Retrieve multiple RSS feeds and return a merged array of items sorted by date See documentation
This method adds contacts (email address and/or mobile phone numbers) of the contact to one or several lists, and also allows you to add/change values of additional fields and tags. See the docs here
This method unsubscribes the contact email or phone number from one or several lists. See the docs here
UniSender is a platform that empowers users to execute email and SMS marketing campaigns effectively. With the UniSender API on Pipedream, you can automate the process of managing contacts, designing emails, initiating campaigns, and analyzing the results. Implementing workflows that respond to subscriber actions, synchronize customer data across platforms, or dynamically update marketing lists becomes straightforward, enhancing the efficiency and personalization of your marketing efforts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
unisender: {
type: "app",
app: "unisender",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.unisender.com/en/api/getUserInfo`,
params: {
format: `json`,
api_key: `${this.unisender.$auth.api_key}`,
},
})
},
})
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
},
})