Flow to assign B2B catalog to a company based on customer's (main company contact) tags

Topic summary

A user is attempting to automatically assign a B2B catalog (distributor pricing) to companies based on whether the main company contact has a ‘distributor’ tag.

Current Approach:

  • Trigger: Customer created
  • Condition: Check if tags include ‘distributor’
  • Action: Add catalog to company location

Issue Encountered:
The flow fails with an error stating “company location id is empty but required.” The user wants to assign the catalog to one or all company locations when present.

Status:
The question remains unanswered. The user is seeking either a solution to fix the Flow error or alternative methods to achieve this catalog assignment without using Shopify Flow.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Hi all,

I’m looking to create a flow that would assign a company a catalog(distributor pricing) if the customer (main company contact) associated with that company has a tag (‘distributor’). I tried the following:

Start when.. Customer created

Then

Check if .. Tags includes distributor

Then

Do this.. Add catalog to company location

But that errors saying company location id is empty but required. I’d like to assign the catalog to one or all locations if more than one locations are present.

Any advice would be very much appreciated. If this can be done any other way without using Flow, please let me know.