Skip to content

Instantly share code, notes, and snippets.

@jagrosh
Last active December 4, 2023 20:28
Show Gist options
  • Save jagrosh/7606268fc9f1d3e90ce9efc79294f960 to your computer and use it in GitHub Desktop.
Save jagrosh/7606268fc9f1d3e90ce9efc79294f960 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 https://zapier.com/ 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

Copy link

ghost commented Nov 23, 2020

Yeah..... not helpful because i am not overpaying for this.

@richardr35
Copy link

Easy to follow and works fine so far. This works as of 4/21

@PaimonWheeWhee
Copy link

Yea it got verified like a few days after the verification came out lol

@aboutyurin
Copy link

Thanks :D

@xoussamax
Copy link

now twitter is premium on zapier and ifttt

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