Handling array from Webhook to HTTP request

I am trying to parse products from webhook to HTTP request.
Webhook is JSON that have array like:

“Products”: [
{ “OrderItemID” : 1 … },
{ “OrderItemID” : 2 … }
]

And at the HTTP request an array for the products
“products”:[
{
“name”: “product_name”,
“quantity”: 3,
“price”:“98.99”
},
{
“name”:“product_2_name”,
“quantity”: 3,
“price”:“98.99”
}…
]

How do you suggest to handle that to achieve all products to be sent in one call?

You didn’t provide the full example from the webhook, which looks nothing like what you want to achieve.

Welcome to the Make community!

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

This will allow others to better assist you. Thanks!

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

Thanks buddy, here is the webhook output.
dummy.txt (17.6 KB)

Welcome to the Make community!

Yes, that is possible. You’ll need a minimum of three modules:

This is just an example. Your final solution may or may not look like this depending on your requirements.

Module Export

You can copy and paste this module export into your scenario. This will paste the modules shown in my screenshots above.

  1. Copy the JSON code below by clicking the copy button when you mouseover the top-right of the code block

  2. Enter your scenario editor. Press ESC to close any dialogs. Press CTRLV (paste keyboard shortcut for Windows) to paste directly in the canvas.

  3. Click on each imported module and save it for validation. You may be prompted to remap some variables and connections.

Click to Expand Module Export Code

JSON - Copy and Paste this directly in the scenario editor

{"subflows":[{"flow":[{"id":71,"module":"xml:ParseXML","version":1,"parameters":{"type":"","preserveNumbersAsText":false},"mapper":{"xml":"<DataSet>\n<xs:schema xmlns=\"\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:msdata=\"urn:schemas-microsoft-com:xml-msdata\" id=\"NewDataSet\">\n<xs:element name=\"NewDataSet\" msdata:IsDataSet=\"true\" msdata:UseCurrentLocale=\"true\">\n<xs:complexType>\n<xs:choice minOccurs=\"0\" maxOccurs=\"unbounded\">\n<xs:element name=\"Order\">\n<xs:complexType>\n<xs:sequence>\n<xs:element name=\"OrderNumber\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"CreatedDate\" type=\"xs:dateTime\" minOccurs=\"0\"/>\n<xs:element name=\"StatusNumber\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"StatusName\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"StatusChangedDate\" type=\"xs:dateTime\" minOccurs=\"0\"/>\n<xs:element name=\"LeadStatus\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"Total\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"Discount\" type=\"xs:double\" minOccurs=\"0\"/>\n<xs:element name=\"Tax\" type=\"xs:double\" minOccurs=\"0\"/>\n<xs:element name=\"Interest\" type=\"xs:double\" minOccurs=\"0\"/>\n<xs:element name=\"Currency\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CouponNumber\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"CouponCode\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CouponDiscount\" type=\"xs:double\" minOccurs=\"0\"/>\n<xs:element name=\"Language\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ErpNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CustomerDevice\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"OrderSaleType\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"SaleMan\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"SalesmanEmail\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"SalesmanPhone\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"GUID\" msdata:DataType=\"System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\" type=\"xs:string\" minOccurs=\"0\"/>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n<xs:element name=\"BillingAddress\">\n<xs:complexType>\n<xs:sequence>\n<xs:element name=\"CustomerNumber\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"BillingFirstName\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingLastName\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingStreet\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingStreetNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingApartmentNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingFloorNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingCity\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingZipcode\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingState\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingCountry\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingHomePhone\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingWorkPhone\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingMobilePhone\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingEmail\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"BillingBirthday\" type=\"xs:dateTime\" minOccurs=\"0\"/>\n<xs:element name=\"ZehutNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"DealerNumber\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"DealerType\" type=\"xs:int\" minOccurs=\"0\"/>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n<xs:element name=\"ShippingAddress\">\n<xs:complexType>\n<xs:sequence>\n<xs:element name=\"ShippingCompanyName\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingFirstName\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingLastName\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingAddress\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingStreet\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingStreetNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingApartmentNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingFloorNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingCity\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingState\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingCountry\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingZip\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingHomePhone\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingWorkPhone\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ShippingMobilePhone\" type=\"xs:string\" minOccurs=\"0\"/>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n<xs:element name=\"Products\">\n<xs:complexType>\n<xs:sequence>\n<xs:element name=\"OrderItemID\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"ProductNumber\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"SKU\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"Name\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"Attributes\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"Price\" type=\"xs:double\" minOccurs=\"0\"/>\n<xs:element name=\"Quantity\" type=\"xs:double\" minOccurs=\"0\"/>\n<xs:element name=\"CouponDiscount\" type=\"xs:double\" minOccurs=\"0\"/>\n<xs:element name=\"Coupon\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"Manufacturer\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CategoryNumber\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"SubcategoryNumber\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"StatusNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"StatusName\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ParentProductSKU\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"StickyItemSKU\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"ErpNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n<xs:element name=\"Billing\">\n<xs:complexType>\n<xs:sequence>\n<xs:element name=\"BillingStatus\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"TransactionName\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"PaymentMethod\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CreditCardName\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"Payments\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"CreditcardExpireDate\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CreditcardIdentityCard\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CreditcardNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CreditCardApproveNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CreditCardJ5AuthNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CreditCardTransactionLog\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CreditCardTransactionNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"InvoiceNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"InvoiceInTheNameOf\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"InvoiceUrl\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"InvoiceLog\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"InvoiceCode\" type=\"xs:int\" minOccurs=\"0\"/>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n<xs:element name=\"Delivery\">\n<xs:complexType>\n<xs:sequence>\n<xs:element name=\"DeliveryCompanyNumber\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"DeliveryCompanyName\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"DeliveryCompanyEmail\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"DeliveryCompanyPhone\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"DeliveryCompanyPrice\" type=\"xs:decimal\" minOccurs=\"0\"/>\n<xs:element name=\"DeliveryCompanyCost\" type=\"xs:decimal\" minOccurs=\"0\"/>\n<xs:element name=\"Delivery\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"DeliveryDate\" type=\"xs:dateTime\" minOccurs=\"0\"/>\n<xs:element name=\"DeliveryHours\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"DeliveryNumber\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"DeliveryPrice\" type=\"xs:double\" minOccurs=\"0\"/>\n<xs:element name=\"PickupLocation\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"Pickup\" type=\"xs:string\" minOccurs=\"0\"/>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n<xs:element name=\"Comments\">\n<xs:complexType>\n<xs:sequence>\n<xs:element name=\"SuppliersComments\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"AdminComments\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"StoreMessage\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"CustomerMessage\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"DeliveryComments\" type=\"xs:string\" minOccurs=\"0\"/>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n<xs:element name=\"Suppliers\">\n<xs:complexType>\n<xs:sequence>\n<xs:element name=\"SupplierNumber\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"SupplierType\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"SupplierName\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"SupplierEmail\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"SupplierPhone\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"SupplierMobilePhone\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"SupplierCost\" type=\"xs:decimal\" minOccurs=\"0\"/>\n<xs:element name=\"SupplierPrice\" type=\"xs:decimal\" minOccurs=\"0\"/>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n<xs:element name=\"Extra\">\n<xs:complexType>\n<xs:sequence>\n<xs:element name=\"Name\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"Value\" type=\"xs:string\" minOccurs=\"0\"/>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n<xs:element name=\"Tags\">\n<xs:complexType>\n<xs:sequence>\n<xs:element name=\"TagNumber\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"TagName\" type=\"xs:string\" minOccurs=\"0\"/>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n<xs:element name=\"Attributes\">\n<xs:complexType>\n<xs:sequence>\n<xs:element name=\"OrderItemID\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"Id\" type=\"xs:int\" minOccurs=\"0\"/>\n<xs:element name=\"Name\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"Value\" type=\"xs:string\" minOccurs=\"0\"/>\n<xs:element name=\"Price\" type=\"xs:double\" minOccurs=\"0\"/>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n</xs:choice>\n</xs:complexType>\n</xs:element>\n</xs:schema>\n<diffgr:diffgram xmlns:msdata=\"urn:schemas-microsoft-com:xml-msdata\" xmlns:diffgr=\"urn:schemas-microsoft-com:xml-diffgram-v1\">\n<NewDataSet>\n<Order diffgr:id=\"Order1\" msdata:rowOrder=\"0\">\n<OrderNumber>301632</OrderNumber>\n<CreatedDate>2024-08-08T12:58:00+03:00</CreatedDate>\n<StatusNumber>81</StatusNumber>\n<StatusName>משלוח על חברת המשלוחים</StatusName>\n<StatusChangedDate>2024-08-09T12:05:00+03:00</StatusChangedDate>\n<LeadStatus>0</LeadStatus>\n<Total>240</Total>\n<Discount>0</Discount>\n<Tax>1.17</Tax>\n<Interest>0</Interest>\n<Currency>NIS</Currency>\n<CouponNumber>0</CouponNumber>\n<CouponCode/>\n<CouponDiscount>0</CouponDiscount>\n<Language/>\n<ErpNumber/>\n<CustomerDevice>0</CustomerDevice>\n<OrderSaleType/>\n<SaleMan>פיטר</SaleMan>\n<SalesmanEmail>peter_shevok@windowslive.com</SalesmanEmail>\n<SalesmanPhone>0542121192</SalesmanPhone>\n<GUID>3d2a5e77-8aa0-444a-9244-16fa63a9d6b9</GUID>\n</Order>\n<BillingAddress diffgr:id=\"BillingAddress1\" msdata:rowOrder=\"0\">\n<CustomerNumber>183042</CustomerNumber>\n<BillingFirstName>גיא לב</BillingFirstName>\n<BillingLastName/>\n<BillingStreet>גולדה מאיר</BillingStreet>\n<BillingStreetNumber>3</BillingStreetNumber>\n<BillingApartmentNumber/>\n<BillingFloorNumber/>\n<BillingCity>נס ציונה</BillingCity>\n<BillingZipcode/>\n<BillingState/>\n<BillingCountry/>\n<BillingHomePhone>0544226820</BillingHomePhone>\n<BillingWorkPhone/>\n<BillingMobilePhone/>\n<BillingEmail/>\n<BillingBirthday>1900-01-01T00:00:00+02:00</BillingBirthday>\n<ZehutNumber/>\n<DealerNumber>0</DealerNumber>\n<DealerType>0</DealerType>\n</BillingAddress>\n<ShippingAddress diffgr:id=\"ShippingAddress1\" msdata:rowOrder=\"0\">\n<ShippingCompanyName/>\n<ShippingFirstName>גיא לב</ShippingFirstName>\n<ShippingLastName/>\n<ShippingAddress/>\n<ShippingStreet>גולדה מאיר</ShippingStreet>\n<ShippingStreetNumber>3</ShippingStreetNumber>\n<ShippingApartmentNumber/>\n<ShippingFloorNumber/>\n<ShippingCity>נס ציונה</ShippingCity>\n<ShippingState/>\n<ShippingCountry/>\n<ShippingZip/>\n<ShippingHomePhone>0544226820</ShippingHomePhone>\n<ShippingWorkPhone/>\n<ShippingMobilePhone/>\n</ShippingAddress>\n<Products diffgr:id=\"Products1\" msdata:rowOrder=\"0\">\n<OrderItemID>46632</OrderItemID>\n<ProductNumber>8200</ProductNumber>\n<SKU>508200</SKU>\n<Name>4 קילו פולי קפה תערובות שונות</Name>\n<Attributes/>\n<Price>240</Price>\n<Quantity>1</Quantity>\n<CouponDiscount>0</CouponDiscount>\n<Coupon/>\n<Manufacturer>lavazza</Manufacturer>\n<CategoryNumber>54</CategoryNumber>\n<SubcategoryNumber>87</SubcategoryNumber>\n<StatusNumber/>\n<StatusName/>\n<ParentProductSKU/>\n<StickyItemSKU/>\n<ErpNumber>508200</ErpNumber>\n</Products>\n<Products diffgr:id=\"Products2\" msdata:rowOrder=\"1\">\n<OrderItemID>46633</OrderItemID>\n<ProductNumber>1339</ProductNumber>\n<SKU>501339</SKU>\n<Name>Lavazza Super Crema Beans 1 kg חוזק 8</Name>\n<Attributes/>\n<Price>0</Price>\n<Quantity>1</Quantity>\n<CouponDiscount>0</CouponDiscount>\n<Coupon/>\n<Manufacturer>lavazza</Manufacturer>\n<CategoryNumber>54</CategoryNumber>\n<SubcategoryNumber>87</SubcategoryNumber>\n<StatusNumber/>\n<StatusName/>\n<ParentProductSKU/>\n<StickyItemSKU/>\n<ErpNumber>501339</ErpNumber>\n</Products>\n<Products diffgr:id=\"Products3\" msdata:rowOrder=\"2\">\n<OrderItemID>46634</OrderItemID>\n<ProductNumber>52</ProductNumber>\n<SKU>500052</SKU>\n<Name>Mauro De Luxe 1 kg פולי קפה</Name>\n<Attributes/>\n<Price>0</Price>\n<Quantity>1</Quantity>\n<CouponDiscount>0</CouponDiscount>\n<Coupon/>\n<Manufacturer>caffe mauro</Manufacturer>\n<CategoryNumber>54</CategoryNumber>\n<SubcategoryNumber>88</SubcategoryNumber>\n<StatusNumber/>\n<StatusName/>\n<ParentProductSKU/>\n<StickyItemSKU/>\n<ErpNumber>500052</ErpNumber>\n</Products>\n<Products diffgr:id=\"Products4\" msdata:rowOrder=\"3\">\n<OrderItemID>46635</OrderItemID>\n<ProductNumber>6507</ProductNumber>\n<SKU>506507</SKU>\n<Name>פולי קפה Saquella Espresso CREAMA ITALIA Coffee Beans 1Kg</Name>\n<Attributes/>\n<Price>0</Price>\n<Quantity>1</Quantity>\n<CouponDiscount>0</CouponDiscount>\n<Coupon/>\n<Manufacturer>Saquella</Manufacturer>\n<CategoryNumber>54</CategoryNumber>\n<SubcategoryNumber>90</SubcategoryNumber>\n<StatusNumber/>\n<StatusName/>\n<ParentProductSKU/>\n<StickyItemSKU/>\n<ErpNumber>506507</ErpNumber>\n</Products>\n<Products diffgr:id=\"Products5\" msdata:rowOrder=\"4\">\n<OrderItemID>46637</OrderItemID>\n<ProductNumber>10308</ProductNumber>\n<SKU>500004</SKU>\n<Name>משלוח עם השליח עד הבית בין 2 עד 7 ימי עסקים ק.אקספרס</Name>\n<Attributes/>\n<Price>0</Price>\n<Quantity>1</Quantity>\n<CouponDiscount>0</CouponDiscount>\n<Coupon/>\n<Manufacturer/>\n<CategoryNumber>9</CategoryNumber>\n<SubcategoryNumber>0</SubcategoryNumber>\n<StatusNumber/>\n<StatusName/>\n<ParentProductSKU/>\n<StickyItemSKU/>\n<ErpNumber>500004</ErpNumber>\n</Products>\n<Billing diffgr:id=\"Billing1\" msdata:rowOrder=\"0\">\n<BillingStatus>1</BillingStatus>\n<TransactionName>הזמנה בכרטיס אשראי </TransactionName>\n<PaymentMethod>Credit card</PaymentMethod>\n<Payments>1</Payments>\n<CreditcardExpireDate>7/2025</CreditcardExpireDate>\n<CreditcardIdentityCard/>\n<CreditcardNumber>5326101308317553</CreditcardNumber>\n<CreditCardApproveNumber>2706380</CreditCardApproveNumber>\n<CreditCardJ5AuthNumber/>\n<CreditCardTransactionLog>==08/08/2024 12:59:40== חיוב מרוחק ------עיסקה תקינה------ סכום : 240 0 ========= ==08/08/2024 12:59:40== חיוב מרוחק ------עיסקה תקינה------ סכום : 240 0 ========= </CreditCardTransactionLog>\n<CreditCardTransactionNumber/>\n<InvoiceNumber>277469</InvoiceNumber>\n<InvoiceInTheNameOf/>\n<InvoiceUrl>https://www.bigboss.co.il/bigbossweb?vpid=QkJfUEVURVImJiYzMzk1NzI</InvoiceUrl>\n<InvoiceLog><a href='https://www.bigboss.co.il/bigbossweb?vpid=QkJfUEVURVImJiYzMzk1NzI'>חשבונית מס קבלה 277469</a></InvoiceLog>\n<InvoiceCode>100</InvoiceCode>\n</Billing>\n<Delivery diffgr:id=\"Delivery1\" msdata:rowOrder=\"0\">\n<DeliveryCompanyNumber>0</DeliveryCompanyNumber>\n<DeliveryCompanyName/>\n<DeliveryCompanyEmail/>\n<DeliveryCompanyPhone/>\n<DeliveryCompanyPrice>0.0000</DeliveryCompanyPrice>\n<DeliveryCompanyCost>0.0000</DeliveryCompanyCost>\n<Delivery/>\n<DeliveryDate>2024-08-08T00:00:00+03:00</DeliveryDate>\n<DeliveryHours/>\n<DeliveryNumber>2293611</DeliveryNumber>\n<DeliveryPrice>0</DeliveryPrice>\n<PickupLocation/>\n<Pickup>false</Pickup>\n</Delivery>\n<Comments diffgr:id=\"Comments1\" msdata:rowOrder=\"0\">\n<SuppliersComments/>\n<AdminComments/>\n<StoreMessage/>\n<CustomerMessage>~~</CustomerMessage>\n<DeliveryComments/>\n</Comments>\n<Extra diffgr:id=\"Extra1\" msdata:rowOrder=\"0\">\n<Name>analytic_event</Name>\n<Value>checkout</Value>\n</Extra>\n<Extra diffgr:id=\"Extra2\" msdata:rowOrder=\"1\">\n<Name>analytic_event</Name>\n<Value>reverse</Value>\n</Extra>\n<Extra diffgr:id=\"Extra3\" msdata:rowOrder=\"2\">\n<Name>analytic_event</Name>\n<Value>checkout</Value>\n</Extra>\n<Extra diffgr:id=\"Extra4\" msdata:rowOrder=\"3\">\n<Name>analytic_event</Name>\n<Value>reverse</Value>\n</Extra>\n<Extra diffgr:id=\"Extra5\" msdata:rowOrder=\"4\">\n<Name>analytic_event</Name>\n<Value>checkout</Value>\n</Extra>\n<Extra diffgr:id=\"Extra6\" msdata:rowOrder=\"5\">\n<Name>kexpress_deliverynumber</Name>\n<Value>2293611,2293611</Value>\n</Extra>\n<Extra diffgr:id=\"Extra7\" msdata:rowOrder=\"6\">\n<Name>kexpress_messengers</Name>\n<Value>1</Value>\n</Extra>\n<Extra diffgr:id=\"Extra8\" msdata:rowOrder=\"7\">\n<Name>kexpress_service_called</Name>\n<Value>1</Value>\n</Extra>\n<Extra diffgr:id=\"Extra9\" msdata:rowOrder=\"8\">\n<Name>ran_AreaNumber</Name>\n<Value>305</Value>\n</Extra>\n<Extra diffgr:id=\"Extra10\" msdata:rowOrder=\"9\">\n<Name>ran_LineNumer</Name>\n<Value>90</Value>\n</Extra>\n</NewDataSet>\n</diffgr:diffgram>\n</DataSet>"},"metadata":{"designer":{"x":-222,"y":-311},"parameters":[{"name":"type","type":"udt","label":"Data structure"},{"name":"preserveNumbersAsText","type":"boolean","label":"Preserve numbers as text","required":true}]}},{"id":72,"module":"builtin:BasicFeeder","version":1,"parameters":{},"mapper":{"array":"{{71.DataSet.`diffgr:diffgram`[].NewDataSet[].Products}}"},"metadata":{"designer":{"x":28,"y":-313,"name":"Iterate Products"}}},{"id":73,"module":"util:TextAggregator","version":1,"parameters":{"rowSeparator":"other","otherRowSeparator":",","feeder":72},"mapper":{"value":"{\n\"name\": \"{{72.Name[]}}\",\n\"quantity\": {{72.Quantity[]}},\n\"price\": {{72.Price[]}}\n}"},"metadata":{"designer":{"x":271,"y":-313},"parameters":[{"name":"rowSeparator","type":"select","label":"Row separator","validate":{"enum":["\n","\t","other"]}},{"name":"otherRowSeparator","type":"text","label":"Separator"}],"advanced":true}},{"id":75,"module":"http:ActionSendData","version":3,"parameters":{"handleErrors":true,"useNewZLibDeCompress":true},"mapper":{"url":"https://google.com","serializeUrl":false,"method":"get","headers":[],"qs":[],"bodyType":"raw","parseResponse":true,"authUser":"","authPass":"","timeout":"","shareCookies":false,"ca":"","rejectUnauthorized":true,"followRedirect":true,"useQuerystring":false,"gzip":true,"useMtls":false,"contentType":"application/json","data":"{\n  \"products\": [ {{73.text}} ]\n}","followAllRedirects":false},"metadata":{"designer":{"x":514,"y":-313},"parameters":[{"name":"handleErrors","type":"boolean","label":"Evaluate all states as errors (except for 2xx and 3xx )","required":true},{"name":"useNewZLibDeCompress","type":"hidden"}]}}]}],"metadata":{"version":1}}

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

1 Like

It does the trick, I don’t have to use the XML parse tool but a combination of Iterate + text agg its a great solution.

Thank you for the fast response!

1 Like

No problem, glad I could help!

1. If anyone has a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!