Templates / Send daily purchase plans from Shopify, Amazon, Etsy with OpenAI and Gmail

Send daily purchase plans from Shopify, Amazon, Etsy with OpenAI and Gmail

Ready for 3.0

by Shuo Yuan ✓ · 0 views · created 2026-11-09 · CRM, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 14 nodes and runs on a schedule (every day at 07:00). Along the way it connects Telegram, Gmail and Google Sheets. It also calls sellingpartnerapi-na.amazon.com, openapi.etsy.com and api.openai.com over HTTP.

How it runs

Trigger: On a schedule (every day at 07:00).

  1. Fetch Shopify Stock (HTTP Request): calls an HTTP API (GET)
  2. Fetch Amazon Stock (HTTP Request): calls sellingpartnerapi-na.amazon.com (GET)
  3. Fetch Etsy Stock (HTTP Request): calls openapi.etsy.com (GET)
  4. Merge Channels (Code): runs custom JavaScript code
  5. Compute Cover (Code): runs custom JavaScript code
  6. Anything Low? (If): checks a condition and branches into true / false
  7. Ask For A Purchase Plan (HTTP Request): calls api.openai.com (POST)
  8. Nothing To Reorder (Telegram): uses Telegram
  9. Build Email Body (Code): runs custom JavaScript code
  10. Email The Plan (Gmail): uses Gmail

…plus 3 more steps. See the full node list below.

Services it uses

TelegramGmailGoogle Sheets

HTTP calls to: sellingpartnerapi-na.amazon.com, openapi.etsy.com, 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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

Quick overview This workflow runs every morning to pull inventory from Shopify, Amazon SP-API, and Etsy, calculates days of cover and reorder quantities, then uses OpenAI to draft a purchase brief that is emailed via Gmail, summarized in Telegram, and logged…

Excerpt from Shuo Yuan's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.