redditReddit is a social news platform with user-driven communities (subreddits), offering content sharing, discussions, and viral marketing opportunities for brands
Acciones disponibles (10)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create a Reddit postREDDIT_CREATE_REDDIT_POSTAcciónCreates a new text or link post on a specified, existing reddit subreddit, optionally applying a flair.
REDDIT_CREATE_REDDIT_POSTAcciónCreates a new text or link post on a specified, existing reddit subreddit, optionally applying a flair.
Parámetros de entrada
urlstringThe URL for a 'link' post. Required if `kind` is 'link'.
kindstringObligatorioenumThe type of the post. Use 'self' for a text-based post or 'link' for a post that links to an external URL.
linkselftextstringThe markdown-formatted text content for a 'self' post. Required if `kind` is 'self'.
titlestringObligatorioThe title of the post. Must be 300 characters or less.
flair_idstringObligatorioThe ID of the flair to apply to the post. Use the 'REDDIT_GET_USER_FLAIR' action to find available flair IDs for the specified subreddit.
subredditstringObligatorioThe name of the subreddit (without the 'r/' prefix) where the post will be submitted.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Reddit commentREDDIT_DELETE_REDDIT_COMMENTAcciónDeletes a reddit comment, identified by its fullname id, if it was authored by the authenticated user.
REDDIT_DELETE_REDDIT_COMMENTAcciónDeletes a reddit comment, identified by its fullname id, if it was authored by the authenticated user.
Parámetros de entrada
idstringObligatorioThe full 'thing ID' (fullname, e.g., 't1_c0s4w1c') of the comment to delete; typically starts with 't1_'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a Reddit postREDDIT_DELETE_REDDIT_POSTAcciónPermanently deletes a reddit post by its id, provided the authenticated user has deletion permissions for that post.
REDDIT_DELETE_REDDIT_POSTAcciónPermanently deletes a reddit post by its id, provided the authenticated user has deletion permissions for that post.
Parámetros de entrada
idstringObligatorioThe full name (fullname) of the Reddit post to be deleted. This ID must start with 't3_' followed by the post's unique base36 identifier.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Edit comment or postREDDIT_EDIT_REDDIT_COMMENT_OR_POSTAcciónEdits the body text of the authenticated user's own existing comment or self-post on reddit; cannot edit link posts or titles.
REDDIT_EDIT_REDDIT_COMMENT_OR_POSTAcciónEdits the body text of the authenticated user's own existing comment or self-post on reddit; cannot edit link posts or titles.
Parámetros de entrada
textstringObligatorioThe new raw markdown text for the body of the comment or self-post.
thing_idstringObligatorioThe full name (fullname) of the comment or self-post to edit. This is a combination of a prefix (e.g., 't1_' for comment, 't3_' for post) and the item's ID.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get link flairREDDIT_GET_USER_FLAIRAcciónFetches the list of available link flairs (i.e., post flairs, not user flairs) for a given subreddit.
REDDIT_GET_USER_FLAIRAcciónFetches the list of available link flairs (i.e., post flairs, not user flairs) for a given subreddit.
Parámetros de entrada
subredditstringObligatorioName of the subreddit (e.g., 'pics', 'gaming') for which to retrieve available link flairs.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Post a commentREDDIT_POST_REDDIT_COMMENTAcciónPosts a comment on reddit, replying to an existing and accessible submission (post) or another comment.
REDDIT_POST_REDDIT_COMMENTAcciónPosts a comment on reddit, replying to an existing and accessible submission (post) or another comment.
Parámetros de entrada
textstringObligatorioThe raw Markdown text of the comment to be submitted.
thing_idstringObligatorioThe ID of the parent post (link) or comment, prefixed with 't3_' for a post (e.g., 't3_10omtdx') or 't1_' for a comment (e.g., 't1_h2g9w8l').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve Comments for a PostREDDIT_RETRIEVE_POST_COMMENTSAcciónRetrieves all comments for a reddit post given its article id (which must be for an existing, public post); nested replies within comments are returned as raw dictionaries requiring parsing.
REDDIT_RETRIEVE_POST_COMMENTSAcciónRetrieves all comments for a reddit post given its article id (which must be for an existing, public post); nested replies within comments are returned as raw dictionaries requiring parsing.
Parámetros de entrada
articlestringObligatorioBase-36 ID of the Reddit post (e.g., 'q5u7q5'), typically found in the post's URL and not including the 't3_' prefix.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve posts from subredditREDDIT_RETRIEVE_REDDIT_POSTAcciónRetrieves the current hot posts from a specified, publicly accessible subreddit.
REDDIT_RETRIEVE_REDDIT_POSTAcciónRetrieves the current hot posts from a specified, publicly accessible subreddit.
Parámetros de entrada
sizeintegerThe maximum number of posts to return. Default is 5. Set to 0 to retrieve all available posts (or the maximum allowed by the Reddit API for a single request, typically up to 100 for this type of listing).
subredditstringObligatorioThe name of the subreddit from which to retrieve posts (e.g., 'popular', 'pics'). Do not include 'r/'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve specific comment or postREDDIT_RETRIEVE_SPECIFIC_COMMENTAcciónRetrieves detailed information for a specific reddit comment or post using its fullname.
REDDIT_RETRIEVE_SPECIFIC_COMMENTAcciónRetrieves detailed information for a specific reddit comment or post using its fullname.
Parámetros de entrada
idstringObligatorioFullname of the comment or post to retrieve (e.g., 't1_c123456', 't3_x56789').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search across subredditsREDDIT_SEARCH_ACROSS_SUBREDDITSAcciónSearches reddit for content (e.g., posts, comments) using a query, with results typically confined to subreddits unless `restrict sr` is set to false.
REDDIT_SEARCH_ACROSS_SUBREDDITSAcciónSearches reddit for content (e.g., posts, comments) using a query, with results typically confined to subreddits unless `restrict sr` is set to false.
Parámetros de entrada
sortstringenumThe criterion for sorting search results. 'relevance' (default) sorts by relevance to the query. 'new' sorts by newest first. 'top' sorts by highest score (typically all-time). 'comments' sorts by the number of comments.
relevancenewtopcommentslimitintegerThe maximum number of search results to return. Default is 5. Maximum allowed value is 100.
restrict_srbooleanIf True (default), confines the search to posts and comments within subreddits. If False, the search scope is broader and may include matching subreddit names or other Reddit entities.
search_querystringObligatorioThe search query string used to find content across subreddits.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not