This document explains the Categorizer node, which uses AI to classify text into custom categories.Documentation Index
Fetch the complete documentation index at: https://docs.gumloop.com/llms.txt
Use this file to discover all available pages before exploring further.

Node Inputs
Required Fields
- Input: Text to categorize
- Categories: Define your classification groups:
- Category Name: Label for the category
- Category Description: Explain what belongs in this category
Optional Fields
- Include Justification: Get AI’s reasoning for selections
- Additional Context: Extra guidance for categorization
- Temperature: Controls AI decision-making (0-1)
- 0: More focused, consistent
- 1: More creative, varied
- Cache Response: Save responses for reuse
Show As Input
The node allows you to configure certain parameters as dynamic inputs. You can enable these in the “Configure Inputs” section:-
include_justification: Boolean
- true/false to include explanation for category assignment
-
Additional Context: String
- Extra information to guide the categorization process
- Example: “These items are different types of software bugs”
-
model_preference: String
- Name of the AI model to use
- Accepted values: “Claude 4.5 Sonnet”, “Claude 4.5 Haiku”, “GPT-5”, “GPT-4.1”, etc.
-
Cache Response: Boolean
- true/false to enable/disable response caching
- Helps reduce API calls for identical inputs
-
Temperature: Number
- Value between 0 and 1
- Controls categorization consistency
AI Model Fallback
Under Show More Options, configure automatic fallback when your selected AI model is unavailable. Fallback is enabled by default. When an error occurs (rate limits, provider outages, timeouts), the system retries based on severity, then falls back to the next model. Fallback models are always from different providers for true redundancy.| Error Type | Retries Before Fallback |
|---|---|
| Rate Limit | 2 |
| Provider 5xx | 1 |
| Network Error | 0 (immediate) |
| Timeout | 1 |
- Expert → Claude Opus 4.5 → Gemini 3 Pro → GPT-5.2
- Fastest → Gemini 3 Flash → Claude Haiku 4.5 → GPT-4.1
- Recommended → Claude Sonnet 4.5 → Gemini 3 Flash → GPT-5.2
Node Output
- Selected Category: Chosen category name
- Justification: AI’s reasoning (if enabled)
Node Functionality
The Categorizer node:- Analyzes input text
- Matches to best category
- Provides reasoning (optional)
- Handles batch processing
- Supports custom categories
Available AI Models
| Tier | Models |
|---|---|
| Expert | GPT-5.2, GPT-5.1, GPT-5, OpenAI o3, Claude 4.5/4.1/4 Opus, Claude 3.7 Sonnet Thinking, Gemini 3 Pro, Grok 4 |
| Advanced | GPT-4.1, OpenAI o4-mini, Claude 4.5/4/3.7 Sonnet, Gemini 2.5 Pro, Grok 3, Perplexity Sonar Pro, LLaMA 3 405B |
| Standard | GPT-4.1 Mini/Nano, GPT-5 Mini/Nano, Claude 4.5 Haiku, Gemini 3/2.5 Flash, Grok 3 Mini, DeepSeek V3/R1, Mixtral 8x7B |
| Special | Auto-Select, Azure OpenAI (requires credentials) |
Auto-Select uses third-party routing to choose models based on cost and performance. Not ideal when consistent behavior is required.
AI Model Selection Guide
When choosing an AI model for your task, consider these key factors:| Model Type | Ideal Use Cases | Considerations |
|---|---|---|
| Standard Models | General content creation, basic Q&A, simple analysis | Lower cost, faster response time, good for most everyday tasks |
| Advanced Models | Complex analysis, nuanced content, specialized knowledge domains | Better quality but higher cost, good balance of performance and efficiency |
| Expert & Thinking-Enabled Models | Complex reasoning, step-by-step problem-solving, coding, detailed analysis, math problems, technical content | Highest quality but most expensive, best for complex and long-form tasks, longer response time |
- Task complexity and required accuracy
- Response time requirements
- Cost considerations
- Consistency needs across runs
- Specialized knowledge requirements
- Anthropic Models Overview
- Anthropic Extended Thinking Documentation
- OpenAI Reasoning Guide
- OpenAI o3 Models
Example Use Cases
- Sentiment Analysis:
- Support Tickets:
- Content Classification:
Loop Mode
Important Considerations
- Expert models (OpenAI o3) cost 30 credits, advanced models (GPT-4.1, Claude 3.7 & Grok 4) cost 20 credits, and standard models cost 2 credits per run
- You can drop the credit cost to 1 by providing your own API key under the credentials page
- Write clear category descriptions for accurate outputs
- Enable justification for important decisions
- Use additional context for complex rules
