Back to Autogpt

Ayrshare Post To Reddit

docs/integrations/block-integrations/ayrshare/post_to_reddit.md

0.6.442.2 KB
Original Source

Ayrshare Post To Reddit

<!-- MANUAL: file_description -->

Blocks for posting content to Reddit using the Ayrshare social media management API.

<!-- END MANUAL -->

Post To Reddit

What it is

Post to Reddit using Ayrshare

How it works

<!-- MANUAL: how_it_works -->

This block uses Ayrshare's API to publish content to Reddit. It supports text posts, image posts, and video submissions with optional scheduling and link shortening features.

The block authenticates through Ayrshare and submits content to your connected Reddit account. Common options include approval workflows for content review before publishing, random content generation, and Unsplash integration for sourcing images.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
postThe post text to be publishedstrNo
media_urlsOptional list of media URLs to include. Set is_video in advanced settings to true if you want to upload videos.List[str]No
is_videoWhether the media is a videoboolNo
schedule_dateUTC datetime for scheduling (YYYY-MM-DDThh:mm:ssZ)str (date-time)No
disable_commentsWhether to disable commentsboolNo
shorten_linksWhether to shorten linksboolNo
unsplashUnsplash image configurationstrNo
requires_approvalWhether to enable approval workflowboolNo
random_postWhether to generate random post textboolNo
random_media_urlWhether to generate random mediaboolNo
notesAdditional notes for the poststrNo

Outputs

OutputDescriptionType
errorError message if the operation failedstr
post_resultThe result of the postPostResponse
postThe result of the postPostIds

Possible use case

<!-- MANUAL: use_case -->

Community Engagement: Share relevant content to niche subreddits as part of community marketing strategies.

Content Distribution: Cross-post blog articles or announcements to relevant Reddit communities for broader reach.

Brand Monitoring Response: Automatically share updates or responses in communities where your brand is discussed.

<!-- END MANUAL -->