What happened to the Discord webhook?

@enigmalea thank you for sharing your feedback. I hear you on not wanting to add a bot to your Server. You can still send messages via webhook into Discord from Pipedream, it’s just not pre-packaged in an action. You can create a webhook from the channel’s settings, then use that URL in a code step or using the HTTP request action.

For example, here’s a basic text message:

import { axios } from "@pipedream/platform"
export default defineComponent({
  async run({steps, $}) {
    const webhookUrl = 'https://discord.com/api/webhooks/...'
    const message = 'hello, world'
    await axios($, {
      url: `${webhookUrl}`,
      headers: {
        'Content-Type': 'application/json'
      },
      method: 'post',
      data: {
        content: message
      }
    })
  },
})

Let me know if that helps unblock you.

Thanks