Disclosure: I build Flonno. This tutorial uses our paid API and a free workflow download. The diagram above describes the node sequence. The text was prepared with AI assistance.
A successful HTTP request is not enough to decide whether a generated classification can be used. The model might stop at the output limit, return invalid JSON or produce an unexpected category. This small workflow makes those checks explicit before any ticket routing is added.
Download: Credential-free workflow JSON. Setup guide and current API documentation.
What the workflow contains
Manual Trigger β Sample input β Call Flonno β Validate classification
The sample ticket says: βI paid for my account but cannot find my invoice.β The API request uses qwen3.8-27b (Qwen3.8 Flash 27B), non-streaming Chat Completions, a 512-token output cap and a 120-second request timeout. It does not automatically retry. There is no mailbox trigger or ticket-system update.
Set it up
- Download the JSON and import it into your n8n workflow editor.
- Create a Flonno API key with
chat:completionspermission and access toqwen3.8-27b. Check current token prices and available prepaid credit; the template does not include free API credit. - In Call Flonno, select a Header Auth credential. Set its name to
Authorizationand its value privately toBearer YOUR_FLONNO_KEY. Keep the real key in n8n credentials, outside the exported workflow. - Keep the synthetic ticket in Sample input for the first run. Run the workflow manually.
- Inspect Validate classification. A successful run produces
category,urgencyandsummaryfor review.
The endpoint is https://www.flonno.com/v1/chat/completions. The token cap bounds requested output tokens, including reasoning where counted by the provider; it does not promise a fixed charge or a complete answer.
Inspect the checks
The final Code node first requires choices[0].finish_reason to be stop. It then parses choices[0].message.content as JSON and checks:
categoryisbilling,technical,accountorother;urgencyislow,mediumorhigh;summaryis a non-empty string.
The node throws when a check fails. An error should lead to inspection of the response and settings before another paid request. This is a format and completion check: a valid category can still be the wrong interpretation of the ticket. It does not enforce an exact JSON schema or prove that the summary is factually correct.
For an offline check of the final node, use a fixture shaped like this instead of an API response:
{
"choices": [{
"finish_reason": "stop",
"message": {
"content": "{\"category\":\"billing\",\"urgency\":\"medium\",\"summary\":\"Invoice missing.\"}"
}
}]
}
The fixture above should pass. Changing finish_reason to length, using malformed JSON, setting an unknown category or urgency, or leaving the summary blank should fail. These fixtures check the validation logic without generating additional model requests.
What has been checked
On October 4, 2026, the workflow was executed with n8n 2.31.4 against a local Flonno gateway with live external inference. The invoice example returned billing, medium and a summary. On October 14, the public download was reachable, and the Code-node logic passed a separate offline valid-input test and rejected six invalid or incomplete response fixtures. The current production inference path was not rerun for this article.
That is a narrow integration check. It does not establish general classification accuracy, prompt-injection resistance, current production performance or compatibility with every n8n version. Before routing real tickets, define expected outcomes on representative cases and review errors as well as successes.
Flonno receives request content and routes it to a configured external inference service. Your n8n instance may also retain execution content according to its settings. Use synthetic text first and review the privacy notice and your processing requirements before using customer data.
