-
Find the Discord channel in which you would like to send content to
-
In the settings for that channel, Click the Webhooks tab and create a new 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.
- Go to https://zapier.com/ and create an account (if you don't already have one).
-
Click the "Make a Zap" button. When selecting a trigger app, search for Push and select "New Push With Text" and then Save + Continue
-
Install the Zapier extension (if you haven't already) and Continue
-
Click Skip & Continue or Do the test if you'd like. After click Continue and move on to the next step
-
For the Action App, select Webhooks, and then pick POST
-
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.
Make sure fill in the header part exactly like this -
Test to make sure that it's working. If successful, it will post to your Discord channel
-
Finish and turn the Zap on, so it's always running!
By adding more Actions you can post to multiple channels at once with the same push. The advantage of this method is being able to customize the webhook username/avatar for every channel if you'd like.
This tutorial relies on the push extension downloaded earlier. Below I'll show how to use it. Pretty simple so don't worry
-
Click on the extension to open it. You should see a window like below if you're logged into zapier and your zap is on
-
If everything was done right you should see your Zap that you made. Click on the Zap name (if any) and you should see a text box like below.
Think of the text box as Discord, any regular Discord formatting (Markdown) you put into it will come out in Discord as if you were posting it.
- Official Documentation: https://github.com/hammerandchisel/discord-api-docs/blob/master/docs/resources/Webhook.md and https://github.com/hammerandchisel/discord-api-docs/blob/master/docs/resources/Channel.md#embed-object
- Github Tutorial: https://gist.github.com/jagrosh/5b1761213e33fc5b54ec7f6379034a22)
- Tutorial Template Forked from Jagrosh: https://gist.github.com/jagrosh/5b1761213e33fc5b54ec7f6379034a22)
how do i add an embed? im struggling