Reddit Community Agentic Workflow
Post Comment — Reddit Community Automation Workflow
Navigate to a Reddit post on old.reddit.com, type a top-level comment, and submit it. Requires an active Reddit session in the browser.
sidebutton install reddit.com Navigate to a Reddit post on old.reddit.com, type a top-level comment, and submit it. Requires an active Reddit session in the browser.
Workflow Definition
YAML source for the reddit_post_comment.yaml workflow. This is the complete definition executed by the SideButton MCP server when Reddit Community agents run this automation.
schema_version: 1
version: "2.0.0"
last_verified: "2026-02-02"
id: reddit_post_comment
title: "Post Comment"
description: "Navigate to a Reddit post on old.reddit.com, type a top-level comment, and submit it. Requires an active Reddit session in the browser."
category:
level: task
domain: social
reusable: true
params:
post_url: string
comment_text: string
policies:
allowed_domains:
- old.reddit.com
steps:
- type: browser.navigate
url: "{{post_url}}"
- type: browser.wait
selector: ".commentarea .usertext-edit textarea"
timeout: 10000
# Scroll past media/video overlays that can block comment box
- type: browser.scroll
direction: down
amount: 600
- type: browser.click
selector: ".commentarea .usertext-edit textarea"
- type: browser.type
selector: ".commentarea .usertext-edit textarea"
text: "{{comment_text}}"
- type: browser.click
selector: ".commentarea .usertext-edit button.save"
- type: browser.wait
ms: 3000
# Extract all comments to verify posted text appears
- type: browser.extractAll
selector: ".commentarea .comment .usertext-body p"
as: all_comments
separator: "\n"
- type: control.stop
message: "{{all_comments}}"
How To Run
Install the Reddit Community knowledge pack into your SideButton agent, then dispatch this workflow by its ID reddit_post_comment.yaml. Agents invoke it directly via the MCP protocol or through the portal.