A complete guide to building an AI agent that takes care of “Shade Matching” questions end-to-end and matches each buyer to the best shade. Build it today and tackle tickets spike and boost conversion during peak gifting season.
Why read this guide?
Shade matching questions from buyers do two things at once - they create tons of repetitive tickets and they delay purchases. This blueprint shows how to actually build a shade-matching AI agent, step by step. After reading this 2-pager, you’ll be able to:
- Build your own AI agent for shade-matching customer queries
- Create rules for photo upload, while managing sensitivity
- Create 2 to 3 shade recommendations feature within the AI agent
- Safe escalation rules for cases with uncertainty
- A rollout plan that prioritizes safety and accuracy
How to think about building a shade-matching agent
A shade-matching agent is not a “chatbot.” It is a decision system with inputs, rules, and detailed conditions. Before you build, gather whatever you already have in your CX knowledge base.
Your building blocks (use all of the below items that are available)
If you only have a catalog and a basic shade chart, that’s still enough
Product and shade data (for products with shades)
- Product catalog fields: product type, shade name, depth, undertone, finish, coverage
- Swatches, on-model photos, shade descriptions
- Shade comparison charts: “if you wear X, try Y”
- Notes like oxidation, sheer vs full coverage behavior
Guidance you already give customers
- Shade guide FAQs, pages, charts, and quiz
- Support SOPs and internal playbooks
- FAQs about undertone, depth, finish, and “between shades”
Real-world signals
- Any reviews and UGC that mention a reference shade
- Common questions your team receives every week (undertone, flashback, oxidation, “I’m between two”, etc)
Policies and boundaries
- Returns and exchanges policy for shade regret
- Handoff rules for uncertain or sensitive cases
How to build the AI agent (step by step)
Below is the step-by-step guide to building your first shade-matching AI agent in a typical AI agent builder.
Step A: Create the agent (Basic Info)
Agent name
Shade Matcher AI Agent (or any name you prefer)
General Instructions for the AI (you can copy/paste this)
Give shade recommendations for our complexion products. Help customers choose between shades. Ask clarifying questions when needed. If the request is about orders, shipping, returns, promotions, ingredients, allergies, or medical concerns, route away from shade matching or escalate to human agent.
Agent Goal for the AI (you can copy/paste this)
Help the customer find the best matching shade with minimal back and forth. Prefer asking 1–3 questions to best match shade for any complexion product. Offer photo upload as an option, but always ask for photo. Recommend 2–3 shades with a short explanation. If confidence is low or the topic is sensitive, hand off to a human or provide policy-approved guidance.
Step B: Define Triggers
You want this agent to activate only when the customer is trying to pick a shade or compare shades. To do that, we need to create intent triggers like the following:
Shade matching intents
“What shade should I buy for my skin color?”,
“I’m not sure which shade to choose for my girlfriend/wife”,
“I wear shade X in Y brand, do you have anything that matches it?”,
“I’m deciding between the two shades”,
“Which shade is closest to [shade name]?”,
“Does this run warm or cool?”, “Will this color oxidize?”,
“I have warm/cool skin tone, which shade will be best for me?
and any other similar queries…
Route away
“Where is my order?” , “How long does shipping take?” , “Return or exchange” , “Ingredients / allergy / irritation” , “Discount code” , “Cancel my order”, etc.
Trigger rule
- If intent is in Shade matching, run this agent.
- If intent is a lookalike or different, do not run this agent. Route to the correct workflow or agent
Step C: Connect your sources (Context / Knowledge)
Connect whatever you have so the agent can reference it:
Minimum set
- Product catalog with shade attributes
- Shade guide / chart(s)
- FAQ and support macros related to shade matching
- Returns/exchange policy
Nice to have
- Shade discovery quiz questions
- If you wear X, try Y
- UGC content on shades</aside>
Step D: Write the main process (Process)
This is the core and the decision tree. Below is a process skeleton you can copy/paste and edit into your AI workflow builder or instruction-based AI agent process builder.
Process name: Shade Matching Process
Trigger conditions (the AI agent must only trigger based on these conditions)
- If the customer asks for shade matching or shade comparison, proceed with this AI agent process.
- If the customer is asking about orders, shipping, returns, promos, or anything else, exit and route to the right workflow or escalate to human agent if no other AI workflow exists.
- If the customer mentions allergy, irritation, medical conditions, or requests medical advice, exit and hand off to human agent immediately.
Step 1: Strip out lookalikes
If the customer’s message is not clearly about shade, ask one qualifying question:
“Are you looking for help choosing a shade, or is this about an order, shipping, or a return?”
If they confirm it’s about shade, then continue. If not, route to another AI workflow or an human agent.
Step 2: Confirm product and intent
Shade depends on the product. If the product is not clear, ask:
“Which product are you shopping for?”
Options: foundation, concealer, skin tint, powder, bronzer, blush, lipstick.
If they are browsing, ask one more:
“What finish do you want?”
Options: matte, natural, dewy. Or “What coverage?” sheer, medium, full.
If they already have a match somewhere, ask:
“Do you wear a shade you already like?
Stop at 1–3 questions. Do not interrogate too much.
Step 3: Collect skin-tone signals (two paths)
Offer a choice. Make it easy.
Path A: Photo upload (preferred for speed and accuracy)
Ask for a photo with these instructions:
Natural light if possible, no image filters, Include cheek, jawline, and neck if possible, one face only, one photo is enough.
Consent line
“If you upload a photo, it will be used only to suggest a shade.”
If the customer agrees, request the photo.
If the platform has file limits
If the customer’s message indicates the attachments did not send or were too large:
- Ask them to re-send one photo only, compressed if possible.
- If no still photo arrives, fall back to Path B.
Path B: No-photo fallback
Ask for high-signal inputs:
- Present skin color selection UI in chat box
- Present skin undertone selection UI in chat box: warm, cool, neutral, olive, etc
- Present skin depth selection UI in chat box: fair, light, medium, tan, deep, etc
- Ask for a reference shade they already wear, if available
Step 4: Validate the photo (if photo was received)
If a photo is provided, check quality:
If the photo is clear enough to see detect tone → Proceed with Step 4.
If the photo is unclear:
- Ask for one better photo using the same rules.
- If the customer cannot provide a better photo, switch to no-photo fallback.
If multiple faces are in the photo:
- Ask for a single-face photo.
- If not possible, switch to no-photo fallback.
Step 5: Create a structured shade profile for the user
Turn messy human input into a simple profile.
Create these fields internally:
- Product type
- Depth band (according to our brand’s shade system)
- Undertone (warm/cool/neutral/olive or your internal labels)
- Constraints: finish, coverage, oxidation notes, sensitivity flags
- Confidence level: high / medium / low
Step 6: Generate candidates from your data
Use your connected sources in this order:
- Shade guide and quiz questions
- Catalog shade attributes
- “If you wear X, try Y” rules
- UGC and review references (as supporting evidence, not the only signal)
Output a ranked list internally, then pick the top 2–3 shades for a given product. Rules:
- Do not return more than 3 shades.
- If confidence is medium, include a safer middle shade.
- If confidence is very low, escalate to a human agent.
Step 7: Respond with tight bounds (copy this format)
Use a fixed output template. It reduces mistakes.
Suggested match: Shade A
Why: 1–2 lines, concrete cues (depth + undertone + finish info)
Close alternative: Shade B
Why: slightly warmer/cooler or lighter/deeper, etc
If lighting is throwing things off: Shade C
Why: safer middle option
Then ask one confirm question:
“Do you prefer something warmer or more neutral?”
or
“Do you usually find shades pull too yellow or too pink on you?”
Step 8: Handle uncertainty like a system
If confidence is low:
- Say it plainly: “I’m not fully confident from this photo/info.”
- Offer one next step:
- one clarifying question, then re-run Step 5
- point to shade quiz
- offer human review
Never guess aggressively. If the customer expresses frustration:
- Offer handoff.
- Do not loop.
Step 9: Add the conversion-safe close
Without being salesy, remove the last friction:
- How it will wear: sheer/buildable/full
- Quick “how to test” guidance
- If it is wrong: the exact exchange process, in one sentence
Step 10: Add actions for tracking (internal ticket Actions)
Make sure there’s clean reporting and a way to find failures.
Add tags like
- shade_match
- photo_provided
- no_photo
- low_confidence
- handoff_requested
Optional fields
- product_type
- recommended_shade
- confidence_level
Rollout safely (Advanced)
Rollout rules that avoid surprises:
- Start with one category (foundation or concealer)
- Start in one channel first (website chat is usually best)
- Use gradual rollout if available in your AI platform
- Review low-confidence and handoff tickets (if any) daily for the first week
- Update your AI process and instructions weekly based on performance
If your platform supports it, start with:
- “Pre human agent reply only” or similar supervised mode
- Then move to full automation when quality is stable
How the final agent works in the real world
Where it fits best:
- Website chat: highest intent, fastest conversion impact
- Helpdesk: reduces repetitive tickets and shortens resolution time
- Social DMs: high volume, but use stricter handoff rules
In every channel, the same core loop stays intact:
Qualify (or route) → collect minimal context → optional photo → 2–3 picks → confirm → safe exit.
Safety and trust
Shade matching touches identity and trust. Treat safety as a requirement.
Non-negotiables:
- Do not infer or label race or ethnicity from a photo
- Use cosmetic language only: depth, undertone, finish, coverage
- Ask consent before using an uploaded image
- Offer a no-photo path every time
- Minimize data collection and keep retention short
- Hard stops: medical advice, allergy claims, harassment, repeated uncertainty
- Test across diverse skin tones, lighting, and camera quality
- Keep a human handoff path visible and fast
A good shade agent is confident when it should be, and cautious when it must be.
.webp)

.png)