iachat/lib/integrations/openai/openai_prompts
Muhsin Keloth 6be95e79f8
feat(csat): Add WhatsApp utility template analyzer with rewrite guidance (#13575)
CSAT templates for WhatsApp are submitted as Utility, but Meta may
reclassify them as Marketing based on content, which can significantly
increase messaging costs.
This PR introduces a Captain-powered CSAT template analyzer for
WhatsApp/Twilio WhatsApp that predicts utility fit, explains likely
risks, and suggests safer rewrites before submission. The flow is manual
(button-triggered), Captain-gated, and applies rewrites only on explicit
user action. It also updates UX copy to clearly set expectations: the
system submits as Utility, Meta makes the final categorization decision.

Fixes
https://linear.app/chatwoot/issue/CW-6424/ai-powered-whatsapp-template-classifier-for-csat-submissions


https://github.com/user-attachments/assets/8fd1d6db-2f91-447c-9771-3de271b16fd9
2026-02-24 15:11:04 +04:00
..
csat_utility_analysis.liquid feat(csat): Add WhatsApp utility template analyzer with rewrite guidance (#13575) 2026-02-24 15:11:04 +04:00
fix_spelling_grammar.liquid fix: make llm aware about signatures in editor replies (#13332) 2026-01-21 15:52:41 +05:30
improve.liquid fix: make llm aware about signatures in editor replies (#13332) 2026-01-21 15:52:41 +05:30
label_suggestion.liquid feat: new Captain Editor (#13235) 2026-01-21 13:39:07 +05:30
reply.liquid fix: search faqs in account language (#13428) 2026-02-09 17:25:11 +05:30
summary.liquid feat: new Captain Editor (#13235) 2026-01-21 13:39:07 +05:30
tone_rewrite.liquid fix: make llm aware about signatures in editor replies (#13332) 2026-01-21 15:52:41 +05:30