MySQL

Open-source relational database

Go to site

Integrate the MySQL API with the Mailgun API

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

Send Mail

Sends an email

 
Try it
Add Member To List

Adds a new member to a mail list

 
Try it

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 Mailgun

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://${auths.mailgun.region && auths.mailgun.region === "EU" ? "api.eu" : "api"}.mailgun.net/v3/domains`,
  auth: {
    username: `api`,
    password: `${auths.mailgun.api_key}`,
  },
})