Reddit

Reddit is a network of communities based on people's interests. Find communities you're interested in, and become part of an online community!

Go to site

Integrate the Reddit API with the Mailgun API

Setup the Reddit API trigger to run a workflow which integrates with the Mailgun API. Pipedream's integration platform allows you to integrate Reddit and Mailgun remarkably fast. Free for developers.

Send Mail

Sends an email

 
Try it
GET /api/live/happening_now

Get some basic information about the currently featured live thread.

 
Try it
DELETE /api/v1/{subreddit}/emoji/{emoji_name}

Delete a Subreddit emoji. Remove the emoji from Cassandra and purge the assets from S3 and the image resizing provider.

 
Try it
GET /api/live/by_id/{names}

Get a listing of live events by id.

 
Try it
GET /api/mod/conversations/:conversation_id/user

Returns recent posts, comments and modmail conversations for a given user.

 
Try it

Connect Reddit

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://oauth.reddit.com/api/v1/me`,
  headers: {
    Authorization: `Bearer ${auths.reddit.oauth_access_token}`,
    "User-Agent": `pipedream:v0.0.1 (by /u/pipedream-oauth)`,
  },
})

Connect Mailgun

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://${auths.mailgun.region && auths.mailgun.region === "EU" ? "api.eu" : "api"}.mailgun.net/v3/domains`,
  auth: {
    username: `api`,
    password: `${auths.mailgun.api_key}`,
  },
})

Community Posts

Building a Reddit Workflow with Pipedream
Building a Reddit Workflow with Pipedream
Almost four years ago I blogged about a demo I built using Reddit's API. The demo was a multi-user application that made use of Mongo for persistence and Passport.js for user authentication. You would login, select subreddit's to subscribe to, and then once a day it would email you the new posts from that subreddit. This was built in a "traditional" Node.js style with a server running full time to process requests. I thought it would be fun to build this again (although slightly different) using Pipedream's support for working with the Reddit API. I built two different versions of a simple workflow I'd like to share below.
Updating my Reddit Workflow with Pipedream
Updating my Reddit Workflow with Pipedream
Back almost exactly a month ago, I blogged about using Pipedream to build a Reddit email report. The idea was that I wanted a daily email of posts from my subscribed subreddits for the past 24 hours of content. The implementation was a bit complex. I used one workflow to handle "get a days worth of content from subreddit" as a general "API" and another workflow connected to my authentication. It handles getting my subscriptions, hitting the API, and then generating the email. This worked well, but after a while of actually getting the email, I noticed some problems. So I decided to fix that.