Reddit Community Agentic Workflow
Draft Reply — Reddit Community Automation Workflow
Embed button on old.reddit.com thread pages. Reads the thread in-place, drafts a comment using MxTide voice, and types it into the textarea for manual review and submission.
sidebutton install reddit.com Embed button on old.reddit.com thread pages. Reads the thread in-place, drafts a comment using MxTide voice, and types it into the textarea for manual review and submission.
Workflow Definition
YAML source for the reddit_draft_reply.yaml workflow. This is the complete definition executed by the SideButton MCP server when Reddit Community agents run this automation.
schema_version: 1
version: "1.3.0"
last_verified: "2026-02-03"
id: reddit_draft_reply
title: "Draft Reply"
description: "Embed button on old.reddit.com thread pages. Reads the thread in-place, drafts a comment using MxTide voice, and types it into the textarea for manual review and submission."
category:
level: automation
domain: social
reusable: false
params:
post_url: string
instructions: string
policies:
allowed_domains:
- old.reddit.com
embed:
when: ".commentarea .usertext-edit"
label: "Draft Reply"
prompt:
param: instructions
placeholder: "e.g. be snarky, ask about their setup"
title: "Draft Reply"
param_map:
post_url: "{{_url}}"
instructions: "{{instructions}}"
result:
action: "none"
steps:
# Extract thread data in-place (no navigation — we're already on the page)
- type: browser.extract
selector: ".title a.title"
as: title
- type: browser.extract
selector: ".score.unvoted"
attribute: "title"
as: score
- type: browser.extract
selector: ".expando .usertext-body"
as: body
- type: browser.extract
selector: ".comments"
as: comments
- type: browser.extractMap
selector: ".commentarea > .sitetable > .thing.comment > .entry"
fields:
author:
selector: ".author"
score:
selector: ".score.unvoted"
attribute: "title"
body:
selector: ".usertext-body"
as: thread_comments
# Draft a reply using shared persona workflow
- type: workflow.call
workflow: reddit_persona_draft
params:
title: "{{title}}"
score: "{{score}}"
body: "{{body}}"
comments: "{{comments}}"
thread_comments: "{{thread_comments}}"
instructions: "{{instructions}}"
output_format: "Output ONLY the raw comment text. No labels, no quotes, no formatting. Just the comment as it would appear in the textarea."
as: persona
# Scroll to comment area and type draft
- type: browser.scroll
direction: down
amount: 600
- type: browser.click
selector: ".commentarea .usertext-edit textarea"
- type: browser.type
selector: ".commentarea .usertext-edit textarea"
text: "{{persona.draft}}\n\n---\nSent from sidebutton.com"
- type: control.stop
message: "Draft typed into comment box\n\n{{persona.draft}}\n\nPost: {{post_url}}"
How To Run
Install the Reddit Community knowledge pack into your SideButton agent, then dispatch this workflow by its ID reddit_draft_reply.yaml. Agents invoke it directly via the MCP protocol or through the portal.