Skip to content

Customer service20:11

Set a 0.95 threshold for automated complaint drafts

How to set a 0.95 confidence threshold for AI sorting complaints by 14-day deadline and preparing draft replies. Tested on 300 cases, budget 18–32k PLN.

AI-generated image.

Listen to the article summary

Synthetic voice.
0:00
0:00

This is a practical guide rather than legal advice for a specific case; for larger claim amounts, review it with your legal counsel. You will configure a rule where the local complaint classifier drafts a response only when confidence is high enough. By the end, you have a working test on 300–500 historical cases, three decision thresholds, and a daily report tracking the statutory 14-day response window. Prerequisites: administrator privileges in your RMA dashboard, an exported CSV file of claims, and an enabled decision rules module; basic subscription tiers may require purchasing an automation add-on. For 40–150 complaints per month, end-to-end setup and testing typically cost 18,000–32,000 PLN net and take 4–7 weeks.

Stage 1: Build a test set of 300 cases (2–3 hours)

In your RMA dashboard, open the closed complaints list and filter Submission date for the last 12–18 months. Click Export CSV with fields: case number, submission date, claim text, category, decision, response date. Remove first name, last name, address, email, and order number from the file; keep the internal ID. Handle personal data according to GDPR guidelines for e-commerce, and store the test file on a local server, not in the cloud. Confirm that the system displays 300–500 records under the Test dataset tab after import.

AI-generated image.

Stage 2: Assign categories and verify the 14-day deadline (3–4 hours)

Under the Categories tab, create 7 to 9 categories, such as manufacturing defect, transit damage, item not as described, missing parts, warranty, return, quality claim, other. For each category, set a deadline rule: submission date + 14 calendar days, configured so the system counts day by day and excludes public holidays only if your process legally accounts for them. Verify against 30 random cases to ensure the calculated date matches a manual count; see the Consumer Rights Act. Ensure the Statutory deadline field in the case view is populated and highlights when 3 days remain.

Stage 3: Configure thresholds at 0.95 / 0.80–0.94 / below 0.80 (1–2 hours)

In the admin panel, navigate to Decision rules or Response automation. If the field is labeled differently, look for Confidence threshold next to the classifier. The default value is often 0.90; change it to 0.95: the AI response draft must generate only when the model reaches at least this confidence level for category and deadline. Route cases scoring 0.80–0.94 for human review, and leave everything below 0.80 entirely to human staff. This boundary stems from operational practice rather than statute; the UOKiK position confirms that AI may assist with classification and drafting, while substantive decisions remain with employees. After saving, click Test threshold and review the number of cases routed to automatic drafting.

AI-generated image.

Stage 4: Launch the daily report and run a 4-hour correction test (4 hours)

Enable the daily report at 07:30 covering all tickets from the day and cases due in 3 days or less. In the Report criteria field, select: receipt date, category, calculated deadline, draft status, approver. Run a test on 300 cases and check for an F1 score ≥0.9 for deadline detection, with an acceptable 1–2% omission rate, provided the daily report covers all tickets. If the score drops below this threshold, return to Stage 2 and adjust categories or increase the number of training cases. Retesting after rule changes should take under 4 hours from implementing the fix to remeasuring.

When something went wrong

Three most common failure points: the classifier confuses statutory deadlines, omissions exceed 1–2%, or the report misses cases. In the first scenario, verify the receipt date column: the issue usually stems from date formatting or merged email threads, so return to Stage 1 and re-export the CSV using separate fields. In the second, raise the auto-draft threshold to 0.97 and add 100 cases to the test set; never leave the threshold below 0.95 for templates that include refusals or refunds. In the third, inspect the status filter: the report must cover New, In progress, and Pending approval statuses, not just closed ones. To roll back changes, restore the previous threshold value from notes in the Decision rules section, or disable the Automated response drafts option until test results improve.

Once thresholds are deployed, the system automatically calculates the 14-day window, sorts the queue, and suggests ready-to-send draft responses. With 120 claims per month, staff no longer lose 10–15 hours searching for dates and compiling documents. The initial setup cost for 40–150 tickets typically ranges from 18,000–32,000 PLN net, with maintenance at 400–1,200 PLN net per month. This is less than the cost of a single missed claim, which statutory law deems accepted after 14 days of silence.

Source materials

Sources consulted during research. The text above is our own; these third parties are not responsible for its content and have not authorised it.

No-obligation call

Schedule a workshop with Paul

Thirty minutes or a full workshop, choose what suits you. Book a slot directly in the calendar and get instant confirmation.

Paul Lazniak

HEXART Founder