How to use line itemizer?

Not open for further replies.
Line items in terms of accounting are subsets of individual items/products. For example, “quantity, unit price, amount” are line items of "Invoice".

1. Trigger setup - Capture the response by disabling the simple response switch in order to get an array of line items.


2. Use Data Transformer by Pabbly: Line Itemizer action step and pass the line item array captured in above step.


3. Now, you can use your favorite accounting application like: Xero, Quickbooks Online, Plutio etc, that supports multiple line items in their actions.
4. Map the comma-separated values from step 2 to the corresponding line item fields of your app in step 3.



Staff member
However, in some cases, you will find the use of Line Itemizer.
Let's imagine you are selling a product through some checkout platform like WooCommerce or Pabbly Subscription Billing etc.
For example:
In our case, we use Pabbly Subscription Billing for selling the products.
Now one of my checkout pages has multiple addons/products in it where customers can buy one or multiple items at once.
A lot of time customers buy 3 items at once. Sometimes they buy 1 item only. Sometimes they buy 5 items at once.
Now when the webhook comes from PSB for successful sales, it is an array with the details of each individual item in the order. This array can have a dynamic number of items in it depending upon how many add-ons a person has bought in that order.
Usually, the details of individual products are added one after the other in the whole packet of data.
Now sometimes, you may want to club the details of different products together in a way where you want all the product names to be together in a single string of text separated by a comma. Sometimes, you may want the price of all the items in a single string separated by a comma.
In cases like these, you pass the array that contains details of multiple items in the Line Itemizer module and it pushes all the Product Name, Product Price, or any other details in a single string which you can then push to Google Sheets or any other platform and get them all in a single row.
Adding an image for reference.

Not open for further replies.