Reddit is a network of communities based on people's interests. Find communities you're interested in, and become part of an online community!
Get a unique address where you can send emails to trigger your workflow.
Emit new event each time a new comment is added to a subreddit.
Emit new event each time a new hot post is added to the top 10 items in a subreddit.
List subreddits based on a search criteria. See the docs here
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com.
The Reddit API unlocks the potential to automate interactions with one of the largest online communities. With Pipedream, you can tap into the Reddit ecosystem to monitor trends, engage with audiences, or curate content. Whether it's tracking mentions of your brand, auto-posting to subreddits, or gathering data for analysis, the API offers a breadth of functionalities — from getting posts and comments to creating new threads and managing account settings.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
reddit: {
type: "app",
app: "reddit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://oauth.reddit.com/api/v1/me`,
headers: {
Authorization: `Bearer ${this.reddit.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});