RSS

Real Simple Syndication

Go to site

Integrate the RSS API with the Ahrefs API

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

Connect RSS

// 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 Ahrefs

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://apiv2.ahrefs.com`,
  params: {
    output: `json`,
    token: `${auths.ahrefs.oauth_access_token}`,
    from: `subscription_info`,
  },
})