Skip to content

Instantly share code, notes, and snippets.

@ItsRauf
Last active April 13, 2022 08:20
Show Gist options
  • Save ItsRauf/48f252c931ac394b1395312b61b8e35b to your computer and use it in GitHub Desktop.
Save ItsRauf/48f252c931ac394b1395312b61b8e35b to your computer and use it in GitHub Desktop.
Pipedream tutorial
  • Visit Pipedream
  • Sign in with Google or Github

signup

new workflow

Twitch Source

  • In the triggers box, search for and click on Twitch

event source

  • Select Streams by Streamer

streams by streamer

  • Login with Twitch by opening the dropdown and using the Connect With Twitch button

connect with twitch

  • Scroll down to Timer and choose 1 Minute

timer

  • Insert the username(s) of the streamer(s) you would like updates for in Streamer Login Names

streamer names

  • Hit the Create Source button

create source

Discord Webhook

Portions of this section were reused from the Twitter to Discord tutorial so it may not look the same as your Pipedream. However, the steps should still be the same

  • Hit the + button to add a step

add step

  • In the search type in "Discord Webhook" and choose the first result

discord webhook

  • Connect with Discord by hitting the button

connect webhook

  • Choose the server and channel you want to send to

discord oauth

  • Back on Pipedream add a message param

message param

  • Set the message content to https://twitch.tv/{{event.user_login}}

message content

  • Hit Deploy at the top and you're all done

deploy

Test the Webhook

  • In the Twitch step open the test dropdown
  • Hit the Send Test Event button

how to test

  • If everything works, you should get

twitch in discord

new workflow

Twitter Source

  • Choose Create Event Source

event source

  • Select Twitter from the app list
  • Select My Tweets from the source list

dropdowns

  • Login with Twitter by using the Connect With Twitter button

connect with twitter

  • Scroll down to Timer and choose 1 Minute

timer

  • Hit the Create Source button

create source

Discord Webhook

  • Hit the + button to add a step

add step

  • In the search type in "Discord Webhook" and choose the first result

discord webhook

  • Connect with Discord by hitting the button

connect webhook

  • Choose the server and channel you want to send to

discord oauth

  • Back on Pipedream add a message param

message param

  • Set the message content to https://twitter.com/{{event.user.screen_name}}/status/{{event.id_str}}

message content

  • Hit Deploy at the top and you're all done

deploy

Test the webhook

  • In the twitter step open the test dropdown
  • Hit the Send Test Event button

how to test

  • If everything works, you should get

twitter in discord

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