Edit Mapping Parameter

Hi friends,
Parameter Name has a differense every process. This name follow Shipment Keys.

how to solve formula to create parameter name?
this data, i need info trackinng_no.

helpppp!:pray:

You can convert the data collection into an array first, using the toArray built-in function:

Screenshot_2023-09-20_150957

2 Likes

like this?

can worked but value empty.

Welcome to the Make community!

Could you please provide the input/output bundles of the modules by running the scenario, then clicking the bubble on the top-right of each module, taking screenshots of, and copying the contents into this discussion thread:

Screenshot_2023-08-29_100800

This will allow others to better assist you. Thanks!

2 Likes
[
    {
        "status": true,
        "message": "success",
        "data": {
            "4cf03de938c198f2670b746c73d6c1d9": {
                "shipment_key": "4cf03de938c198f2670b746c73d6c1d9",
                "integration_order_id": null,
                "provider_code": "ninjavan",
                "tracking_no": "PARAS0011792660",
                "declared_weight": "0.500",
                "normal_price": "8.50",
                "exclusive_price": "6.50",
                "effective_price": "8.50",
                "type": "parcel",
                "send_method": "dropoff",
                "shipment_status": "pending_dropoff",
                "checkout_status": "paid",
                "sender_name": "Sifuim Marketing",
                "sender_company_name": null,
                "sender_address_line_1": "No. 213, Presint 5/8, Darulaman Perdana",
                "sender_address_line_2": null,
                "sender_address_line_3": null,
                "sender_address_line_4": null,
                "sender_city": "Sungai Petani",
                "sender_state": "Kedah",
                "sender_country": "Malaysia",
                "sender_email": "sifuimmarketing@gmail.com",
                "receiver_phone": "60132985404",
                "receiver_name": "Atikah #33",
                "receiver_company_name": null,
                "receiver_address_line_1": "F464 Jalan Kuala Sedaka",
                "receiver_address_line_2": null,
                "receiver_address_line_3": null,
                "receiver_address_line_4": null,
                "receiver_city": "Yan",
                "receiver_state": "Kedah",
                "receiver_country": null,
                "receiver_email": "tikahcod@gmail.com",
                "provider_label": "Ninjavan",
                "provider_logo": "https://app.myparcelasia.com/assets/img/ninjavan.png"
            }
        },
        "meta": {
            "vendor": "https://app.myparcelasia.com",
            "endpoint": "/apiv2/get_shipments",
            "api_key": "k1e3bde5ec2xxxxxxxxxx",
            "currency_label": "RM",
            "currency_code": "MYR",
            "topup_balance": "4.70"
        },
        "hash": "c355dbaf49f86607da3eb505605c7207"
    }
]

Thanks for the output bundle. Here’s the updated value you need:

{{first(map(toArray(2.data); "value"))}}

Then, in a subsequent module, you can select any property:

3 Likes

thank you. this issue has settled.
thanks help me :pray: :pray: :pray:

2 Likes