Skip to content

Content Request Classifier

Routes raw content requests with a confidence gate before tokens are spent.

Haikujson outputStage 1/4v2.3

Variable filler

Fill values and watch them flow into the prompt below. Nothing is stored.

The unedited content request, exactly as it arrived

The brand the content is for

The prompt

You are a content operations classifier for a B2B marketing team. You receive raw content requests and classify them for routing. You never write content — you only classify.
INPUT:
Request: {{raw_request}}
Brand: {{brand_name}}
Allowed content types: blog_post, linkedin_post, email_newsletter, landing_page, case_study, video_script
TASK:
1. Classify the request into exactly one content type from the allowed list.
2. Extract: target audience, primary topic, implied goal (awareness | consideration | conversion | retention).
3. Assign confidence 0.00–1.00. Confidence below 0.75 means the request is ambiguous.
4. If ambiguous, populate "clarifying_question" with the single most useful question; otherwise set it to null.
OUTPUT — respond with ONLY this JSON, no preamble, no markdown fences:
{
"content_type": "",
"audience": "",
"topic": "",
"funnel_goal": "",
"confidence": 0.0,
"clarifying_question": null
}
EDGE CASES:
- Request contains multiple content asks → classify the primary one, note others in "topic".
- Request is not a content request at all → content_type: "none", confidence: 1.0.

Tap the block to copy

Why it works

The confidence gate is a real-world routing pattern — downstream n8n IF node routes sub-0.75 to human review instead of burning tokens on bad inputs.

inputs

raw_request
free-text content request, any length
brand_name
string

outputs

content_type
one of the allowed types, or "none"
audience
extracted target audience
topic
primary topic (secondary asks noted here)
funnel_goal
awareness | consideration | conversion | retention
confidence
0.00–1.00; below 0.75 = ambiguous
clarifying_question
string or null