• 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

How to use line itemizer?

Status
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.

1629786370473.png


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

1629786736420.png


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.

2021-08-24_12h04_42.png
 

Pabbly

Administrator
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.

1649134679136.png
 
Status
Not open for further replies.
Top