Skip to main content
Question

Split text is not working, only the first item can be selected later in the zap

  • July 29, 2024
  • 3 replies
  • 26 views

Hi i;am new to zapier and can not get an sku sting form woocommerce separated.

Line from order woocommerce =
 

After formatter split tekst the output is

 

 

 

When ik want to select the output in an Update Content in Activecampaign theitems are not selectable. Only the first one (PBaby) is visible

 

 

 

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 29, 2024

Hi @Paul F 

The data from WooCommerce for Order Line Items is already configured as an array so you don’t need a Formatter step to split the line items.

The Looping app can be used to iterate thru each Line Item: https://zapier.com/apps/looping/help


  • Author
  • Beginner
  • July 30, 2024

Thank you for the reply Troy , very kind,

I tried looping also but could not get the second sku as an single item
I made a loop Create Loop From Line Items with sku als value to loop.
The result is oke and the two sku are vissible
 

 

But can not select them later on in the zap!??

 




 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 30, 2024

@Paul F 

Try this…

Map the returned SKU variable from the Looping step to this Zap action: Formatter > Text > Split

Split by /

Keep the first segment

That will isolate the SKU