RSS

Real Simple Syndication

Integrate the RSS API with the Threads API

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

Delete a Thread with Threads API on New Item in Feed from RSS API
RSS + Threads
 
Try it
Post a Chat Message with Threads API on New Item in Feed from RSS API
RSS + Threads
 
Try it
Post a Thread with Threads API on New Item in Feed from RSS API
RSS + Threads
 
Try it
Delete a Thread with Threads API on New item from multiple RSS feeds from RSS API
RSS + Threads
 
Try it
Delete a Thread with Threads API on Random item from multiple RSS feeds from RSS API
RSS + Threads
 
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
Delete a Thread with the Threads API

Delete a thread

 
Try it
Merge RSS Feeds with the RSS API

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

 
Try it
Post a Chat Message with the Threads API

Post a message to a chat. First, make sure you add your Bot user to the chat.

 
Try it
Post a Thread with the Threads API

Post a new thread to a specific channel

 
Try it

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 Threads

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    threads: {
      type: "app",
      app: "threads",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://trythreads.com/api/public/ping`,
      headers: {
        Authorization: `Bearer ${this.threads.$auth.api_key}`,
      },
    })
  },
})