Stop manually proofreading markdown files. This workflow uses two AI agents to review your blog posts, generate precise line-by-line fixes, and commit the edits back to GitHub automatically. You write, it checks.
This is not another "generate a blog post with AI" template. It does the opposite. You write the content, and the workflow checks it for you. Your writing style stays the same because the Editor Agent can only replace, insert, or delete specific lines. No full rewrites.
The workflow runs in five stages:
• Finds real issues, not nitpicks: The severity filter means your file only gets changed when something actually matters.
• Keeps your writing style: Three allowed operations. Replace, insert, delete. That is it. No creative rewrites.
• Line numbers solve the guessing problem: I added this after noticing the AI kept misidentifying where problems were in longer posts.
• Edits do not break each other: The bottom-to-top sorting was the trick that took me a while to figure out. Without it, line numbers shift after every edit and the rest of the operations point to the wrong lines.
• Fallback model included: If Gemini is down or rate-limited, the workflow falls back to Groq automatically. Both agent nodes also retry up to 3 times with a 5-second interval.
• Reports for every run: Three report types committed to your repo: fixes applied, no issues found, or edits failed.
• Technical writers who keep documentation in GitHub
• Content managers reviewing blog posts before publication
• SEO specialists checking content quality across multiple markdown files
• Dev teams that want automated content review similar to a PR review
• Freelancers and bloggers who do not have an editor to proofread their work
• Google Gemini API for the AI analysis (primary model)
• Groq API as a fallback model if Gemini is unavailable (optional but recommended)
• GitHub OAuth2 with repo scope so the workflow can read files and commit changes
• Swap the AI model: Replace the chat model sub-node with OpenAI, Anthropic, or any provider that handles JSON output. The prompts are model-agnostic.
• Change the severity filter: Open the filter node and include low severity if you want more aggressive editing.
• Point it at any file: The Config node at the start has your repo owner, repo name, and file path. Change those three values and it works on any markdown file in any repository.
• Make it automatic: Replace the Manual Trigger with a GitHub Trigger node listening for push or pull_request events. Now it runs every time someone updates content.
• Add notifications: Drop a Slack, Teams, or email node after the report step to get notified when the workflow finishes a review.