MySQL

Open-source relational database

Go to site

Integrate the MySQL API with the RSS API

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

Connect MySQL

const mysql = require('mysql2/promise');

const { host, port, username, password, database } = auths.mysql

const connection = await mysql.createConnection({
  host,
  port,
  user: username,
  password,
  database,
});

const [rows, fields] = await connection.execute('SELECT NOW()');
console.log(rows)

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