CRM pack
Support tickets CSV import API
Import helpdesk tickets from any CSV: requester, subject, priority, status, assignee, channel, created and resolved dates. Multilingual headers.
curl -X POST https://api.adaptivmapr.com/v1/uploads \
-H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
-F "template=support_tickets_v1" \
-F "file=@your_data.csv"Canonical columns
The whole schema, printed as it ships.
Every canonical column, the type each row carries, whether it is required, the field-level validators that fire on commit, and the multilingual header hints the cascade resolves against. This is the shipped definition, not a summary of it.
support_tickets_v1- fields
- 9
- required
- 2
- validated
- 1
- hints
- 52
| Canonical column | Type | Required | Validators | Header hints the cascade matches |
|---|---|---|---|---|
id | string | yes | — | ticketnummerticket-nrfallnummernuméro de ticketnumero ticketticket idnúmero de ticket |
requester_email | — | email | e-mailmailanfragenderdemandeurrichiedenterequestersolicitante | |
subject | string | yes | — | betreffobjetoggettoasuntotitle |
priority | enumlownormalhighurgent | — | — | prioritätprioritéprioritàpriorityprioridad |
status | enumnewopenpendingsolvedclosed | — | — | statusstatutstatoestado |
assignee | string | — | — | bearbeiterzugewiesen anassigné àassegnatarioagentasignado a |
channel | enumemailphonechatwebsocial | — | — | kanalcanalcanalechannelviasource |
created_at | date | — | — | erstellt ameröffnetcréé lecreato ilcreatedcreado el |
resolved_at | date | — | — | gelöst amgeschlossen amrésolu lerisolto ilresolvedresuelto el |
Read the same definition as JSON at GET /v1/templates/support_tickets_v1. A hint match resolves on layer 2 — no LLM call, no token spend, just the flat per-map fee. Hover a validator id to see what it checks.
- 9 canonical fields
- 2 required
- 1 validated
- 52 header hints, 5 languages
Why it exists
Written for the file you actually receive.
The Support tickets template is one customer case per row: the ticket id and its subject (both required), the requester's email, a priority (low, normal, high, urgent), a status (new, open, pending, solved, closed), the assignee, the channel it arrived on, and when it was created and resolved. It is what a helpdesk export, a shared-inbox report or a support team's tracking spreadsheet reduces to. Support operations teams use it to keep ticket history when they change helpdesk, to report resolution times by channel and priority, and to tie support load to the customer account behind each requester. The priority and status sets are the ones Zendesk uses, so a Zendesk export's values validate as they stand. It is `low` risk, a contact email and a subject line rather than the conversation, so a confirmed mapping commits straight through.
id and subject are required. requester_email runs an email-shape check, so a phone number or a name in that column is reported per row. priority, status and channel are enums: Freshdesk's "Medium" priority and "Resolved" status, or a "Web form" channel, are not members and need renaming before import, because the validator reports them instead of guessing. created_at and resolved_at are separate auto-detected dates, so time to resolution is a subtraction downstream. The ticket body and the reply thread are not fields; a reporting table rarely needs the conversation itself.
Migration scenarios & the foreign headers they ship
Teams use the template when they move from Freshdesk to Zendesk, from Zendesk to Intercom or Help Scout, or out of a shared mailbox into a real helpdesk and want the history to come along; when a quarterly support review needs a year of tickets in the warehouse; and when support load has to be attributed to accounts before a renewal. Headers we see: "Ticketnummer / Ticket ID / Numéro de ticket / Betreff / Subject / Objet / Anfragender / Requester email / Demandeur / Priorität / Priorité / Priority / Status / Statut / Bearbeiter / Assignee / Agent / Assegnatario / Kanal / Via / Canal / Erstellt am / Created at / Created time / Gelöst am / Solved at / Resolved time / Résolu le". Freshdesk's "Source" column, its name for the channel, is a registered hint and lands on channel directly.
The cascade
Six layers, and the cheapest one wins.
Layers run in order and stop the moment a column resolves. That is the single biggest cost lever in the system: a column caught on layer 2 never reaches the metered layer 5.
- L1Statisticsno LLM
Auto-accepts a header that past confirmations already resolved the same way, at {minN:100, minRatio:0.95} or {minN:20, minRatio:1.00}.
- L2Heuristicno LLM
Normalises accents, punctuation and whitespace, then compares against the column name, the label, and every registered hint (DE / FR / IT / EN / ES).
- L3Fuzzyno LLM
Token-set ratio plus Levenshtein over the normalised strings. Auto-accepts at 0.80 — it absorbs typos and reordered words.
- L4Semanticcheap, cached
Embedding cosine between the header and the field’s label + hints. Catches the long tail of paraphrases.
- L5LLMmetered
Everything still unresolved goes up in ONE batched, collision-aware call, constrained to this template’s column set so it cannot invent a field.
Try it
One template id, two ways in.
REST for your import pipeline, MCP for your editor. Both run the same cascade and both honour the same schema-only clamp.
REST · POST /v1/uploads
Name the template; the cascade picks up the rest. The canonical definition is read-only at GET /v1/templates/support_tickets_v1.
curl -X POST https://api.adaptivmapr.com/v1/uploads \
-H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
-F "template=support_tickets_v1" \
-F "file=@your_data.csv"MCP · Cursor / Claude Desktop
Drop AdaptivMapr into your editor and call the same cascade as a tool. Schema-only calls leave only column names and a few example values.
// In Cursor or Claude Desktop with the AdaptivMapr MCP server installed:
adaptivmapr.match_headers({
template_id: "support_tickets_v1",
headers: ["id", "requester_email", "subject", "priority"]
})Questions








