Real Simple Syndication
Adds a new contact to a list in the Octopush SMS Gateway. See the documentation
Retrieve multiple RSS feeds and return a merged array of items sorted by date See 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 Octopush SMS API lets you programmatically send text messages, providing a powerful way to reach out to customers directly on their phones. With Pipedream, you can create workflows that trigger SMS sending via Octopush based on various events, streamlining communication processes. You could use this API to send alerts, reminders, verification codes, or marketing messages, and integrate with other apps to respond to emails, form submissions, or updates in a CRM.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
octopush_sms: {
type: "app",
app: "octopush_sms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.octopush.com/v1/public/wallet/check-balance`,
headers: {
"Content-Type": `application/json`,
"api-login": `${this.octopush_sms.$auth.api_login}`,
"api-key": `${this.octopush_sms.$auth.api_key}`,
},
})
},
})