Match makeup shades from selfies with WhatsApp, GPT-4o-mini and Shopify
Ready for 3.0What this workflow does
This workflow has 59 nodes and runs on WhatsApp events (messages) (plus 1 other trigger). Along the way it connects WhatsApp Business Cloud, Google Sheets and Slack. It also calls api.openai.com over HTTP.
How it runs
Trigger: On WhatsApp events (messages) (plus 1 other trigger).
- Set Match Config (Code): runs custom JavaScript code
- Route Run (Switch): routes items into 2 branches
- Customer Message? (Filter): keeps only the items that match a condition
- Fetch Recent Orders (HTTP Request): calls an HTTP API
- Read Sessions (Nudge) (Google Sheets): uses Google Sheets
- Normalize Message (Edit Fields (Set)): sets 7 fields: phone, name, msg_id…
- Split Out: splits a list into separate items
- Read Matches (Nudge) (Google Sheets): uses Google Sheets
- Read Session (Google Sheets): uses Google Sheets
- Order Attribution (Edit Fields (Set)): sets 5 fields: match_id, purchased_order, purchased_value…
…plus 47 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Sheets + Slack templates (1,314) · Other OpenAI + Slack templates (979)
HTTP calls to: api.openai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Filter
n8n-nodes-base.filter - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Merge
n8n-nodes-base.merge
From the author
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…