{"id":"revops-validation-rule-spec-from-slack-request","audience":"revops","category":"sales-work","technique":"format","track":"sales","level":"beginner","title":"Turn a Slack request into a validation rule spec","free":false,"task":"Fill out a validation-rule spec from the Slack message as seven plain-text lines labeled exactly Object:, Rule name:, Fires when:, Blocks save if:, Error message:, Exceptions:, Open question:. Follow the naming convention. The error message is under 15 words and must not blame the user. If the request doesn't say, write \"Not specified\" for Exceptions. Under 100 words.","materialLabel":"Your notes (attached to your prompt automatically)","material":"SLACK #revops-requests, Nov 4\nDana (Sales Manager): \"Can we make Close Date required once a deal hits Negotiation? And it can't be in the past. Reps keep leaving it blank or old and my forecast is a mess.\"\n\nRULE NAMING CONVENTION: OBJ_Field_Description, using the short object code. Opportunity = OPP. Example: OPP_Amount_Required.\n\nSTAGES (in order): Qualify, Discover, Evaluate, Propose, Negotiate, Closed-Won, Closed-Lost.\nFIELDS: Close Date (date). Stage (picklist).\n\nNotes from the admin: closed deals naturally have past close dates. The request does not say whether Closed-Won and Closed-Lost should be affected.","rules":[{"type":"plainText"},{"type":"maxWords","max":100}],"mistakes":[{"title":"Ignoring the naming convention","why":"The AI invents 'Close Date Required Rule'.","fix":"Add: \"Rule name follows OBJ_Field_Description with OPP for Opportunity.\"","checks":["r1"]},{"title":"Blaming error text","why":"The AI writes 'You forgot to enter a valid Close Date'.","fix":"Add: \"Error message under 15 words, neutral, no blame.\"","checks":["r2"]},{"title":"Guessing exceptions","why":"The AI invents exceptions like 'admins can bypass'.","fix":"Add: \"Exceptions: Not specified, if the request doesn't say.\"","checks":["r2"]},{"title":"Missing labels","why":"The AI writes a paragraph or table.","fix":"Add: \"Seven plain-text lines with exactly these labels.\"","checks":["r0","plainText","maxWords"]}],"promptHints":[{"label":"Lists the seven labels","patterns":["object:","rule name:","fires when","blocks save","open question"]},{"label":"Follows the convention","patterns":["naming convention","opp_","obj_field"]},{"label":"Neutral error","patterns":["no blame","blame","neutral","under 15 words"]},{"label":"Handles unknowns","patterns":["not specified"]},{"label":"Plain text","patterns":["plain text","under 100 words"]}],"hint":"List the seven labels, apply the naming convention and say what to write when the request is silent.","rubricLabels":["Has seven lines labeled exactly Object:, Rule name:, Fires when:, Blocks save if:, Error message:, Exceptions:, Open question: in that order","Object is Opportunity, Rule name follows the convention (starting OPP_ and naming Close Date, for example OPP_CloseDate_RequiredNotPast), and Fires when mentions stage Negotiate","Error message is under 15 words and does not blame the user, Exceptions says Not specified, and Open question asks whether Closed-Won and Closed-Lost deals are affected"]}