Template id: shopee/finder · Trigger: Flow input (other flows call it) · Callers: your own flows (caller: "self") · Flow timeout: 15 minutes
Give Shopee Product Finder a keyword. It searches the Shopee Affiliate catalog, lets AI pick the best value, makes your affiliate link and returns the product. Other flows call it with a Run flow node; the Auto Reply and Auto Post templates call it when Shopee is on (mood or keyword).
What you need
- A Dataset › Account with platform SHOPEE (Sign in; the finder acts in the
shopeebrowser). - A Dataset › AI key (Pick the best value).
The first time, sign in by scanning the QR code in the live view: the run waits for you, and the session stays in the campaign's shopee browser profile after that.
The flow
flowchart LR
input[Flow input] --> signin[Sign in] --> search[Search affiliate catalog]
search -- next --> choose[Pick the best value]
search -- empty --> nothing[Nothing found]
choose -- next --> affiliate[Affiliate link]
choose -- none --> nothing
affiliate -- next --> return[Return product]
affiliate -- error --> nothing
Nodes
| Id | Node | Type | Key values |
|---|---|---|---|
input | Flow input | flow/input | sample { "keyword": "tumbler stainless 1 liter" } |
signin | Sign in | shopee/signin | on error ask a human, timeout 10 min |
search | Search affiliate catalog | shopee/search | region: "ID", keyword: {{ nodes.input.output.keyword }}, max: 20 |
choose | Pick the best value | ai/choose | ai: {{ option.ai }} (the calling flow's ai fills it); picks 1; extra field why (one sentence a shopper finds convincing) |
affiliate | Affiliate link | shopee/affiliate | id: {{ nodes.choose.output.picks.0.id }}, subId: "x" |
return | Return product | flow/return | name, price, sold, why, link |
nothing | Nothing found | flow/return | { "link": null } |
Pick criteria:
The best pick for "{{ nodes.input.output.keyword }}": relevant to the request, many sold, fair price, and a good commission.
Input and output
Input (what a caller sends):
{ "keyword": "tumbler stainless 1 liter" }
Output when it finds a product (illustrative values):
{
"name": "Tumbler Stainless 1L Vacuum Insulated",
"price": "Rp89.000",
"sold": "10RB+ terjual",
"why": "Keeps drinks cold all day and sells well at a fair price.",
"link": "https://s.shopee.co.id/80Dmta9GXw"
}
Output when nothing fits: { "link": null }. Callers test link with an If node.
Call it from your own flow
Add a Run flow node, pick Shopee Product Finder, and map its input:
{
"id": "finder",
"type": "flow/run",
"name": "Find on Shopee",
"field": { "flowId": "<finder flow id>", "input": { "keyword": "{{ nodes.loop.output.item.keyword }}" }, "cache": 360 },
"setting": { "retry": { "count": 0, "waitMs": 1000, "backoff": "fixed" }, "error": { "mode": "stop", "fallback": null, "break": { "count": 3, "waitMs": 600000 } }, "timeoutMs": 900000, "disabled": false },
"pin": null
}
Then read {{ nodes.finder.output.link }}, {{ nodes.finder.output.name }} and so on. The finder's nodes act in the shopee browser, while your flow's own nodes stay in theirs, all inside your run. See .
FAQ
Can I run it on its own?
Yes. Open it and press Run: the Flow input's sample is the input.
Which region does it search?
ID (Indonesia) by default. Change Search affiliate catalog › region.
Why does the link start with s.shopee.co.id?
That is Shopee's short affiliate link, made for your affiliate account by the Affiliate link node.