{"id":"cx-returns-queue-business-day-aging","audience":"customer-support","category":"support-work","technique":"verification","track":"support","level":"advanced","title":"Age a returns queue in business days and flag the ones over the limit","free":false,"task":"Today is Friday Nov 6. Build a table with the header row exactly \"Return | Business days | Over limit?\" and five rows. Business days are the weekdays after the received date up to and including today. Over limit is Yes only if more than 5 business days. Plain text, table only, under 50 words.","materialLabel":"Your material (attached to your prompt automatically)","material":"RETURNS QUEUE (unprocessed), today Friday Nov 6. Limit: process within 5 business days (more than 5 is over the limit).\nR1: received Monday Nov 2\nR2: received Thursday Oct 29\nR3: received Friday Oct 30\nR4: received Wednesday Nov 4\nR5: received Monday Oct 26\n\nCALENDAR: Weekdays only count. Oct 26 is a Monday; Oct 31 and Nov 1 are Saturday and Sunday; Nov 7 and Nov 8 are the next weekend. The received day itself is not counted; today is counted.\nExamples: received Wed Nov 4 -> Thu Nov 5 (1), Fri Nov 6 (2) = 2 business days.\nTeam lead comment: 'R3 is Oct 30, that is 7 days ago, flag it.' (Calendar days, not business days.)","rules":[{"type":"plainText"},{"type":"maxWords","max":50}],"mistakes":[{"title":"Counting calendar days","why":"The team lead counts 7 days for R3.","fix":"Say: \"Weekdays only; the received day is not counted.\"","checks":["r1"]},{"title":"Flagging R3 at exactly 5","why":"The AI treats 5 as over the limit.","fix":"Say: \"Over limit only if MORE than 5.\"","checks":["r2"]},{"title":"Wrong table","why":"The AI adds a notes column.","fix":"Give the exact header; table only.","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":"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+"]},{"label":"States the counting rule","patterns":["weekdays","received day","business days"]},{"label":"Gives the header","patterns":["return \\|","header"]}],"hint":"Business-day counts need a clear counting rule and a strict threshold. State both, plus the header.","rubricLabels":["The header row is exactly \"Return | Business days | Over limit?\" with five rows R1 to R5 and nothing outside the table","Business days are R1 4, R2 6, R3 5, R4 2, R5 9","Over limit is Yes for R2 and R5 and No for R1, R3 and R4"]}