Skip to content

Instantly share code, notes, and snippets.

@Tommyfoxy2
Last active December 6, 2023 06:44
Show Gist options
  • Save Tommyfoxy2/69fd3561b9e122ee0a9d12b19c204e3e to your computer and use it in GitHub Desktop.
Save Tommyfoxy2/69fd3561b9e122ee0a9d12b19c204e3e to your computer and use it in GitHub Desktop.
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

@ibnu-ja
Copy link

ibnu-ja commented Sep 17, 2020

webhook is now premium app. Any alternative?

@MMK21Hub
Copy link

discord.rss worked well for me

@TheDefinitionist
Copy link

TheDefinitionist commented Oct 16, 2020

I'm looking for a source where I can create RSS feeds from its ground up in the first place from sites that don't have their own feeds, and not how to apply a feed to a webhook. (it's a great tutorial though)

FetchRSS is the only one I came across but buggy and most features are paid. And I prefer an API to work in backend - not as a webtool.

@ncodee
Copy link

ncodee commented Nov 6, 2020

Are there any alternatives to Zapier? The webhook is now a premium feature, unfortunately.

@ibnu-ja
Copy link

ibnu-ja commented Nov 16, 2020

Are there any alternatives to Zapier? The webhook is now a premium feature, unfortunately.

as @MMK21Hub said, discord.rss worked well. I eventually deploy my own bot on my server.

@ehgarcia
Copy link

ehgarcia commented May 7, 2021

hey guys! Zapier doesn't support any more webhook in his free plan. Instead i use https://monitorss.xyz/. I hope this is information was useful.
Till next time

@Shares5
Copy link

Shares5 commented Jun 26, 2021

@gospodar1453

How can I send embed messages to discord by using zapier rss? I couldn't find a way.

On step 4 where you select 'POST' you can change it to "Custom Request" then in the next section choose POST in the method dropdown, then you can follow the guide above except for the 'payload type' and 'data' sections which change into a textbox where you can paste your own JSON, allowing you to include a rich embed, here's an example image of how mines set up:
image

I used these two pages to figure out the syntax I needed for the json, for your copy pasting pleasure ;)
https://birdie0.github.io/discord-webhooks-guide/structure/embeds.html
https://gist.github.com/Birdie0/78ee79402a4301b1faf412ab5f1cdcf9

Example result:
image

hope that helps.

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