Skip to content

Comments

Auto-snooze Plain threads when awaiting customer details#9671

Open
pieterbeulque wants to merge 1 commit intomainfrom
claude/snooze-conversation-details-FAcVw
Open

Auto-snooze Plain threads when awaiting customer details#9671
pieterbeulque wants to merge 1 commit intomainfrom
claude/snooze-conversation-details-FAcVw

Conversation

@pieterbeulque
Copy link
Contributor

@pieterbeulque pieterbeulque commented Feb 22, 2026

📋 Summary

Automatically snooze Plain threads with "waiting for customer" status when organization review threads are created and action items are identified (missing website, missing socials, or unverified admin).

🎯 What

Added logic to snooze Plain threads after creating organization review threads when the organization has outstanding action items that require customer follow-up. The thread is snoozed with the WAITING_FOR_CUSTOMER status detail.

🤔 Why

When requesting additional information from customers (website, social links, admin verification), the thread should be automatically snoozed to reduce noise and signal that we're waiting for their response. This improves the workflow for support teams managing Plain threads.

🔧 How

  • Imported SnoozeStatusDetail and SnoozeThreadInput from the Plain SDK
  • Added a check after replying to the thread to determine if action items exist (missing_website, missing_socials, or admin_not_verified)
  • If action items are present, call plain.snooze_thread() with the thread ID and WAITING_FOR_CUSTOMER status
  • Added error logging if the snooze operation fails, similar to existing reply error handling

https://claude.ai/code/session_016kpiw2sMAbEojVrT85tLsy

When creating an organization review thread with action items (missing
website, missing socials, or unverified identity), snooze the thread
with WAITING_FOR_CUSTOMER status so it appears correctly in Plain's UI.

https://claude.ai/code/session_016kpiw2sMAbEojVrT85tLsy
@vercel
Copy link

vercel bot commented Feb 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
polar Ready Ready Preview, Comment Feb 22, 2026 6:18am
polar-sandbox Ready Ready Preview, Comment Feb 22, 2026 6:18am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants