feat: add operational eligibility and scheduled follow-up
This commit is contained in:
@@ -56,7 +56,7 @@ def _priority_for_action(action_code: str, route: str) -> str:
|
||||
route = str(route or "").strip().lower()
|
||||
if code in {"SEND_PROFORMA", "SEND_INVOICE", "CONFIRM_PAYMENT", "PREPARE_ORDER", "VALIDATE_PHYSICAL_ORDER", "CREATE_SHIPMENT"}:
|
||||
return "alta"
|
||||
if code.startswith("FOLLOW_UP_") or code in {"CONFIRM_DELIVERY", "RECOVER_OPPORTUNITY", "REVIEW_NURTURE"}:
|
||||
if code.startswith("FOLLOW_UP_") or code in {"CALL_CUSTOMER", "CONFIRM_DELIVERY", "RECOVER_OPPORTUNITY", "REVIEW_NURTURE"}:
|
||||
return "normal"
|
||||
if code in {"REVIEW_MANUALLY", "REMOVE_FROM_LIST", "MARK_NO_INTEREST", "IGNORE_SPAM", "NO_ACTION", "IGNORE_BOUNCE"}:
|
||||
return "baixa"
|
||||
|
||||
Reference in New Issue
Block a user