
📣 Marketing, CRM & Support · State Machine
The states of a customer support ticket, from creation through assignment, waiting on the customer, resolution and reopening.
Drawing diagram…
State machine for a support ticket: New, Assigned to an agent, InProgress, WaitingOnCustomer (SLA paused), Escalated to tier 2 when the SLA is at risk, Resolved, Reopened if the customer replies within 7 days, Closed after 7 days without reply.
stateDiagram-v2 [*] --> New: Email, chat or phone New --> Assigned: Auto-routed to agent Assigned --> InProgress InProgress --> WaitingOnCustomer: Question to customer WaitingOnCustomer --> InProgress: Customer replies InProgress --> Escalated: SLA at risk Escalated --> InProgress: Tier 2 takes over InProgress --> Resolved: Fix shared Resolved --> Reopened: Customer replies within 7 days Reopened --> InProgress Resolved --> Closed: 7 days without reply Closed --> [*]
A customer data platform that joins a customer's activity from website, app, store and support into one profile, and sends audiences to marketing tools.
How an incoming support call is routed: caller recognition, IVR menu, self-service options and routing to the right skilled agent queue.
How a marketing email campaign is sent: audience built, consent checked, emails personalised and sent in batches, and opens and clicks tracked.
Tables for a B2B sales CRM: accounts, contacts, leads, opportunities moving through stages, activities and quotes.
How visitors flow from marketing channels to sign-ups, trials and paying customers in a month, to see which channel brings buyers, not just traffic.
How a WhatsApp support bot answers common questions and hands the chat to a human agent, with the full conversation, when it can't help.