Build support macros
Inputs
ticket_samples(required): Real tickets and the replies that worked, ideally 20 or more across common issues. Remove or mask customer names, emails and account details first.tone(optional): Brand voice and rules - formality, use of first names, words to avoid, sign-off. Leave empty for warm, direct and professional.
Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.
- Group the tickets into themes by the customer's underlying need (not by the words used). Count tickets per theme from the samples.
- Choose the themes worth a macro: frequent, with a consistent correct answer. Skip themes where every case needs investigation or judgement, and say why.
- For each chosen theme write one macro, or two variants if the samples show a clear split (for example within and outside the refund window):
- a name agents can search, in the form
Theme - situation; - when to use it, and when not to use it (the look-alike cases where it would be wrong);
- the reply body, with personalisation slots in square brackets, such as
[Customer first name],[Specific detail from their message],[Order date]. Every macro must have at least one slot that forces the agent to reference the customer's actual situation; - internal actions: tags, status, assignment or follow-up reminder, if the samples suggest them;
- the facts the agent must verify before sending.
- a name agents can search, in the form
- Write the bodies in the given tone (default: warm, direct, professional): acknowledge the specific issue, give the answer or steps early, end with a clear next step. Keep each under about 120 words.
- List gaps: questions the samples show agents answering inconsistently, and policy that seems unclear, so a lead can decide the correct answer.
Macros
One subheading per macro with: When to use, Do not use when, Verify before sending, Body (in a quote block), Internal actions.
Gaps
Numbered.