find_best_opportunities
The prompt
You

What the AI does
- Calls
get_analyticswith themost_wantedreport for the variants with the most demand. - Takes the top variants and calls
shopify_product_lookupwith inventory included, reading live stock per location straight from Shopify. - Compares the two:
- Long queue + stock available somewhere → revenue sitting still. Notify these now.
- Long queue + no stock anywhere → your restock list, ranked by demand.


Why it beats the report page
The waiting-list report knows demand but not current stock. The Shopify inventory screen knows stock but not who’s waiting. Joining them by hand means two tabs and a spreadsheet; here it’s one question, and the ranking comes with it.Good follow-ups
Stay in the same chat — the agent already has the context:get_entity_details returns that variant’s sign-ups (up to 100).
send_test_notification, if your token allows change tools. It sends a real message and uses
your allowance, and it only goes to your store’s own addresses. The AI previews it first and sends
only after you confirm.
export_analytics_csv returns a download link, valid for 24 hours. The most-wanted list itself
can’t be exported through the connector — download it from the app’s Analytics page.
Related
- All 16 tools — which
get_analyticsreports are available - Weekly recovery briefing — the recurring version of this habit