Help

displaying inventory on Order Line Items (Shopify)

Topic Labels: Automations
261 3
cancel
Showing results for 
Search instead for 
Did you mean: 
WL
4 - Data Explorer
4 - Data Explorer

Hello. I am new to Airtable and have spent a better part of a week trying to figure this out and I'm stuck. I hope the community can help me out.

Our Airtable connected to our Shopify store via Airpower, so everything is synced in real time.

We have a Table named 'Order Line Items' that displays each Shopify order and each item (SKU) is separated in its own row within the order. What we are trying to achieve is to display the inventory number for each item.

Inventory data is stored in another table named 'Variants' and organized by SKU in one field, and the inventory quantity in another field.

Does anyone have experience with dealing in anything similar?

I'm not sure if this is relevant, but I have gone as far as being able to create a field in the Order Line Items table that links to our Variants table (that contains inventory data). However, I have to manually enter the SKU that was ordered before inventory count can display. The example below where for it to work, I have to type in the SKU number in the Linked Variant SKU field. I wish to populate that field automatically with the order's SKU but have not been able to figure out the Automation. Attached is an example of the "Order Line Items" table.


Thank you.

3 Replies 3
TheTimeSavingCo
18 - Pluto
18 - Pluto

Looks like the primary field of the "Variants" table is the SKU, so perhaps you could try an automation that pastes SKU into the text field, which would automatically link stuff up for you

If Airpower lets you put the SKU into the linked field to Variants that'd be even easier

Sachin_191
8 - Airtable Astronomer
8 - Airtable Astronomer

Hey @WL 

 

It sounds like you’re close to a solution; we just need a bit of automation to link up your SKU and inventory counts. Given that your Airtable and Shopify data are syncing in real-time with Airpower, we can set up an Airtable Automation to link the SKU field in the “Order Line Items” table directly to the corresponding SKU in your “Variants” table without manual entry.

  • Create a script in Airtable’s Automations that triggers when a new record is added to “Order Line Items.” This script can automatically pull the SKU from each new order, find its match in “Variants,” and fill in the linked record field with the inventory count.
  •  This method ensures that any new Shopify order item displays inventory numbers immediately, saving you time and eliminating manual data entry.
WL
4 - Data Explorer
4 - Data Explorer

thank you all for the quick response. I will try it out.