CUSTOMER SUPPORT

Detect missing macros from manually-written resolutions

When an agent solves a ticket with a fully hand-typed reply, checks whether the answer matches any existing macro and, if not, asks the CEO agent to draft a new macro candidate…

CategoryCustomer Support
Enginepaperclip
Difficultyadvanced
Triggerevent
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerTicket marked solved in ZendeskZendeskZendesk
  • LogicSkip replies sent from a macro
  • ActionAgent judges if reply is reusable
  • LogicBranch on reusable vs one-off
  • ActionLog macro gap and candidateSupabaseSupabase
  • OutputOpen Linear issue for docs ownerLinearLinear

What it does

Catches the macros you don't have yet. Every time an agent writes a resolution from scratch instead of using a macro, it asks whether that answer should have been a macro and, when it should, drafts one as an org task for review.

When to use it

Use it to grow your library organically from real agent work, especially for newer or fast-changing products where canned answers lag behind reality.

How it works

  1. 1A ticket moving to solved in Zendesk triggers the run.
  2. 2Check whether the closing reply came from an existing macro; skip if it did.
  3. 3For hand-typed resolutions, have the CEO agent compare the reply against the macro library to judge whether it represents a reusable pattern.
  4. 4Branch: if it's a one-off, log nothing and stop.
  5. 5If it's reusable, the agent drafts a candidate macro and records the gap with the source ticket in Supabase.
  6. 6Open a Linear issue assigning the new candidate to the docs owner for finalization.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect ZendeskTickets, queues, knowledge base.
  2. 2
    Connect SupabaseTables, auth, storage, edge functions.
  3. 3
    Connect LinearIssues, projects, cycles, triage.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.