RSS

Real Simple Syndication

Integrate the RSS API with the Bash API

Setup the RSS API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate RSS and Bash remarkably fast. Free for developers.

Run Bash Code with Bash API on New Item in Feed from RSS API
RSS + Bash
 
Try it
Run Bash Code with Bash API on New item from multiple RSS feeds from RSS API
RSS + Bash
 
Try it
Run Bash Code with Bash API on Random item from multiple RSS feeds from RSS API
RSS + Bash
 
Try it
New Item in Feed from the RSS API

Emit new items from an RSS feed

 
Try it
New Item From Multiple RSS Feeds from the RSS API

Emit new items from multiple RSS feeds

 
Try it
Random item from multiple RSS feeds from the RSS API

Emit a random item from multiple RSS feeds

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it
Merge RSS Feeds with the RSS API

Retrieve multiple RSS feeds and return a merged array of items sorted by date See documentation

 
Try it

Overview of RSS

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.

Connect RSS

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS