{"product_id":"n8n-shopping-assistant-workflow-gpt-4-1-mini-product-apis-slack","title":"n8n Shopping Assistant Workflow: GPT-4.1 Mini + Product APIs + Slack","description":"\u003ch3\u003eTurn product questions into approved orders—automatically\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n Shopping Assistant Workflow\u003c\/strong\u003e lets customers chat with an \u003cstrong\u003eOpenAI (GPT-4.1-mini)\u003c\/strong\u003e-powered assistant that searches your \u003cstrong\u003eHTTP product-catalog API\u003c\/strong\u003e for real-time prices and availability, collects explicit user approval, then submits checkout requests and posts the final order status to \u003cstrong\u003eSlack\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStarts from chat\u003c\/strong\u003e via an \u003cstrong\u003en8n Chat Trigger\u003c\/strong\u003e (or you can run a manual test), when a user submits a shopping request.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFinds the right products with live data\u003c\/strong\u003e by using \u003cstrong\u003eGPT-4.1-mini\u003c\/strong\u003e with function calling to query a \u003cstrong\u003eproduct-catalog search API\u003c\/strong\u003e for up-to-date price and availability.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns a structured shopping response\u003c\/strong\u003e: the workflow parses the agent’s JSON into (1) a reply message, (2) an optional shortlist (up to three items), and (3) a purchase-intent signal with selected product and quantity.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRequests explicit confirmation\u003c\/strong\u003e:  \n    \u003cul\u003e\n      \u003cli\u003eIf there’s no purchase intent, it immediately returns the assistant’s reply.\u003c\/li\u003e\n      \u003cli\u003eIf there is purchase intent, it \u003cstrong\u003epauses\u003c\/strong\u003e for user confirmation using a \u003cstrong\u003eresume webhook\u003c\/strong\u003e, then pauses again for \u003cstrong\u003eexplicit purchase approval\u003c\/strong\u003e.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePlaces the order with approval\u003c\/strong\u003e by submitting to the store via a \u003cstrong\u003echeckout\/order API\u003c\/strong\u003e using the selected item, quantity, customer, payment method, and shipping details.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePosts order status to Slack\u003c\/strong\u003e after receiving an asynchronous order-confirmation callback (via a third resume webhook).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS storefronts that want a chat-based \u003cstrong\u003eshopping assistant\u003c\/strong\u003e with safe, approval-gated ordering.\u003c\/li\u003e\n  \u003cli\u003eOperations teams who need \u003cstrong\u003eSlack alerts\u003c\/strong\u003e for final order status and reconciliation.\u003c\/li\u003e\n  \u003cli\u003en8n engineers connecting existing \u003cstrong\u003eproduct catalog\u003c\/strong\u003e and \u003cstrong\u003echeckout APIs\u003c\/strong\u003e without building a full frontend.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\/credentials\u003c\/strong\u003e: OpenAI, Slack, and HTTP Header Auth for both the \u003cem\u003eproduct-catalog search\u003c\/em\u003e and \u003cem\u003echeckout\/order\u003c\/em\u003e APIs.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCore nodes used\u003c\/strong\u003e: if, set, code, wait, slack, sticky note.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eControl flow\u003c\/strong\u003e: uses \u003cstrong\u003eresume webhooks\u003c\/strong\u003e to pause for (1) product confirmation and (2) purchase approval, then handles an \u003cstrong\u003easync order callback\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eConfigure the catalog and order base URLs, currency, customer ID, and default shipping\/payment parameters to match your store.\u003c\/em\u003e\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45824199164083,"sku":"N8N-18185","price":59.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/ovfaGm1PG6GktH9cVKPSg_roENOcWv.png?v=1786611816","url":"https:\/\/buyflowscripts.com\/products\/n8n-shopping-assistant-workflow-gpt-4-1-mini-product-apis-slack","provider":"N8N Commerce","version":"1.0","type":"link"}