{"id":"cx-survey-send-skip-rules-table","audience":"customer-support","category":"support-work","technique":"constraints","track":"support","level":"intermediate","title":"Decide which closed tickets get a survey and why not","free":false,"task":"Output a table with the header \"Ticket | Survey | Reason\" and six rows S1 to S6. Survey is Send or Skip. Reason is the letter of the first skip rule that applies (A, B, C or D) or \"ok\" for a Send. Today is Nov 6. Plain text, under 60 words.","materialLabel":"Your material (attached to your prompt automatically)","material":"SURVEY SKIP RULES (check in this order)\nA. The ticket was merged into another ticket.\nB. The ticket is spam.\nC. The customer received a survey in the last 30 days (since Oct 7 counts; Oct 6 or earlier does not).\nD. The ticket was closed by auto-close (the customer never replied).\nOtherwise send the survey.\n\nCLOSED TICKETS\nS1: normal ticket, customer's last survey Sep 15\nS2: merged into S1's thread, customer's last survey Sep 15\nS3: normal ticket, customer's last survey Oct 20\nS4: spam, last survey never\nS5: closed by auto-close, last survey Aug 2\nS6: normal ticket, customer's last survey Oct 6","rules":[{"type":"plainText"},{"type":"maxWords","max":60}],"mistakes":[{"title":"Wrong 30-day boundary","why":"The AI skips S6.","fix":"Say: \"Oct 7 counts, Oct 6 does not.\"","checks":["r2"]},{"title":"Giving all reasons","why":"The AI lists several rules per ticket.","fix":"Say: \"Only the first skip rule that applies.\"","checks":["r1","r2"]},{"title":"No table","why":"The AI explains in prose.","fix":"Give the header.","checks":["r0"]},{"title":"Getting markdown back","why":"AI adds bold and headings by default, which show up as stray symbols where this is pasted.","fix":"Say \"plain text, no bold, no headings, no asterisks\".","checks":["plainText"]},{"title":"Trusting the AI to count words","why":"AI is bad at counting and usually runs long, so a vague \"keep it short\" lands well over the limit.","fix":"Cap each part instead of the total, for example \"each line under 15 words\".","checks":["maxWords"]}],"promptHints":[{"label":"Gives the header","patterns":["ticket \\| survey \\| reason"]},{"label":"Says first rule wins","patterns":["first skip rule","in this order"]},{"label":"States the boundary","patterns":["oct 7","oct 6","30 days"]},{"label":"Asks for plain text","patterns":["plain","no bold","no markdown","no formatting","no headings"]},{"label":"Sets a length limit","patterns":["\\d+\\s*words","word (limit|count)","under \\d+"]}],"hint":"Give the header, say the first applicable rule wins and state the 30-day boundary.","rubricLabels":["The first row is \"Ticket | Survey | Reason\" followed by rows S1 to S6","S1 Send ok, S2 Skip A, S3 Skip C","S4 Skip B, S5 Skip D, S6 Send ok (Oct 6 is outside the 30 days)"]}