Auto-snooze Plain threads when awaiting customer details#9671
Open
pieterbeulque wants to merge 1 commit intomainfrom
Open
Auto-snooze Plain threads when awaiting customer details#9671pieterbeulque wants to merge 1 commit intomainfrom
pieterbeulque wants to merge 1 commit intomainfrom
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 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_CUSTOMERstatus 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
SnoozeStatusDetailandSnoozeThreadInputfrom the Plain SDKmissing_website,missing_socials, oradmin_not_verified)plain.snooze_thread()with the thread ID andWAITING_FOR_CUSTOMERstatushttps://claude.ai/code/session_016kpiw2sMAbEojVrT85tLsy