Combine Bundle In 1 Json

Hi,

How to combine all bundle in 1 json?

flow…

I need just 1 json. example :

{
“Full Name” : " FirstName LastName",
“User Phone” : “+16505550123”,
“User Email” : “test@example.com
}

This Output :

[
    {
        "lead_id": "TeSter-123-ABCDEFGHIJKLMNOPQRSTUVWXYZ-abcdefghijklmnopqrstuvwxyz-0123456789-AaBbCcDdEeFfGgHhIiJjKkLl",
        "user_column_data": [
            {
                "column_name": "Full Name",
                "string_value": "FirstName LastName",
                "column_id": "FULL_NAME"
            },
            {
                "column_name": "User Phone",
                "string_value": "+16505550123",
                "column_id": "PHONE_NUMBER"
            },
            {
                "column_name": "User Email",
                "string_value": "test@example.com",
                "column_id": "EMAIL"
            }
        ],
        "api_version": "1.0",
        "form_id": 104754611886,
        "campaign_id": 20609271819,
        "google_key": "ab123",
        "is_test": true,
        "gcl_id": "TeSter-123-ABCDEFGHIJKLMNOPQRSTUVWXYZ-abcdefghijklmnopqrstuvwxyz-0123456789-AaBbCcDdEeFfGgHhIiJjKkLl",
        "adgroup_id": 20000000000,
        "creative_id": 30000000000
    }
]

This blueprint :
blueprint (1).json (3.7 KB)

Use a text aggregator first:

Then in the module where you need to map the JSON, add the opening and closing brackets:

3 Likes

Thanks… now, worked.

2 Likes