Procedures and concepts for the Reddit integration.
Overview
Reddit is a vast social media platform where communities discuss topics through posts and comments. This integration allows automated content posting, comment monitoring, subreddit management, and community engagement activities. Enhance social media presence and automate Reddit community management.
Prerequisites
1. Required Books
The following Book(s) need to be added to your agent so it can learn and understand the automation procedures defined within them:
Reddit
How to Add the Book(s)
Go to Books → All Books.
Search for the name of the book and click on it.
Click on Install or Add Connection to add the book to your agent.
If adding a connection, you'll be prompted for connectivity details.
Connectivity
This section outlines the available methods for connecting to the Book, along with the required configuration details for each.
Connect using Client ID and Client Secret
Connects to Reddit API using client credentials.
Client ID
The client ID for your Reddit application
text
Client Secret
The client secret for your Reddit application
sensitive
Procedures
to get a (subreddit's latest posts)
Gets the latest (newest) post from a specified subreddit.
Input Concepts
Output Concepts
Examples
Get the latest 10 posts from the 'announcements' subreddit.
to get a (subreddit's top posts)
Gets the top posts from a specified subreddit.
Input Concepts
Output Concepts
Examples
Get the top 10 posts from the 'announcements' subreddit.
to get a (subreddit)
Gets information about a subreddit.
Input Concepts
name
The name of the subreddit (without the r/ prefix)
text
Yes
(no default)
Output Concepts
Examples
Get the 'announcements' subreddit. the name is "announcements"
to get some (subreddit's posts)
Gets a Reddit post by its ID.
Input Concepts
Output Concepts
Examples
Get 10 posts from the 'announcements' subreddit.
Concepts
Reddit subreddit
A subreddit in Reddit.
id
The unique ID of the subreddit.
text
name
The name of the subreddit (without the r/ prefix).
text
title
The title of the subreddit.
text
description
The description of the subreddit.
text
subscribers
The number of subscribers to the subreddit.
number
created_on
The datetime when the subreddit was created.
datetime
url
The URL of the subreddit.
text
public_description
The public description of the subreddit.
optional[text]
Reddit post
A post (submission) on Reddit.
id
The unique ID of the post.
text
title
The title of the post.
text
author
The username of the post author.
text
subreddit
The name of the subreddit the post was submitted to.
text
created_on
The datetime when the post was created.
datetime
url
The URL of the post content (may be external or Reddit URL).
text
permalink
The permanent Reddit URL for the post.
text
score
The net score (upvotes - downvotes) of the post.
number
upvote_ratio
The ratio of upvotes to downvotes.
number
num_comments
The number of comments on the post.
number
is_video
Whether the post contains a video.
boolean
text
The text content of the post (if it's a self post).
optional[text]
link_flair_text
The flair text for the post.
optional[text]
Last updated
Was this helpful?

