• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

wocommerce create order (with line items) problem

Hi, i have a problem on a workflow on Pabbly connect.

The workflow is a "create woocommerce order (With line items".
So I set it up but have this problem: if I have few then the number of product I had in my test order, the system return me some error becaus data are not responding properly (line items 1 is not properly integer. data type and so on)

I thought that would not search data if line item do not exists.

What can I do?

Do I have to set up a workflow for every possible case? (ie: 1 product, 2 product, 3 product and so on).

Thanks in advice for you help
 

Supreme

Well-known member
Staff member
Hey @Davidetamanini

For your concern, kindly receive the response in advance response by turning off the "Simple Response" and re-capture the webhook response again. Then you can add the Line Itemizer action step to get all the products at once in a comma-separated format.

Please find the attachment and try this at your end.

1657187326959.png


1657187296777.png
 

Supreme

Well-known member
Staff member
Hey @Davidetamanini

As we can see from the task history Id of your respected workflow, it is updating all the number of orders as it is coming from the trigger response.

2022-07-08_10h34_51.png
 
Top