This is a Devvit port of a classic API app that's been updated to use Devvit's scheduling and UI tools.
A Reddit Devvit app that helps moderators review reported comments with AI assistance. It fetches items from your subreddit’s mod queue, classifies them with OpenAI, writes the results to a Google Sheet for human review, and then applies approve/remove actions on Reddit based on what’s in the sheet.
The spreadsheet is the review layer: you can edit reply IDs and other fields before running moderation, and you can turn off live changes to dry-run the whole loop.
devvit.json (scheduler.tasks).Create a new Google Sheet or copy the template:
AI to Moderator template spreadsheet
The app expects at least these tabs:
Keep the column headers from the template; the app matches columns by header text.
client_email value (e.g. something@project-id.iam.gserviceaccount.com). You will share the spreadsheet with this email.The full JSON key is what you paste into app settings (next step). It must include at least client_email and private_key.
In Google Sheets, click Share and add the service account’s client_email as an Editor. Without this, the app cannot read or write the sheet.
Install the app on your subreddit from the Reddit Developer Portal, then open Install Settings for that subreddit (e.g. https://developers.reddit.com/r/your_subreddit/apps/aitomoderator3).
For initial testing, leave Make live changes off and Automatically run comment moderation off.
In your subreddit (mod view), open the subreddit menu and use:
Review the spreadsheet after a fill run. Adjust reply IDs or other fields if needed, then run moderate (with Make live changes on when you are ready for real actions).
When manual runs look good:
Cron timing is defined in devvit.json under scheduler.tasks. Menu-triggered runs always work; cron runs are skipped when Automatically run comment moderation is off.
npm install
npm run dev # playtest against the dev subreddit in devvit.json
npm run build
npm run deploy # type-check, lint, upload
See devvit.md for details on devvit.json, permissions, and settings.
arcii
CreatorApp identifier
aitomoderator3
Version
2.4.10
Last updated
Aug 4, 2026
Send feedback
Terms and conditions
Privacy policy