> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.stock-sync.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Automate Not in Feed Product Actions with Shopify Flow?

Learn how to use Shopify Flow conditions and syncX: Stock Sync integration to automatically tag, archive, or delete products missing from external product feeds.

||| Not applicable to legacy users

---

## How to Set Up Stock Sync Workflows

Go to **Shopify Admin** → **Apps** → **Flow** → Click **Browse template**.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/2/1/9/b219050a5836c000/screenrecording2026-10-15at119_z8qbvz.gif)

1. **Create Workflow**: Click **Create workflow** to browse templates and search for **Stock Sync**.
2. **Choose Option**: Select the template you need to install.
3. **Turn On Workflow**: Review the triggers and configurations, then toggle the status to **Active**.

| Configure your workflow conditions carefully to prevent unintended actions on valid store items.

---

## Enabling or Disabling Shopify Flow Integration in Stock Sync

You can easily pause or resume all Shopify Flow workflows directly within the Stock Sync app settings.

Go to **Stock Sync** → **Navigation Bar** → **Profile** → **Shopify Flow** section.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/2/1/9/b219050a5836c000/screenshot-2026-10-16-at-12531_1e7sjr2.png)

1. **Enable Workflows**: Toggle the switch **ON** to allow Shopify workflows using syncX: Stock Sync to run automatically.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/2/1/9/b219050a5836c000/screenshot-2026-10-16-at-12531_1podz1i.png)

2. **Disable Workflows**: Toggle the switch **OFF** to temporarily pause all Shopify workflows connected to syncX: Stock Sync without deleting your flow configurations.

| Disabling this option prevents any Stock Sync profile completion from triggering actions in Shopify Flow.

---

## Detailed Flow Actions

### 1. Tag Not In Feed Products
Automatically add a designated tag to products that no longer appear in your inventory feed after a Stock Sync profile completes a run.

![Tag Not In Feed Products Flow](https://storage.crisp.chat/users/helpdesk/website/-/b/2/1/9/b219050a5836c000/screenshot-2026-10-12-at-94232_ayjswv.png)

- **Trigger**: Profile run completed (Beta)
- **Action**: Tag Not In Feed products (Beta)
- **Tag Applied**: `not-in-feed`

| A product is tagged only when ALL of its variants are missing from the feed. Products with only partial missing variants are skipped.

### 2. Archive Not In Feed Products
Automatically update the product status to Archive when products are no longer detected in your inventory feed after a Stock Sync profile run.

![Update Not In Feed Products Status Flow](https://storage.crisp.chat/users/helpdesk/website/-/b/2/1/9/b219050a5836c000/screenshot-2026-10-12-at-10435_19c0emn.png)

- **Trigger**: Profile run completed (Beta)
- **Action**: Update Not In Feed products (Beta)

| Use this flow to automatically set missing items to Archive state, preventing customers from ordering out-of-feed stock.

### 3. Delete Not In Feed Products
Automatically remove products from your Shopify catalog when they are missing from your supplier or feed file after a Stock Sync run.

![Delete Not In Feed Products Flow](https://storage.crisp.chat/users/helpdesk/website/-/b/2/1/9/b219050a5836c000/screenshot-2026-10-12-at-94414_1xi1b7v.png)

- **Trigger**: Profile run completed (Beta)
- **Action**: Delete Not In Feed products (Beta)

||| Deleting products is irreversible. Ensure you have backed up product data before enabling this flow action.

---

## Advanced Condition Setup: Filter by Profile ID

If you run multiple Stock Sync feeds, you can add a condition step to ensure actions only execute for specific feed profiles.

Go to **Shopify Admin** → **Apps** → **Flow** → Select your draft flow → Click **Edit**.

1. **Add Condition**: Click the **+** icon after the **Profile run completed (Beta)** trigger or before the Action node and select **Condition**.

![Add Condition Node in Shopify Flow](https://storage.crisp.chat/users/helpdesk/website/-/b/2/1/9/b219050a5836c000/screenshot-2026-10-16-at-10404_qq5qbg.png)

2. **Select Criteria**: Choose **Profile ID** (`profileId`) from the Stock Sync profile properties.
3. **Set Operator & Value**: Set the condition rule operator to **Equal to** and enter your specific Feed Profile ID (e.g., `34892`).
4. **Connect Action**: Connect the **Then / True** branch to your Stock Sync action (such as **Tag Not In Feed products**).
5. **Save Changes**: Click **Apply changes** and activate the workflow.

| Condition Criteria | Operator | Example Value | Result |
| ---- | ---- | ---- | ---- |
| `profileId` | Equal to | `34892` | Runs the flow action ONLY when feed profile 34892 completes. |
| `profileId` | Not equal to | `34892` | Excludes feed profile 34892 and runs for all other profiles. |

| You can find your Feed `Profile ID` in the URL when editing a profile inside the Stock Sync app.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/2/1/9/b219050a5836c000/screenshot-2026-10-13-at-95146_t1a6gh.png)

| Adding a `profileId` condition prevents feed updates from one supplier from accidentally triggering tag or deletion actions on products from another supplier.

---

## Key Rules & Technical Details

- **Beta Feature Status**: Both the Stock Sync trigger (`Profile run completed`) and actions (`Tag Not In Feed products`, `Update Not In Feed products`, `Delete Not In Feed products`) are currently in **Beta**.
- **Execution Condition**: Workflows fire immediately after a specific Stock Sync profile ID completes its processing execution.
- **App Control Setting**: You can enable or disable workflow processing entirely from **Profile** → **Shopify Flow** inside Stock Sync settings.
- **Variant Handling Rules**: Actions target products at the parent product level only when all variants belonging to that product are absent from the imported feed file.

---

## Troubleshooting Steps

* **Issue**: Partial variants missing but product is not tagged/deleted → **Solution**: Stock Sync actions only execute when 100% of a product's variants are missing from the feed file.
* **Issue**: Workflow runs on every feed instead of a specific one → **Solution**: Verify that you added the `profileId Equal to [Profile ID]` condition directly between the trigger and action.
* **Issue**: Workflows are active in Shopify Flow but not triggering → **Solution**: Check **Profile** → **Shopify Flow** in Stock Sync to ensure the toggle is set to **Enabled**.

---

## Good Articles to Continue

* [How to manually sync with Shopify Flow?](https://help.stock-sync.com/en/article/stock-sync-app-can-manual-sync-with-shopify-flow-1ioapen/) → Complete guide on manual trigger and action configuration in Shopify Flow.