CUSTOMER SUPPORT

Daily digest of inbound ticket language mix and routing accuracy

On a daily schedule, reads yesterday's tickets from Postgres, classifies each body's language with Hugging Face, compares it against where the ticket was actually routed.

CategoryCustomer Support
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDaily schedule fires
  • ActionRead yesterday's tickets from PostgresPostgreSQLPostgres
  • ActionClassify each ticket language via Hugging FaceHugging FaceHugging Face
  • LogicAggregate language mix and flag misroutes
  • OutputPost language-mix digest to SlackSlack

What it does

This is a reporting workflow, not a live router. Once a day it pulls the prior day's tickets from Postgres, runs each body through a Hugging Face language classifier, and cross-checks the detected language against the queue the ticket was assigned to. It summarizes the inbound language mix and flags conversations that landed in the wrong language queue, then posts the digest to a Slack channel.

When to use it

You already route multilingual tickets and want to know whether the routing is actually correct and how your language volume is trending. Use it to spot a growing language you do not staff, or a queue quietly accumulating misrouted tickets.

How it works

  1. 1A daily schedule triggers the flow.
  2. 2Postgres returns yesterday's tickets with their body text and assigned queue.
  3. 3Each body is classified by a Hugging Face language model.
  4. 4A logic step aggregates counts per language and compares detected language to assigned queue to flag misroutes.
  5. 5A formatted digest with the language mix and a misroute list is posted to Slack.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PostgresAny Postgres URL — query, write, migrate.
  2. 2
    Connect Hugging FaceModels, datasets, spaces — the open-source hub.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  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.