Agent: Review Reply
Replies to strong reviews automatically and drafts replies for the rest, in your own Supabase project.
Could not copy. Use View as Markdown instead.
What it does
Every 15 minutes it checks your connected accounts for new reviews and comments. Anything rated 4 stars or higher gets a short, warm, specific reply posted automatically. Anything lower, or a comment with no rating, is drafted and saved for you to read and send yourself.
It follows up to MAX_PAGES pages of your inbox per account per run (5 by default). A single account or item failing is logged and skipped; it never stops the rest of the run.
Schedule
*/15 * * * *Settings
| Setting | Label in the portal | Visibility |
|---|---|---|
| AI_MODEL_PROVIDER | AI provider (anthropic or openai) | Choice |
| AI_MODEL_KEY | Your AI model key | Secret |
If you have saved an AI key in your accounts, pick it on the deploy form and these two settings are filled in for you.
Tables it creates
pending_replies drafted replies: original text, rating, draft
sent_replies every reply already sent, so none is sent twiceOpen your Supabase Table Editor and look at pending_replies. Each row holds the original text, the rating and a draft column with the suggested reply. Items already in either table are skipped on later runs.
How to extend
- Change the AUTO_REPLY_MIN_RATING constant at the top of
supabase/functions/run/index.tsto move the threshold. - Raise MAX_PAGES in the same file if you get a very high volume of new items.
- Edit the reply prompt to change the tone or add your house rules.
- Send a notification when a draft is saved, for example an email to yourself.
Safety notes
See Agents for deploying, refreshing and removing.
You pay for what you connect. Nothing else.