Question

Need help parsing Woocommerce product attribute

  • 11 February 2022
  • 4 replies
  • 165 views

Hello everyone,

so basically, as visible in my screenshot, for a known line_meta_data key, I want to access the value. And I want to send this data to Docusign, which doesn't support line items. I’m new to Zapier and I’ve tried using the Formatter but I couldn’t get it to work.

 

Thanks for your help!


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

4 replies

Userlevel 4
Badge +6

A way around you might be able to achieve what you want is setting up internal notification emails of woocommerce orders to an email parser inbox and parse whatever data you want from that like Name,Email,Order Value,etc.

Then use the outputs of the parser step and map them to Docusign to generate the documents dynamically.You can learn more about parser from the following guide.

https://zapier.com/blog/email-parser-guide/

 

I Hope it  would work for your usecase.

Userlevel 7
Badge +14

Hi @renkye 

If you’re using the WC Trigger Line Item in an Order it will trigger once per each line item in an order.

 

Looks like the flattened data for “pa_dauer” = ”8-stunden” is available to map, so try that.
In the screenshow below, notice the top variable is the same as the bottom nested 2 variables because the data was flattened.

 

Thanks for the replies. That does point me in the right direction but the format is not correct here. Isn’t there any way to access the key for a given value?

Userlevel 7
Badge +14

@renkye

You’d have to use a Code step to do more advanced data handling since you’re dealing with an array of items: https://zapier.com/apps/code/help