Skip to content

Instantly share code, notes, and snippets.

Forked from jagrosh/
Created December 19, 2021 12:54
Show Gist options
  • Save wout/9aaa96a506ca28000df49baf7eba5a5e to your computer and use it in GitHub Desktop.
Save wout/9aaa96a506ca28000df49baf7eba5a5e to your computer and use it in GitHub Desktop.
Simple Webhook Tutorial (Twitter -> Discord)

Simple Webhook Tutorial

In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel

Step 1 - Register on Zapier

  1. Go to and create an account (if you don't already have one).

Step 2 - Make a Discord Webhook

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

  2. In the settings for that channel, find the Webhooks option 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! WebhookDiscord

  3. You can name the webhook whatever you want, and give it any image; for this tutorial we override them later anyway. Keep track of the URL; we'll need it later.

Step 3 - Make a Zap

  1. Click the "Make a Zap" button. When selecting a trigger app, search for Twitter and select "My Tweet" and then Save + Continue TwitterTriggers

  2. Connect your twitter account (if you haven't already) and Save & Continue

  3. Make sure you've tweeted at least once, and press the Fetch & Continue button, and then Continue if it succeeds.

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

  5. Fill in the template as shown below. Make sure to use the webhook URL we got from Step 2. 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. Template
    Also make sure to scroll down and fill this one in exactly like this: ContentType

  6. Test to make sure that it's working. If successful, it will post to your Discord channel Success

  7. Finish and turn the Zap on, so it's always running!

Other Resources

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