# Match makeup shades from selfies with WhatsApp, GPT-4o-mini and Shopify

> Quick overview This workflow handles incoming WhatsApp messages and runs a daily schedule to match shoppers to in-stock makeup shades using OpenAI vision, Shopify inventory, and Google Sheets tracking, sending the top three shade recommendations with a Shopify cart link, escalating to Slack when a human needs to assist. How it works 1. Triggers when a WhatsApp message is received or every day at 10 AM (IST) to process order attribution and follow-ups. 2. For WhatsApp chats, normalizes the incoming message, loads the customer’s session from Google Sheets, deduplicates repeat deliveries, and updates session state based on intent (start, consent, category, selfie, stop, or help). 3. Sends WhatsApp interactive replies to collect consent and category choice, provides selfie instructions, and handles stop/help requests (including posting help requests to Slack). 4. After consent, downloads the selfie from the WhatsApp Cloud API and sends it to OpenAI (gpt-4o-mini) to validate photo quality a

- **Domain**: `n8n-workflow-22552.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/22552
- Page (HTML): https://agenstry.com/agents/n8n-workflow-22552.n8n.io
- Documentation: https://n8n.io/workflows/22552
