Taking over your helpdesk answers without the agent saying them uncheckedAll articles

Taking over your helpdesk answers without the agent saying them unchecked

A business’s knowledge sits in old answers. This case shows how it gets into the agent without an outdated answer going live unseen.

Published: 2026-09-12Reading time: 4 mintapinomahub API & workflows
API & processesAPIParts tradeWorkshopLogistics & inventory

A parts dealer has maintained an FAQ page and a helpdesk with text snippets for years. They contain the right answers — and some that have been wrong since the last change in shipping. Pouring everything into the agent at once would be fast and dangerous.

Taking over the answers from your old helpdesk without the agent saying them uncheckedInput: answers collected over years in a helpdesk or on an FAQ page 1. Read the current set (GET /agent/profiles/{profileId}/faq): entryCount, approvedCount and faqCompiledChars 2. Import (POST /agent/profiles/{profileId}/faq/import): up to 200 entries, always as drafts — imported and skipped reported separately 3. Approve (PUT /agent/profiles/{profileId}/faq/{entryId}): status approved; faqDropped names what no longer fits the instruction 4. Delete what is outdated (DELETE /agent/profiles/{profileId}/faq/{entryId}): deleted and the new instruction length in faqCompiledChars 5. Update the profile (PUT /agent/setup/profiles/{profileId}): changed questionnaire answers without recreating the profile Output: a knowledge base in which every answer the agent gives was explicitly approved once An import never silently changes what the agent says. Only approval makes it effective.Taking over the answers from your old helpdesk without theagent saying them uncheckedInput: answers collected over years in a helpdesk or on an FAQ page01Read the current setGET /agent/profiles/{profileId}/faqentryCount, approvedCount and faqCompiledChars02ImportPOST /agent/profiles/{profileId}/faq/importup to 200 entries, always as drafts — imported and skipped reported separately03ApprovePUT /agent/profiles/{profileId}/faq/{entryId}status approved; faqDropped names what no longer fits the instruction04Delete what is outdatedDELETE /agent/profiles/{profileId}/faq/{entryId}deleted and the new instruction length in faqCompiledChars05Update the profilePUT /agent/setup/profiles/{profileId}changed questionnaire answers without recreating the profileOutput: a knowledge base in which every answer the agent gives was explicitly approved onceAn import never silently changes what the agent says. Only approval makes it effective.
Five calls from the current set to the updated profile. Approval stands between import and effect.

The import is therefore deliberately two-stage: everything is read in as a draft, and the approved selection does not change in the process. An answer becomes effective only when someone approves it — an import can never silently change what the agent says.

SurfaceRoles
Sales agentParts trading, Vehicle trading, Workshop

What this case requires

  • A created profile. The knowledge base belongs to a profile; without a profileId there is nowhere for the entries to go.
  • The answers as question-answer pairs. Running text from a page has to be split into pairs beforehand.
  • A person who approves. Approval is the actual work step, not the import.
  • The willingness to trim. The instruction has an upper bound; not every old answer fits.

The sequence

The table names the responsible call per stage and what exists afterwards. The reasoning for why a stage cannot be skipped follows below it.

The call chain of this use case
StageCallWhat exists afterwards
Read the current setGET /agent/profiles/{profileId}/faqentryCount, approvedCount and faqCompiledChars
ImportPOST /agent/profiles/{profileId}/faq/importup to 200 entries, always as drafts — imported and skipped reported separately
ApprovePUT /agent/profiles/{profileId}/faq/{entryId}status approved; faqDropped names what no longer fits the instruction
Delete what is outdatedDELETE /agent/profiles/{profileId}/faq/{entryId}deleted and the new instruction length in faqCompiledChars
Update the profilePUT /agent/setup/profiles/{profileId}changed questionnaire answers without recreating the profile

Why each stage is needed

  1. Read the current set. GET /agent/profiles/{profileId}/faq returns the entries with their status, plus entryCount, approvedCount and faqCompiledChars. Knowing before the import how much is already approved and how much room the instruction has left makes the import more targeted.
  2. Import. POST /agent/profiles/{profileId}/faq/import takes up to 200 entries with question, answer and language — always as drafts. The response reports imported and skipped separately and lists anything notable in warnings.
  3. Approve. PUT /agent/profiles/{profileId}/faq/{entryId} sets status to approved, rejected or back to draft, and allows correcting question and answer first. The response names faqDropped: if an entry no longer fits the instruction, you are told instead of guessing.
  4. Delete what is outdated. DELETE /agent/profiles/{profileId}/faq/{entryId} removes an entry and reports the new instruction length in faqCompiledChars. Deleting is maintenance here, not loss: every wrong answer removed is one the agent can no longer give.
  5. Update the profile. PUT /agent/setup/profiles/{profileId} updates the profile from changed questionnaire answers without recreating it. When the knowledge base shows that tone, shipping rules or permissions have changed, that belongs in the profile and not just in an FAQ entry.
Import helpdesk answers as drafts
curl -X POST \
  -H 'X-Api-Key: <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{"entries":[{"question":"Versenden Sie auch nach Österreich?","answer":"Ja, innerhalb von zwei Werktagen nach Zahlungseingang.","language":"de","status":"draft"}]}' \
  'https://api.tapinomahub.com/hub/index.php/agent/profiles/<profileId>/faq/import'

What you end up with

What remains is a knowledge base in which every answer the agent gives was explicitly approved once, and a profile that matches it. The import was fast; approval was the work — and it is the reason the result can be trusted.

Where to find this in the documentation

The binding field lists, error codes and sample responses live in this surface’s OpenAPI contract at docs.tapinomahub.com (tapinoma-agent). All use cases arranged by surface and role: overview of the use cases.

Frequently asked

Does the agent use imported answers immediately?

No. An import always creates drafts, and the approved selection stays unchanged. An entry takes effect only on approval.

How many entries can I import at once?

Up to 200 per import. Larger sets are read in over several imports.

What does faqDropped mean?

That approved entries no longer fit the instruction. Instead of truncating them silently, the response names the number — then you decide what matters more.