What is the AI Decision Maker?
The AI Decision Maker is a workflow action that replaces rigid, rule-based conditions with natural language intelligence. Instead of building complex chains of if/else branches to evaluate contact data, you describe your routing logic in plain English and let the AI determine which path each contact should follow. Traditional workflow conditions require exact matches: “If tag equals VIP” or “If custom field contains plumbing.” The AI Decision Maker understands nuance, context, and intent. It can evaluate sentiment, classify requests, assess quality, and make judgment calls that would otherwise require a human reviewer.The AI Decision Maker consumes AI credits each time it evaluates a contact. Factor this into your workflow design, especially for high-volume automations.
When to use AI Decision Maker vs traditional conditions
Not every decision needs AI. Here is a quick guide:| Use traditional conditions when… | Use AI Decision Maker when… |
|---|---|
| Checking exact field values (tag = “VIP”) | Evaluating free-text responses |
| Comparing numbers (score > 7) | Assessing sentiment or tone |
| Checking if a field exists or is empty | Classifying intent from messages |
| Simple yes/no logic | Making subjective quality judgments |
| High-volume, low-complexity routing | Complex, multi-factor decisions |
Setting up the AI Decision Maker
Add the action to your workflow
In the workflow editor, click + to add a new action. Search for AI Decision Maker and add it to your workflow at the point where you need intelligent routing.
Write your decision prompt
Describe the decision the AI needs to make. Be specific about what data to consider and what outcomes are possible. For example:
Define your branches
Create a branch for each possible outcome the AI might return. Each branch leads to a different set of downstream actions. Map the AI’s possible responses to your branch names.
Configure branch actions
Build out the actions for each branch. For example:
- Pricing branch: send pricing PDF, notify sales team
- Support branch: create support ticket, send acknowledgment
- Complaint branch: escalate to manager, send apology message
Add a fallback branch
Always include a default or “other” branch to handle cases the AI cannot confidently classify. This prevents contacts from getting stuck in a workflow with no path forward.
Writing effective decision prompts
The quality of your routing depends entirely on how well you write your decision prompt. Follow these guidelines:Be exhaustive with categories
List every possible outcome explicitly. If you leave a category undefined, the AI will improvise, which leads to unpredictable routing.Provide context about your business
The AI makes better decisions when it understands your domain:Use structured output instructions
Tell the AI to return only the classification label, not an explanation:Example use cases
Sentiment-based routing
Sentiment-based routing
Scenario: Route incoming messages based on the customer’s emotional state.Decision prompt:Branches:
- Positive: Send a thank-you message, ask for a review
- Neutral: Continue normal follow-up sequence
- Negative: Alert team lead, send empathetic response, create priority ticket
Intent classification for inbound leads
Intent classification for inbound leads
Scenario: Automatically categorize what new leads are looking for based on their form responses or initial messages.Decision prompt:Branches:
- Buy now: Immediate sales team notification, priority follow-up
- Compare: Send comparison guide, schedule consultation
- Research: Add to educational drip sequence
- Existing customer: Route to account management
Lead quality assessment
Lead quality assessment
Scenario: Evaluate whether a lead is worth immediate sales attention based on multiple data points.Decision prompt:Branches:
- Hot: Notify sales immediately, send calendar link, priority tag
- Warm: Add to nurture sequence, schedule follow-up in 3 days
- Cold: Add to long-term drip, no immediate sales action
Support ticket priority and routing
Support ticket priority and routing
Scenario: Classify incoming support requests by urgency and topic, then route to the right team.Decision prompt:Branches:
- Critical: Immediate team alert, auto-response with ETA
- High: Add to priority queue, send acknowledgment
- Medium/Low: Standard queue, automated response with resources
Combining AI Decision Maker with traditional conditions
The most effective workflows layer AI decisions alongside traditional logic. Here is a recommended pattern:- Traditional condition first — filter out clear-cut cases (missing data, already-tagged contacts, specific sources)
- AI Decision Maker second — handle the nuanced cases that require interpretation
- Traditional condition after AI — add guardrails based on the AI’s output (e.g., only proceed if confidence is high)
Example: layered decision workflow
Testing your decision branches
Thorough testing prevents misrouted contacts and wasted AI credits.Manual testing
- Create test contacts with varied data profiles
- Run each test contact through the workflow manually
- Verify the AI selects the correct branch for each scenario
- Document any misclassifications and refine your prompt
Edge case checklist
- What happens when the input field is empty?
- What if the contact writes in a language other than English?
- What if the message is very short (one or two words)?
- What if the message contains multiple intents?
- What if the message is spam or irrelevant?
Performance considerations
Response time
The AI Decision Maker typically processes in 2 to 5 seconds. For time-sensitive workflows, factor this delay into your design. If sub-second routing is required, use traditional conditions instead.Credit usage
Each evaluation consumes AI credits. To optimize:- Use traditional conditions to pre-filter contacts before reaching the AI step
- Avoid placing AI Decision Maker inside loops
- Consolidate multiple AI decisions into a single prompt when possible
Accuracy over time
Periodically audit your AI Decision Maker’s routing accuracy. As your business evolves, the categories and criteria may need updating. Schedule a monthly review of misrouted contacts and refine your prompts accordingly.Next steps
AI actions in workflows
Generate AI-powered content within your workflow steps.
AI agents + workflows
Connect conversational AI agents to your workflow automations.
Workflow examples
See complete workflow recipes using AI Decision Maker.
Automation overview
Learn the fundamentals of HoopAI workflow automation.
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)