Discord Webhook

Use this app to send messages to a channel using Discord's incoming webhooks

Go to site

Integrate the Discord Webhook API with the MySQL API

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

Send Message to Channel

Send a message to the channel tied to your incoming webhook. At least one of message OR embeds is required.

 
Try it

Connect Discord Webhook

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://discord.com/api/users/@me`,
  headers: {
    Authorization: `Bearer ${auths.discord_webhook.oauth_access_token}`,
  },
})

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)