CUSTOMER SUPPORT

Suggest the best macro by matching tickets against Help Center articles

Embeds new Zendesk tickets, retrieves the most relevant Help Center articles and macros, and recommends a grounded macro with a citation when there is a strong match.

CategoryCustomer Support
Enginesim
Difficultyadvanced
Triggerevent
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew Zendesk ticket createdZendeskZendesk
  • ActionEmbed ticket text with OpenAIOpenAI
  • ActionRetrieve nearest articles and macros from PostgresPostgreSQLPostgres
  • LogicGate on retrieval similarity score
  • ActionSelect best macro from candidates with OpenAIOpenAI
  • OutputPost cited macro recommendation as an internal noteZendeskZendesk

What it does

This is a retrieval-augmented triage flow. New tickets are embedded and matched against a vector index of your Help Center articles and macro library stored in Postgres. When a confident match exists, the workflow suggests the specific macro and cites the supporting article, so agents trust the recommendation and reuse approved language.

When to use it

Use this when keyword tagging is too blunt and you want recommendations grounded in your actual documentation. Best for teams with a mature knowledge base who want macro suggestions backed by a source link rather than a guess.

How it works

  1. 1A new Zendesk ticket triggers the workflow.
  2. 2OpenAI creates an embedding of the ticket subject and body.
  3. 3An action queries the Postgres vector store for the nearest articles and macros.
  4. 4A logic step checks similarity; weak matches are tagged `no-confident-macro` and stop.
  5. 5OpenAI selects the single best macro from the retrieved candidates.
  6. 6The output posts the recommended macro plus the cited article link as an internal note in Zendesk.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect ZendeskTickets, queues, knowledge base.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Connect PostgresAny Postgres URL — query, write, migrate.
  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.