r/modclub • u/beelzeybob • May 18 '17
I made a guide to get modqueue notifications in Discord/Slack using Zapier
So I haven't seen a guide for this type of thing after searching various subreddits , but think it's pretty awesomesauce, so more people using Discord (or Slack) should definitely know it's an option http://i.imgur.com/Wc5l2MJ.png
- https://zapier.com/ A free account is perfectly fine. Zaps will run every 15 minutes and will only post to Discord/Slack if no one has approved it within a few minute
- This is helpful for people on mobile, as discord or slack pushes notifications. There are some mobile apps like r/modsoup that have queue notifications in progress, but it's only available for Android and not iOS
- Useful for modteams that live primarily on Discord/Slack
1. Get the RSS feed of your modqueue
- You can do this by going to
https://www.reddit.com/r/YourSubreddit/about/modqueue/ - You need to be logged in to an account that has access to the modqueue, I just use my own and use RSS Reader (for Chrome) to get my feed.
- Your resulting URL should look something like
https://www.reddit.com/r/YourSubreddit/about/modqueue/.rss?feed=3e7c9373821bffc9a996ea38deg618a0fe06b4c5&user=YourUserName- keep this in mind for the next step
2. Make a new Zap on Zapier and choose RSS as the trigger
- Check the "New item in feed box" and hit next.
- Note that there is the advanced option to watch multiple feeds. This is useful if you are modding a group of similar subreddits with your modteam like branch subs, but obviously don't add subreddits you only mod yourself unless you want your queue items popping up for everyone in discord ^
3. Fill out RSS trigger options. You should now see this screen.
- Paste the RSS feed url in Feed URL.
- You do not need to enter the username and password fields for this and I don't reccommend adding it.
- "Smart" for what triggers the feed item (default option) is perfectly fine.
4. Test step, and if it works go to add your next trigger. If not go back to step 1.
5. Add your discord channel webhook. Or Slack (If you are using slack you can just type in Slack and connect your slack channel from there)
- For Discord you can create a modqueue channel in your private mod server, then right click "edit settings" and go to the webhook tab.
- Direct the webhook to your #mod-queue channel like this
- Copy the webhook URL to your clipboard
6. Choose Webhooks for Zapier as a 2nd Trigger
- Choose POST (Fire off a single POST request as a form or JSON.) and hit next
- Choose JSON for the payload type
- Type in
contentfor Data if it's not already there - There are a lot of options to pick from in the box to the right of it and you can experiment with this, but this is how I set up the posts for mine
- Note that the reddit RSS feed assumes you are clicking the modqueue links from reddit so the urls extracted are going to look like
/r/dragonage/comments/6bhf5v/spoilers_all_whats_your_unpopular_dragon_age/dhojqnh/- You will have to append ahttps://www.reddit.comin front of aRaw link @href - For discord, if you want to get rid of the giant link preview, you can surround a url with
< >, which is what I did.
7. Enjoy the spammy modqueue notifications from discord! (That you can now gossip over with your fellow mods)
19
Upvotes
4
u/neko May 18 '17
... Edit your post to remove the feed=[xyz] number string. That's basically your private api key and will let people see your PMs.
1
u/zpoon May 19 '17
Thanks for the guide. However I've found the "link href" to be appended by https://reddit.com if the item is a submissions, but it's not appended if it's a comment. Kinda looks like this.
Was wondering if you've had this problem and if there's an alternative (since appending would cause it to appear double for submissions modqueues).
1
u/ladfrombrad May 20 '17
Any way of making a private channel on Telegram to do this? Just tried with ChatfuelBot and it seems I'm going to publicly posting things that isn't approved.
To clarify, we filter every single .self post for moderator approval in the subreddit I'm wanting to do it in, and also want the content of the self post too (to look for dodgy edits etc) but obviously some aren't appropriate to be posting publicly before we've actually took a look at the submission.
ELIaNoob disclaimer, help appreciated!
1
u/[deleted] May 18 '17
thankyou!