Write comments with AI

How to get there: Open any post → expand the comment box at the bottom → click the AI button (stars icon) next to Add comment. Available to admins on both Public Comment and Internal Comment tabs.

The Write with AI button drafts an admin comment from a short instruction, so you can reply faster without writing from scratch. It uses the post title, post description, and (if you're replying) the parent comment as context, then drops the result into the editor for you to review and send.

How it works

  1. Click the AI button next to the Add comment button. A small input bar appears with the label Write with AI (1 credit).
  2. Type a short instruction, examples below.
  3. Press Enter or click Generate.
  4. The generated draft replaces whatever was in the editor. Edit freely, then click Add comment to post.

The draft is never posted automatically. You always confirm.

Good instruction prompts

The instruction is a brief, plain-English direction, not a full reply. The AI handles tone and formatting.

  • "Thank them and explain we're working on it"
  • "Ask for a screenshot and reproduction steps"
  • "Close politely, this is out of scope for now"
  • "Summarize the issue for the team" (on the Internal tab)
  • "Confirm we shipped this and link them to the changelog"

The AI writes in the same language as the post and uses your portal's editor format (Markdown or WYSIWYG/HTML) automatically.

Public vs internal

The button appears on both comment tabs:

  • Public Comment, drafts a customer-facing reply. Best for thanking users, asking for context, or announcing progress.
  • Internal Comment, drafts an admin-only note. Best for summarizing a long thread for teammates or capturing decision rationale.

The prompt context is the same (post title + description). Internal drafts tend to be more terse and team-oriented because of the instruction you write.

Replying to a specific comment

When you click Reply under another comment and then AI, the parent comment is also included in the prompt. The draft is written as a direct reply to that user. This is the right path when you want the AI to respond to what someone actually said, not the post as a whole.

Credits and limits

  • Each generation costs 1 AI credit. The toast after generation shows credits remaining.
  • The endpoint is rate-limited to 10 generations per minute per admin to prevent runaway loops.
  • If the portal is out of credits, the Generate button returns "No AI credits remaining." See AI credits.
  • Only admins see the button. Members and end users don't get AI-drafted comments.

Why we built this as draft-only

The AI never posts on your behalf. Reasons:

  • A wrong tone on a customer-facing thread is worse than slow.
  • You stay accountable for what your portal says.
  • Editing a near-right draft is faster than writing from scratch, which is where the time saving comes from.

If you want fully autonomous replies on new posts (not comments), that's a different feature, see AI auto-reply to new posts.

Troubleshooting

The button doesn't appear. You need admin role. Members and end-users can't draft AI comments.

"No AI credits remaining." The portal's monthly allotment is used up. See AI credits for refilling.

The draft sounds off. Rewrite the instruction with more direction ("Thank them but make it short" or "Be technical, this is a developer"). The AI takes instruction literally.

The draft has weird formatting. Older portals on Markdown vs newer portals on WYSIWYG use different format prompts. If you see Markdown syntax in a WYSIWYG portal (or vice versa), check Settings → Portal → Editor type.