Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple Zapier RSS to Discord webhook(s)

This tutorial is based on a realworld example


1) Initial Setup

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send content to

  2. In the settings for that channel, Click the Webhooks tab and create a new webhook. Webhook

Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! Additionally the customization options in Discord will be overwritten by Zapier so don't bother customizing that part.


2) Zapier

Step 1 - Register on Zapier

  1. Go to https://zapier.com/ and create an account (if you don't already have one).

Step 2 - Make a Zap

  1. Click the "Make a Zap" button. When selecting a trigger app, search for RSS and select "New Item in Feed" and then Save + Continue PushSelect

  2. Begin inputting the configuration, an example is shown below

Example

  1. Continue forward, do the test and make sure it's working. After that move on to the next step

  2. For the Action App, select Webhooks, and then pick POST

Webhooks Post

  1. Fill in the template as shown below. Make sure to use the webhook URL we got from earlier. Also, in the "Data" section, you can edit the fields, but don't edit the names of the fields, or Discord might not accept the input. Config
    Make sure fill in the header part exactly like this Headers

  2. Click continue when done and then Test to make sure that it's working. If successful, it will post to your Discord channel Success

  3. Finish and turn the Zap on, so it's always running! With Zapier RSS updates may take anywhere from a few seconds to 5~ minutes.

End Notes

By adding more Actions you can post to multiple channels at once with the same RSS. The advantage of this method is being able to customize the webhooks username/avatar for every channel if you'd like.


Other Resources / Credits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment