Real Simple Syndication
Emit new event when a new product is created. See the docs.
Emit new event when a new purchase order is created. See the docs.
Insert or update a product in the database. See the docs.
Retrieve multiple RSS feeds and return a merged array of items sorted by date See documentation
Insert or update a purchase order in the database. See the docs.
Insert or update a sales order in the database. See the docs.
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
},
})
Megaventory is a robust inventory management API allowing for detailed tracking of products, orders, and the supply chain. You can automate the updating of stock levels, manage sales and purchase orders, and generate detailed reports. With Megaventory and Pipedream, you can craft automation workflows to streamline inventory operations, synchronize data across platforms, and trigger actions based on inventory changes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
megaventory: {
type: "app",
app: "megaventory",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.megaventory.com/v2017a/json/reply/ProductGet?APIKEY=${this.megaventory.$auth.api_key}`,
headers: {
"Authorization": `Token token=${this.megaventory.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})