Worked Shopify Flow examples built on Stockful triggers and actions, starting with tagging products when they run low and untagging them on recovery.
These examples show common workflow patterns you can build with Stockful’s Flow integration. Each one can be set up entirely in the Shopify Flow visual editor.
Auto-tag low stock products
Automatically add a tag when a product is running low, and remove it when restocked.
Tag on low stock
Trigger: Stockful - Low stock detected
Action: Shopify - Add product tags
Tags: low-stock
Remove tag on restock
Trigger: Stockful - Back in stock
Action: Shopify - Remove product tags
Tags: low-stock
Create a “Low Stock” collection filtered by the low-stock tag. It updates automatically as products move in and out of low stock status.
Slack alert when bestsellers stock out
Get immediate Slack notifications when your top-selling products go out of stock.
Trigger: Stockful - Out of stock
Condition:SKU is not empty (filter out untracked variants)
Action: Stockful - Get inventory health
Variant ID: use Variant ID from the trigger
Condition:abc_class equals A
Action: Stockful - Send Slack message
Channel: #inventory-alerts
Title: Bestseller out of stock
Message: *{{Product.title}}* ({{SKU}}) is out of stock at {{Location}}. Suggested reorder: {{Reorder quantity}} units.
Weekly reorder report
Generate a reorder list every Monday morning and send it to your purchasing team.
Trigger: Shopify - Scheduled time (every Monday at 9am)
Action: Stockful - Get reorder list
Condition:total_count is greater than 0
Action: Stockful - Send Slack message
Channel: #purchasing
Title: Weekly reorder report
Message: There are {{total_count}} variants below their reorder point. Review the reorder list in Stockful.
Demand adjustment for sales events
Increase demand forecasts before a planned sale, then reset after.
Before the sale
Trigger: Shopify - Scheduled time (e.g. 1 week before sale)
Action: For each product tagged summer-sale:
Stockful - Set demand adjustment
Adjustment percent: 50 (increases forecast by 50%)
After the sale
Trigger: Shopify - Scheduled time (e.g. day after sale ends)
Action: For each product tagged summer-sale:
Stockful - Set demand adjustment
Adjustment percent: 0 (resets to normal)
Transfer suggestion on imbalance
When one location runs low, check if another location has excess stock to transfer.
Trigger: Stockful - Low stock detected
Action: Stockful - Get transfer suggestion
Variant ID: use Variant ID from the trigger
Condition:has_suggestion is true
Action: Stockful - Send Slack message
Channel: #warehouse-ops
Title: Transfer suggestion
Message: *{{Product.title}}* ({{SKU}}) is low at {{to_location}}. Consider transferring {{suggested_quantity}} units from {{from_location}} ({{from_available}} available, {{from_days_of_supply}} days of supply).
Dead stock clearance workflow
Automatically tag dead stock products for discounting and notify your merchandising team.
Trigger: Stockful - Dead stock detected
Action: Shopify - Add product tags
Tags: dead-stock, clearance-candidate
Action: Stockful - Send Slack message
Channel: #merchandising
Title: Dead stock detected
Message: *{{Product.title}}* ({{SKU}}) has {{Available}} units at {{Location}} with zero sales velocity. Consider marking down or bundling.
ABC class promotion alert
Notify your team when a product gets promoted to A-class (bestseller status).
Trigger: Stockful - ABC class change
Condition:New ABC class equals A AND Old ABC class does not equal A
Action: Stockful - Send Slack message
Channel: #product-team
Title: New bestseller
Message: *{{Product.title}}* ({{SKU}}) has been promoted to A-class (top 80% of revenue) at {{Location}}. Velocity: {{Velocity}} units/day.
High sell-through safety stock increase
When a variant sells through most of its stock quickly, automatically increase safety stock to prevent future stockouts.
Trigger: Stockful - Sell through milestone reached
Condition:Sell through rate is greater than 0.9
Action: Stockful - Set safety stock
Variant ID: use Variant ID from the trigger
Safety stock days: 7
Action: Stockful - Send Slack message
Channel: #inventory-alerts
Title: Safety stock increased
Message: *{{Product.title}}* ({{SKU}}) hit 90%+ sell-through at {{Location}}. Safety stock increased to 7 days.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Stockful","colors":{"primary":"#E8552B","light":"#F1774F","dark":"#C4431F"},"logo":{"light":"https://mintcdn.com/ljsstudios/tBVtzZCERvi3LxkY/logo/docs-logo-light.png?fit=max\u0026auto=format\u0026n=tBVtzZCERvi3LxkY\u0026q=85\u0026s=78ae1213a2333bef6f0e7bfd4cc6c12c","dark":"https://mintcdn.com/ljsstudios/tBVtzZCERvi3LxkY/logo/docs-logo-dark.png?fit=max\u0026auto=format\u0026n=tBVtzZCERvi3LxkY\u0026q=85\u0026s=90644d686b246934bbe46ae133ad19b5"},"favicon":"https://mintcdn.com/ljsstudios/tBVtzZCERvi3LxkY/favicon.svg?fit=max\u0026auto=format\u0026n=tBVtzZCERvi3LxkY\u0026q=85\u0026s=70949a4c61a7c929910860d6be1fc8ef","navbar":{"links":[{"href":"/support","label":"Support"},{"href":"https://apps.shopify.com/stockful-inventory-management?utm_source=stockful-docs\u0026utm_medium=docs\u0026utm_content=header-install","label":"Install Stockful"}]},"footer":{"socials":{"website":"https://apps.shopify.com/stockful-inventory-management?utm_source=stockful-docs\u0026utm_medium=docs\u0026utm_content=footer-globe"},"links":[{"header":"Help","items":[{"label":"Contact Support","href":"/support"},{"label":"FAQs","href":"/user-guide/faqs"}]},{"header":"Policies","items":[{"label":"Privacy Policy","href":"/policies/privacy-policy"},{"label":"Terms of Service","href":"/policies/terms-of-service"},{"label":"Data Processing Agreement","href":"/policies/data-processing-agreement"},{"label":"Security Incident Response","href":"/policies/security-incident-response"}]}]},"search":{"prompt":"Search Stockful documentation"},"seo":{},"fonts":{"heading":{"family":"JetBrains Mono"},"body":{"family":"Inter"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ljsstudios","hasAudioNarration":false,"actualSubdomain":"ljsstudios","customDomains":["docs.stockful.app"],"gitSource":{"type":"github","owner":"lspoor","repo":"stockful","deployBranch":"main","contentDirectory":"documentation","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af9a5377fd385b08ebecb92","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"User Guide","count":78},{"language":"default","tag":"StockfulQL","count":39},{"language":"default","tag":"Datasets","count":24},{"language":"default","tag":"Purchasing","count":22},{"language":"default","tag":"Using Stockful","count":19},{"language":"default","tag":"Syntax","count":13},{"language":"default","tag":"Delivery channels","count":11},{"language":"default","tag":"Reports","count":11},{"language":"default","tag":"Alerts","count":9},{"language":"default","tag":"Storefront","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"flow/examples","slug":"/flow/examples","pageMetadata":{"title":"Example Workflows","sidebarTitle":"Examples","description":"Worked Shopify Flow examples built on Stockful triggers and actions, starting with tagging products when they run low and untagging them on recovery.","href":"/flow/examples"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Worked Shopify Flow examples built on Stockful triggers and actions, starting with tagging products when they run low and untagging them on recovery.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`These examples show common workflow patterns you can build with Stockful’s Flow integration. Each one can be set up entirely in the Shopify Flow visual editor.`}),`\n`,_jsx(Heading,{level:`2`,id:`auto-tag-low-stock-products`,children:`Auto-tag low stock products`}),`\n`,_jsx(_components.p,{children:`Automatically add a tag when a product is running low, and remove it when restocked.`}),`\n`,_jsx(Heading,{level:`3`,id:`tag-on-low-stock`,children:`Tag on low stock`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trigger:`}),` Stockful - Low stock detected`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Shopify - Add product tags`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Tags: `,_jsx(_components.code,{children:`low-stock`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`remove-tag-on-restock`,children:`Remove tag on restock`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trigger:`}),` Stockful - Back in stock`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Shopify - Remove product tags`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Tags: `,_jsx(_components.code,{children:`low-stock`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Create a “Low Stock” collection filtered by the `,_jsx(_components.code,{children:`low-stock`}),` tag. It updates automatically as products move in and out of low stock status.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`slack-alert-when-bestsellers-stock-out`,children:`Slack alert when bestsellers stock out`}),`\n`,_jsx(_components.p,{children:`Get immediate Slack notifications when your top-selling products go out of stock.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trigger:`}),` Stockful - Out of stock`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Condition:`}),` `,_jsx(_components.code,{children:`SKU`}),` is not empty (filter out untracked variants)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Stockful - Get inventory health`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Variant ID: use `,_jsx(_components.code,{children:`Variant ID`}),` from the trigger`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Condition:`}),` `,_jsx(_components.code,{children:`abc_class`}),` equals `,_jsx(_components.code,{children:`A`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Stockful - Send Slack message`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Channel: `,_jsx(_components.code,{children:`#inventory-alerts`})]}),`\n`,_jsxs(_components.li,{children:[`Title: `,_jsx(_components.code,{children:`Bestseller out of stock`})]}),`\n`,_jsxs(_components.li,{children:[`Message: `,_jsx(_components.code,{children:`*{{Product.title}}* ({{SKU}}) is out of stock at {{Location}}. Suggested reorder: {{Reorder quantity}} units.`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`weekly-reorder-report`,children:`Weekly reorder report`}),`\n`,_jsx(_components.p,{children:`Generate a reorder list every Monday morning and send it to your purchasing team.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trigger:`}),` Shopify - Scheduled time (every Monday at 9am)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Stockful - Get reorder list`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Condition:`}),` `,_jsx(_components.code,{children:`total_count`}),` is greater than 0`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Stockful - Send Slack message`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Channel: `,_jsx(_components.code,{children:`#purchasing`})]}),`\n`,_jsxs(_components.li,{children:[`Title: `,_jsx(_components.code,{children:`Weekly reorder report`})]}),`\n`,_jsxs(_components.li,{children:[`Message: `,_jsx(_components.code,{children:`There are {{total_count}} variants below their reorder point. Review the reorder list in Stockful.`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`demand-adjustment-for-sales-events`,children:`Demand adjustment for sales events`}),`\n`,_jsx(_components.p,{children:`Increase demand forecasts before a planned sale, then reset after.`}),`\n`,_jsx(Heading,{level:`3`,id:`before-the-sale`,children:`Before the sale`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trigger:`}),` Shopify - Scheduled time (e.g. 1 week before sale)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` For each product tagged `,_jsx(_components.code,{children:`summer-sale`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Stockful - Set demand adjustment`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Adjustment percent: `,_jsx(_components.code,{children:`50`}),` (increases forecast by 50%)`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`after-the-sale`,children:`After the sale`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trigger:`}),` Shopify - Scheduled time (e.g. day after sale ends)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` For each product tagged `,_jsx(_components.code,{children:`summer-sale`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Stockful - Set demand adjustment`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Adjustment percent: `,_jsx(_components.code,{children:`0`}),` (resets to normal)`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`transfer-suggestion-on-imbalance`,children:`Transfer suggestion on imbalance`}),`\n`,_jsx(_components.p,{children:`When one location runs low, check if another location has excess stock to transfer.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trigger:`}),` Stockful - Low stock detected`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Stockful - Get transfer suggestion`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Variant ID: use `,_jsx(_components.code,{children:`Variant ID`}),` from the trigger`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Condition:`}),` `,_jsx(_components.code,{children:`has_suggestion`}),` is true`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Stockful - Send Slack message`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Channel: `,_jsx(_components.code,{children:`#warehouse-ops`})]}),`\n`,_jsxs(_components.li,{children:[`Title: `,_jsx(_components.code,{children:`Transfer suggestion`})]}),`\n`,_jsxs(_components.li,{children:[`Message: `,_jsx(_components.code,{children:`*{{Product.title}}* ({{SKU}}) is low at {{to_location}}. Consider transferring {{suggested_quantity}} units from {{from_location}} ({{from_available}} available, {{from_days_of_supply}} days of supply).`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`dead-stock-clearance-workflow`,children:`Dead stock clearance workflow`}),`\n`,_jsx(_components.p,{children:`Automatically tag dead stock products for discounting and notify your merchandising team.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trigger:`}),` Stockful - Dead stock detected`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Shopify - Add product tags`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Tags: `,_jsx(_components.code,{children:`dead-stock`}),`, `,_jsx(_components.code,{children:`clearance-candidate`})]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Stockful - Send Slack message`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Channel: `,_jsx(_components.code,{children:`#merchandising`})]}),`\n`,_jsxs(_components.li,{children:[`Title: `,_jsx(_components.code,{children:`Dead stock detected`})]}),`\n`,_jsxs(_components.li,{children:[`Message: `,_jsx(_components.code,{children:`*{{Product.title}}* ({{SKU}}) has {{Available}} units at {{Location}} with zero sales velocity. Consider marking down or bundling.`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`abc-class-promotion-alert`,children:`ABC class promotion alert`}),`\n`,_jsx(_components.p,{children:`Notify your team when a product gets promoted to A-class (bestseller status).`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trigger:`}),` Stockful - ABC class change`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Condition:`}),` `,_jsx(_components.code,{children:`New ABC class`}),` equals `,_jsx(_components.code,{children:`A`}),` AND `,_jsx(_components.code,{children:`Old ABC class`}),` does not equal `,_jsx(_components.code,{children:`A`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Stockful - Send Slack message`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Channel: `,_jsx(_components.code,{children:`#product-team`})]}),`\n`,_jsxs(_components.li,{children:[`Title: `,_jsx(_components.code,{children:`New bestseller`})]}),`\n`,_jsxs(_components.li,{children:[`Message: `,_jsx(_components.code,{children:`*{{Product.title}}* ({{SKU}}) has been promoted to A-class (top 80% of revenue) at {{Location}}. Velocity: {{Velocity}} units/day.`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`high-sell-through-safety-stock-increase`,children:`High sell-through safety stock increase`}),`\n`,_jsx(_components.p,{children:`When a variant sells through most of its stock quickly, automatically increase safety stock to prevent future stockouts.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trigger:`}),` Stockful - Sell through milestone reached`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Condition:`}),` `,_jsx(_components.code,{children:`Sell through rate`}),` is greater than 0.9`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Stockful - Set safety stock`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Variant ID: use `,_jsx(_components.code,{children:`Variant ID`}),` from the trigger`]}),`\n`,_jsxs(_components.li,{children:[`Safety stock days: `,_jsx(_components.code,{children:`7`})]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action:`}),` Stockful - Send Slack message`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Channel: `,_jsx(_components.code,{children:`#inventory-alerts`})]}),`\n`,_jsxs(_components.li,{children:[`Title: `,_jsx(_components.code,{children:`Safety stock increased`})]}),`\n`,_jsxs(_components.li,{children:[`Message: `,_jsx(_components.code,{children:`*{{Product.title}}* ({{SKU}}) hit 90%+ sell-through at {{Location}}. Safety stock increased to 7 days.`})]}),`\n`]}),`\n`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Example Workflows","sidebarTitle":"Examples","description":"Worked Shopify Flow examples built on Stockful triggers and actions, starting with tagging products when they run low and untagging them on recovery.","href":"/flow/examples"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Auto-tag low stock products","slug":"auto-tag-low-stock-products","depth":2,"children":[{"title":"Tag on low stock","slug":"tag-on-low-stock","depth":3,"children":[]},{"title":"Remove tag on restock","slug":"remove-tag-on-restock","depth":3,"children":[]}]},{"title":"Slack alert when bestsellers stock out","slug":"slack-alert-when-bestsellers-stock-out","depth":2,"children":[]},{"title":"Weekly reorder report","slug":"weekly-reorder-report","depth":2,"children":[]},{"title":"Demand adjustment for sales events","slug":"demand-adjustment-for-sales-events","depth":2,"children":[{"title":"Before the sale","slug":"before-the-sale","depth":3,"children":[]},{"title":"After the sale","slug":"after-the-sale","depth":3,"children":[]}]},{"title":"Transfer suggestion on imbalance","slug":"transfer-suggestion-on-imbalance","depth":2,"children":[]},{"title":"Dead stock clearance workflow","slug":"dead-stock-clearance-workflow","depth":2,"children":[]},{"title":"ABC class promotion alert","slug":"abc-class-promotion-alert","depth":2,"children":[]},{"title":"High sell-through safety stock increase","slug":"high-sell-through-safety-stock-increase","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ljsstudios","siteName":"Stockful","title":"Example Workflows - Stockful","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-11T18:34:49.925Z","originalFileLocation":"flow/examples.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Worked Shopify Flow examples built on Stockful triggers and actions, starting with tagging products when they run low and untagging them on recovery.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Stockful\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ljsstudios/kERyKf82rkLAv8fJ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ljsstudios/kERyKf82rkLAv8fJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ljsstudios/kERyKf82rkLAv8fJ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ljsstudios/kERyKf82rkLAv8fJ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ljsstudios/kERyKf82rkLAv8fJ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ljsstudios/kERyKf82rkLAv8fJ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ljsstudios/kERyKf82rkLAv8fJ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ljsstudios/kERyKf82rkLAv8fJ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ljsstudios/kERyKf82rkLAv8fJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Example Workflows - Stockful\">\u003cmeta data-mint-head property=\"og:description\" content=\"Worked Shopify Flow examples built on Stockful triggers and actions, starting with tagging products when they run low and untagging them on recovery.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stockful\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stockful.app/flow/examples\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ljsstudios.mintlify.site/_mintlify/api/og/v2?division=Shopify+Flow\u0026amp;title=Example+Workflows\u0026amp;description=Worked+Shopify+Flow+examples+built+on+Stockful+triggers+and+actions%2C+starting+with+tagging+products+when+they+run+low+and+untagging+them+on+recovery.\u0026amp;theme=3477247c7c3aace17cf60e22\u0026amp;signature=c7061992f52dedac483c9028ed79e5919752ae22ae144ae1ab4ed147dec39dd4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Example Workflows - Stockful\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Worked Shopify Flow examples built on Stockful triggers and actions, starting with tagging products when they run low and untagging them on recovery.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ljsstudios.mintlify.site/_mintlify/api/og/v2?division=Shopify+Flow\u0026amp;title=Example+Workflows\u0026amp;description=Worked+Shopify+Flow+examples+built+on+Stockful+triggers+and+actions%2C+starting+with+tagging+products+when+they+run+low+and+untagging+them+on+recovery.\u0026amp;theme=3477247c7c3aace17cf60e22\u0026amp;signature=c7061992f52dedac483c9028ed79e5919752ae22ae144ae1ab4ed147dec39dd4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ljsstudios/kERyKf82rkLAv8fJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stockful\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E8552B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stockful.app/flow/examples\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/flow/examples.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.stockful.app/#organization\",\"name\":\"Stockful\",\"url\":\"https://docs.stockful.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ljsstudios/tBVtzZCERvi3LxkY/logo/docs-logo-light.png?fit=max\u0026auto=format\u0026n=tBVtzZCERvi3LxkY\u0026q=85\u0026s=78ae1213a2333bef6f0e7bfd4cc6c12c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.stockful.app#website\",\"name\":\"Stockful\",\"url\":\"https://docs.stockful.app\",\"publisher\":{\"@id\":\"https://docs.stockful.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.stockful.app/flow/examples#webpage\",\"url\":\"https://docs.stockful.app/flow/examples\",\"name\":\"Example Workflows\",\"description\":\"Worked Shopify Flow examples built on Stockful triggers and actions, starting with tagging products when they run low and untagging them on recovery.\",\"dateModified\":\"2026-08-11T18:34:49.925Z\",\"isPartOf\":{\"@id\":\"https://docs.stockful.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stockful.app/flow/examples#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stockful.app/flow/examples#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Shopify Flow\",\"item\":\"https://docs.stockful.app/flow/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Example Workflows\",\"item\":\"https://docs.stockful.app/flow/examples\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.stockful.app/flow/examples#article\",\"headline\":\"Example Workflows\",\"name\":\"Example Workflows\",\"description\":\"Worked Shopify Flow examples built on Stockful triggers and actions, starting with tagging products when they run low and untagging them on recovery.\",\"url\":\"https://docs.stockful.app/flow/examples\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stockful.app/flow/examples#webpage\"},\"dateModified\":\"2026-08-11T18:34:49.925Z\",\"publisher\":{\"@id\":\"https://docs.stockful.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.stockful.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stockful\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Stockful\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/flow/examples.md","siteName":"Stockful","nav":{"global":null,"tabs":[{"tab":"User Guide","groups":[{"group":"Getting Started","icon":"rocket","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/user-guide/getting-started"},{"title":"Installing \u0026 Setup","href":"/user-guide/getting-started/installing-and-setup"},{"title":"Finding your way around","href":"/user-guide/getting-started/finding-your-way-around"}]},{"group":"Using Stockful","icon":"house","pages":[{"title":"Dashboard","href":"/user-guide/dashboard"},{"title":"Inventory","href":"/user-guide/inventory"},{"title":"Tracking","href":"/user-guide/tracking"},{"title":"Product filters","href":"/user-guide/product-filters"},{"group":"Counts \u0026 adjustments","icon":"clipboard-list","pages":[{"title":"Counts \u0026 adjustments","href":"/user-guide/counts-and-adjustments/index"},{"title":"Stock counts","href":"/user-guide/counts-and-adjustments/stock-counts"},{"title":"Adjustments","href":"/user-guide/adjustments"},{"title":"Cost adjustments","href":"/user-guide/counts-and-adjustments/cost-adjustments"}]},{"title":"Locations","href":"/user-guide/locations"},{"title":"Health check","href":"/user-guide/health-check"},{"title":"Storefront traffic","href":"/user-guide/traffic"},{"group":"Forecasting","icon":"chart-line","pages":[{"title":"Forecasting","href":"/user-guide/forecasting/index"},{"title":"Forecast models","href":"/user-guide/forecasting/models"},{"title":"New products","href":"/user-guide/forecasting/new-products"},{"title":"Sales and promotions","href":"/user-guide/forecasting/promotions"},{"title":"Forecast settings","href":"/user-guide/forecasting/settings"},{"title":"Marketplaces","href":"/user-guide/forecasting/marketplaces"},{"title":"SKU overrides","href":"/user-guide/forecasting/sku-overrides"}]},{"title":"Shopify admin","href":"/user-guide/shopify-admin"}]},{"group":"Purchasing","icon":"truck","pages":[{"title":"Overview","href":"/user-guide/purchasing/index"},{"title":"Reorder Recommendations","href":"/user-guide/purchasing/reorder-recommendations"},{"title":"Linked stores","href":"/user-guide/purchasing/linked-stores"},{"group":"Purchase orders","icon":"file-invoice","pages":[{"title":"Purchase orders","href":"/user-guide/purchasing/purchase-orders/index"},{"title":"Creating a purchase order","href":"/user-guide/purchasing/purchase-orders/creating"},{"title":"Sending to a supplier","href":"/user-guide/purchasing/purchase-orders/sending"},{"title":"Receiving stock","href":"/user-guide/purchasing/purchase-orders/receiving"},{"title":"Costs and landed cost","href":"/user-guide/purchasing/purchase-orders/costs"},{"title":"Updating retail prices","href":"/user-guide/purchasing/purchase-orders/retail-prices"},{"title":"Automatic restocking","href":"/user-guide/purchasing/purchase-orders/automatic-restocking"},{"title":"Managing purchase orders","href":"/user-guide/purchasing/purchase-orders/managing"}]},{"title":"Suppliers","href":"/user-guide/purchasing/suppliers"},{"title":"Transfer Suggestions","href":"/user-guide/purchasing/transfer-suggestions"},{"title":"Incoming Stock","href":"/user-guide/purchasing/incoming"},{"title":"Cash-out Schedule","href":"/user-guide/purchasing/cash-out-schedule"},{"title":"Purchasing settings","href":"/user-guide/purchasing/settings"},{"title":"Importing from Shopify","href":"/user-guide/purchasing/importing-from-shopify"}]},{"group":"Raw materials","icon":"flask","pages":[{"title":"Overview","href":"/user-guide/raw-materials/index"},{"title":"Materials","href":"/user-guide/raw-materials/materials"},{"title":"Bills of materials","href":"/user-guide/raw-materials/bills-of-materials"},{"title":"Production","href":"/user-guide/raw-materials/production"},{"title":"Reordering","href":"/user-guide/raw-materials/reordering"}]},{"group":"Alerts","icon":"bell","pages":[{"title":"Overview","href":"/user-guide/alerts/index"},{"group":"Delivery channels","pages":[{"title":"Slack","href":"/user-guide/alerts/channels/slack"},{"title":"Discord","href":"/user-guide/alerts/channels/discord"},{"title":"Microsoft Teams","href":"/user-guide/alerts/channels/teams"},{"title":"Webhook","href":"/user-guide/alerts/channels/webhook"},{"title":"Email","href":"/user-guide/alerts/channels/email"}]},{"title":"History","href":"/user-guide/alerts/history"},{"title":"Snoozed SKUs","href":"/user-guide/alerts/snoozed"},{"title":"Settings","href":"/user-guide/alerts/settings"}]},{"group":"Reports","icon":"chart-column","pages":[{"title":"Overview","href":"/user-guide/reports/index"},{"title":"Built-in reports","href":"/user-guide/reports/built-in-reports"},{"title":"Exporting a report","href":"/user-guide/reports/exporting"},{"title":"Scheduling reports","href":"/user-guide/reports/scheduling"},{"title":"Run history","href":"/user-guide/reports/history"},{"group":"Delivery channels","pages":[{"title":"Email","href":"/user-guide/reports/channels/email"},{"title":"Slack","href":"/user-guide/reports/channels/slack"},{"title":"Discord","href":"/user-guide/reports/channels/discord"},{"title":"Webhook","href":"/user-guide/reports/channels/webhook"},{"title":"Google Sheets","href":"/user-guide/reports/channels/google-sheets"},{"title":"Airtable","href":"/user-guide/reports/channels/airtable"}]}]},{"group":"AI","icon":"sparkles","pages":[{"title":"AI assistant","href":"/user-guide/ai-assistant"},{"title":"MCP server","href":"/user-guide/mcp-server"},{"title":"Shopify Sidekick","href":"/user-guide/sidekick"},{"title":"Weekly digest","href":"/user-guide/weekly-digest"},{"title":"Anomalies","href":"/user-guide/anomalies"}]},{"group":"Shopify Flow","icon":"bolt","pages":[{"title":"Shopify Flow","sidebarTitle":"Overview","href":"/flow/overview"},{"title":"Triggers","sidebarTitle":"Triggers","href":"/flow/triggers"},{"title":"Actions","sidebarTitle":"Actions","description":"The nine Stockful actions available in Shopify Flow: query actions that return inventory data, write actions that update settings, and integrations.","href":"/flow/actions"},{"title":"Example Workflows","sidebarTitle":"Examples","href":"/flow/examples"}]},{"group":"Account","icon":"gear","pages":[{"title":"Plans \u0026 billing","description":"Manage your subscription, usage and billing. Every store starts on a 14-day free trial with full access at Pro-level limits from the moment you install.","href":"/user-guide/plans-and-billing"},{"title":"Settings","href":"/user-guide/settings"},{"title":"Email configuration","href":"/user-guide/email-configuration"}]},{"group":"Help","icon":"circle-question","pages":[{"title":"FAQs","href":"/user-guide/faqs"},{"title":"Contact Support","href":"/support"}]}]},{"tab":"StockfulQL","pages":[{"title":"StockfulQL","href":"/stockfulql/overview"}]},{"tab":"Storefront","pages":[{"title":"Storefront","href":"/storefront/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"Policies","pages":[{"title":"Policies","href":"/policies/privacy-policy"}]}]},"basePath":"","title":"Example Workflows - Stockful","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":[],"chunks":[]}