Concatenate items

Hi! I have a JSON that contains a WhatsApp conversation.
I need to concatenate the messages and return the name of the person who sent it in each message, the name could be generic like agent and cliente. Any ideas how to do it in Make?

The item that contains de message is called content.
Later I need to send this conversation to ChatGPT.

Here is the JSON:

{
    "type": "application/vnd.lime.collection+json",
    "resource": {
        "total": 20,
        "itemType": "application/vnd.iris.thread-message+json",
        "items": [
            {
                "id": "1a8ad536-0ffb-4643-93ca-fd86d5eb8f81",
                "direction": "sent",
                "type": "text/plain",
                "content": "Agradecemos seu feedback!",
                "date": "2023-04-17T21:08:03.996Z",
                "status": "consumed",
                "metadata": {
                    "#stateName": "Feedback [10-7]",
                    "#stateId": "aa2c80e8-ff37-40b5-81df-6e75104a9138",
                    "#messageId": "wamid.HBgMNTU0OTk4MTY4NjQwFQIAEhggQzYxQTBFNEFEMUU0MjgzRjMyOTVENjVFNEMzQUZFMjAA",
                    "#previousStateId": "5862eeed-97a6-461c-adf8-1f2dbb80769c",
                    "#previousStateName": "Autentição OAuth 2.0",
                    "uber-trace-id": "ec137e8967365570%3A45e68beee8c8474d%3A841f7341313a6df0%3A1",
                    "#uniqueId": "b605101c-6901-4595-b19b-475cd0bffbb7",
                    "date_created": "1681765683954",
                    "#date_processed": "1681765683982",
                    "#tunnel.owner": "santamaria1@msging.net",
                    "#tunnel.originator": "5549998168640@wa.gw.msging.net",
                    "#tunnel.originalFrom": "menuprincipal7@msging.net/msging-application-builder-hosting-business-xbql8",
                    "#tunnel.originalTo": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "$originator": "santamaria1@msging.net",
                    "$claims": "Node=santamaria1@msging.net/msging-application-router-hosting-business-5r57f;Identity=santamaria1@msging.net;DomainRole=Member;AuthenticationScheme=Transport",
                    "$internalId": "b605101c-6901-4595-b19b-475cd0bffbb7",
                    "$originatorSessionRemoteNode": "business.master.hosting@msging.net/#msging-application-router-hosting-business-5r57f",
                    "#messageKind": "Response",
                    "$elapsedTimeToStorage": "00:00:00.0207006"
                }
            },
            {
                "id": "wamid.HBgMNTU0OTk4MTY4NjQwFQIAEhggQzYxQTBFNEFEMUU0MjgzRjMyOTVENjVFNEMzQUZFMjAA",
                "direction": "received",
                "type": "text/plain",
                "content": "10",
                "date": "2023-04-17T21:08:00.962Z",
                "status": "dispatched",
                "metadata": {
                    "#wa.timestamp": "1681765679",
                    "uber-trace-id": "ec137e8967365570%3Aec137e8967365570%3A0%3A1",
                    "$internalId": "79300e65-31a8-4b5b-bb8f-025d8e8a585a",
                    "$originatorSessionRemoteNode": "postmaster@wa.gw.msging.net/#msging-gateway-whatsapp-m9t62",
                    "#uniqueId": "79300e65-31a8-4b5b-bb8f-025d8e8a585a",
                    "date_created": "1681765680944",
                    "#date_processed": "1681765680944",
                    "$elapsedTimeToStorage": "00:00:00.0253928"
                }
            },
            {
                "id": "7be93873-b69c-40da-aced-2a5c59bd5b8a",
                "direction": "sent",
                "type": "text/plain",
                "content": "De 0 a 10, como você avalia este atendimento? 📈",
                "date": "2023-04-17T21:07:53.302Z",
                "status": "consumed",
                "metadata": {
                    "#stateName": "Nota de Atendimento",
                    "#stateId": "75876088-7da7-40f5-b33b-1092213fcfa8",
                    "#messageId": "64c81e81-8be8-4de1-b48d-81d78d3d22ca",
                    "#previousStateId": "desk:657fe4c2-1c24-4561-971e-afafce6e7787",
                    "#previousStateName": "Atendimento humano",
                    "uber-trace-id": "7b6dfc3740e8db7f%3A352574cf1b8d09d6%3A5be91f470c2ec280%3A1",
                    "#uniqueId": "78876405-6a40-4523-802e-89ca399269da",
                    "date_created": "1681765673266",
                    "#date_processed": "1681765673290",
                    "#tunnel.owner": "santamaria1@msging.net",
                    "#tunnel.originator": "5549998168640@wa.gw.msging.net",
                    "#tunnel.originalFrom": "menuprincipal7@msging.net/msging-application-builder-hosting-business-6xmml",
                    "#tunnel.originalTo": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "$originator": "santamaria1@msging.net",
                    "$claims": "Node=santamaria1@msging.net/msging-application-router-hosting-business-fpxw9;Identity=santamaria1@msging.net;DomainRole=Member;AuthenticationScheme=Transport",
                    "$internalId": "78876405-6a40-4523-802e-89ca399269da",
                    "$originatorSessionRemoteNode": "business.master.hosting@msging.net/#msging-application-router-hosting-business-fpxw9",
                    "#messageKind": "Response",
                    "$elapsedTimeToStorage": "00:00:00.0177948"
                }
            },
            {
                "id": "75a60aa6-fdb0-461b-bd34-2e2b9acc67c9",
                "direction": "sent",
                "type": "text/plain",
                "content": "Atendimento encerrado. A partir de agora, você está conversando com a assistente virtual.",
                "date": "2023-04-17T21:07:52.298Z",
                "status": "consumed",
                "metadata": {
                    "#stateName": "Nota de Atendimento",
                    "#stateId": "75876088-7da7-40f5-b33b-1092213fcfa8",
                    "#messageId": "64c81e81-8be8-4de1-b48d-81d78d3d22ca",
                    "#previousStateId": "desk:657fe4c2-1c24-4561-971e-afafce6e7787",
                    "#previousStateName": "Atendimento humano",
                    "uber-trace-id": "7b6dfc3740e8db7f%3Ac53a9ca50a080921%3A53c30327942a177e%3A1",
                    "#uniqueId": "18e9223e-fe32-4755-8419-7dc6aa30478c",
                    "date_created": "1681765672257",
                    "#date_processed": "1681765672282",
                    "#tunnel.owner": "santamaria1@msging.net",
                    "#tunnel.originator": "5549998168640@wa.gw.msging.net",
                    "#tunnel.originalFrom": "menuprincipal7@msging.net/msging-application-builder-hosting-business-6xmml",
                    "#tunnel.originalTo": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "$originator": "santamaria1@msging.net",
                    "$claims": "Node=santamaria1@msging.net/msging-application-router-hosting-business-fpxw9;Identity=santamaria1@msging.net;DomainRole=Member;AuthenticationScheme=Transport",
                    "$internalId": "18e9223e-fe32-4755-8419-7dc6aa30478c",
                    "$originatorSessionRemoteNode": "business.master.hosting@msging.net/#msging-application-router-hosting-business-fpxw9",
                    "#messageKind": "Response",
                    "$elapsedTimeToStorage": "00:00:00.0213564"
                }
            },
            {
                "id": "fwd:fwd:77b4b13a-e138-4ac4-865c-e9b4f7799178",
                "direction": "sent",
                "type": "text/plain",
                "content": "Passando aqui para te avisar que seu ticket foi resolvido e está sendo fechado. Espero que esteja tudo resolvido agora! Qualquer coisa, é só mandar uma mensagem novamente. Obrigado pela paciência e um abraço! ✅",
                "date": "2023-04-17T21:07:44.496Z",
                "status": "consumed",
                "metadata": {
                    "#messageEmitter": "Human",
                    "uber-trace-id": "3aa7bd07be9c2d53%3Ac531c49736c967c0%3A641acdbd97579ee5%3A1",
                    "#uniqueId": "bd14e57d-0fb6-4985-8cd4-0dea069608cd",
                    "date_created": "1681765664341",
                    "#date_processed": "1681765664412",
                    "#tunnel.owner": "santamaria1@msging.net",
                    "#tunnel.originator": "5549998168640@wa.gw.msging.net",
                    "#tunnel.originalFrom": "menuprincipal7@msging.net/msging-application-builder-hosting-business-6xmml",
                    "#tunnel.originalTo": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "$originator": "santamaria1@msging.net",
                    "$claims": "Node=santamaria1@msging.net/msging-application-router-hosting-business-fpxw9;Identity=santamaria1@msging.net;DomainRole=Member;AuthenticationScheme=Transport",
                    "$internalId": "bd14e57d-0fb6-4985-8cd4-0dea069608cd",
                    "$originatorSessionRemoteNode": "business.master.hosting@msging.net/#msging-application-router-hosting-business-fpxw9",
                    "#messageKind": "Response",
                    "$elapsedTimeToStorage": "00:00:00.0896617"
                }
            },
            {
                "id": "wamid.HBgMNTU0OTk4MTY4NjQwFQIAEhggQTM4NTQ3NjMwRkFENjE3NTQwMTZEQTAyRUVGMTU2NDMA",
                "direction": "received",
                "type": "text/plain",
                "content": "Só obrigada",
                "date": "2023-04-17T21:07:25.448Z",
                "status": "dispatched",
                "metadata": {
                    "#wa.timestamp": "1681765644",
                    "uber-trace-id": "97a72a8ca3130da9%3A97a72a8ca3130da9%3A0%3A1",
                    "$internalId": "ca9c82cd-1892-4bef-8d7f-5272effbd492",
                    "$originatorSessionRemoteNode": "postmaster@wa.gw.msging.net/#msging-gateway-whatsapp-vtpr6",
                    "#uniqueId": "ca9c82cd-1892-4bef-8d7f-5272effbd492",
                    "date_created": "1681765645433",
                    "#date_processed": "1681765645433",
                    "$elapsedTimeToStorage": "00:00:00.0236673"
                }
            },
            {
                "id": "fwd:fwd:5f1c6247-8568-4674-b1cb-2bb767d2c030",
                "direction": "sent",
                "type": "text/plain",
                "content": "algo a mais em que posso lhe ajudar marcia?",
                "date": "2023-04-17T21:06:24.771Z",
                "status": "consumed",
                "metadata": {
                    "#messageEmitter": "Human",
                    "uber-trace-id": "574c7982dc9767f6%3A916bbe4421d9f4e4%3Acc4abad61a5adea1%3A1",
                    "#uniqueId": "fd6652cc-a668-4105-9c35-6636818a99ba",
                    "date_created": "1681765584723",
                    "#date_processed": "1681765584758",
                    "#tunnel.owner": "santamaria1@msging.net",
                    "#tunnel.originator": "5549998168640@wa.gw.msging.net",
                    "#tunnel.originalFrom": "menuprincipal7@msging.net/msging-application-builder-hosting-business-6xmml",
                    "#tunnel.originalTo": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "$originator": "santamaria1@msging.net",
                    "$claims": "Node=santamaria1@msging.net/msging-application-router-hosting-business-fpxw9;Identity=santamaria1@msging.net;DomainRole=Member;AuthenticationScheme=Transport",
                    "$internalId": "fd6652cc-a668-4105-9c35-6636818a99ba",
                    "$originatorSessionRemoteNode": "business.master.hosting@msging.net/#msging-application-router-hosting-business-fpxw9",
                    "#messageKind": "Response",
                    "$elapsedTimeToStorage": "00:00:00.0187448"
                }
            },
            {
                "id": "fwd:fwd:e961156c-e0ea-410c-bad1-c0a766660f03",
                "direction": "sent",
                "type": "text/plain",
                "content": "segue boleto",
                "date": "2023-04-17T21:01:46.398Z",
                "status": "consumed",
                "metadata": {
                    "#messageEmitter": "Human",
                    "uber-trace-id": "ffe50d6d7575922%3Ab375f7f7330e9553%3Ac5ba1026af822ea0%3A1",
                    "#uniqueId": "66820e84-1ba9-4586-8d60-3fbe1c554fb7",
                    "date_created": "1681765306332",
                    "#date_processed": "1681765306370",
                    "#tunnel.owner": "santamaria1@msging.net",
                    "#tunnel.originator": "5549998168640@wa.gw.msging.net",
                    "#tunnel.originalFrom": "menuprincipal7@msging.net/msging-application-builder-hosting-business-6xmml",
                    "#tunnel.originalTo": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "$originator": "santamaria1@msging.net",
                    "$claims": "Node=santamaria1@msging.net/msging-application-router-hosting-business-fpxw9;Identity=santamaria1@msging.net;DomainRole=Member;AuthenticationScheme=Transport",
                    "$internalId": "66820e84-1ba9-4586-8d60-3fbe1c554fb7",
                    "$originatorSessionRemoteNode": "business.master.hosting@msging.net/#msging-application-router-hosting-business-fpxw9",
                    "#messageKind": "Response",
                    "$elapsedTimeToStorage": "00:00:00.0340134"
                }
            },
            {
                "id": "fwd:fwd:c88fdcbf-70a5-498a-b659-c70c9b469a71",
                "direction": "sent",
                "type": "application/vnd.lime.media-link+json",
                "content": {
                    "type": "application/pdf",
                    "size": 256293,
                    "uri": "https://blipmediastore.blob.core.windows.net/secure-medias/Media_04a4d107-1f34-4dcd-bf9a-d4e9053521bcsala 2 stemp.pdf?sv=2019-07-07&st=2023-04-17T21%3A42%3A17Z&se=2023-04-17T22%3A12%3A17Z&sr=b&sp=r&sig=vGuZmSpA%2FAcf9FbxCm0X37n94URHZpjBRsA2XzQEB%2FM%3D&secure=true",
                    "previewUri": "https://blipmediastore.blob.core.windows.net/secure-medias/Media_04a4d107-1f34-4dcd-bf9a-d4e9053521bcsala 2 stemp.pdf?sv=2019-07-07&st=2023-04-17T21%3A42%3A17Z&se=2023-04-17T22%3A12%3A17Z&sr=b&sp=r&sig=vGuZmSpA%2FAcf9FbxCm0X37n94URHZpjBRsA2XzQEB%2FM%3D&secure=true",
                    "previewType": "application/pdf",
                    "title": "sala 2 stemp.pdf",
                    "text": ""
                },
                "date": "2023-04-17T21:01:43.498Z",
                "status": "consumed",
                "metadata": {
                    "#messageEmitter": "Human",
                    "uber-trace-id": "f8a867a4d3f0e1b%3A1ea65f7f0432a5f9%3A46e4991a185c3936%3A1",
                    "#uniqueId": "4ab139cb-5cc1-4b91-a2a6-c17beef3953f",
                    "date_created": "1681765303445",
                    "#date_processed": "1681765303484",
                    "#tunnel.owner": "santamaria1@msging.net",
                    "#tunnel.originator": "5549998168640@wa.gw.msging.net",
                    "#tunnel.originalFrom": "menuprincipal7@msging.net/msging-application-builder-hosting-business-6xmml",
                    "#tunnel.originalTo": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "$originator": "santamaria1@msging.net",
                    "$claims": "Node=santamaria1@msging.net/msging-application-router-hosting-business-fpxw9;Identity=santamaria1@msging.net;DomainRole=Member;AuthenticationScheme=Transport",
                    "$internalId": "4ab139cb-5cc1-4b91-a2a6-c17beef3953f",
                    "$originatorSessionRemoteNode": "business.master.hosting@msging.net/#msging-application-router-hosting-business-fpxw9",
                    "#messageKind": "Response",
                    "$elapsedTimeToStorage": "00:00:00.0224105"
                }
            },
            {
                "id": "fwd:fwd:b959de31-594b-4e0c-8faa-42368be733eb",
                "direction": "sent",
                "type": "text/plain",
                "content": "Olá! Tudo bem? Meu nome é Alessandra Burtet e darei continuidade ao seu atendimento.\nAlertamos que em 50 minutos sem resposta, iremos finalizar o ticket, mas não se preocupe! Caso precise falar novamente conosco, é só enviar uma mensagem que seu atendimento será reaberto! 😀",
                "date": "2023-04-17T21:01:35.281Z",
                "status": "consumed",
                "metadata": {
                    "#messageEmitter": "Human",
                    "uber-trace-id": "3c0144c678427d49%3A6c3c8573b90464f7%3Adfb8de32ea3753fc%3A1",
                    "#uniqueId": "34aa7b84-30db-4dac-8254-dad9df4062f9",
                    "date_created": "1681765295217",
                    "#date_processed": "1681765295260",
                    "#tunnel.owner": "santamaria1@msging.net",
                    "#tunnel.originator": "5549998168640@wa.gw.msging.net",
                    "#tunnel.originalFrom": "menuprincipal7@msging.net/msging-application-builder-hosting-business-6xmml",
                    "#tunnel.originalTo": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "$originator": "santamaria1@msging.net",
                    "$claims": "Node=santamaria1@msging.net/msging-application-router-hosting-business-fpxw9;Identity=santamaria1@msging.net;DomainRole=Member;AuthenticationScheme=Transport",
                    "$internalId": "34aa7b84-30db-4dac-8254-dad9df4062f9",
                    "$originatorSessionRemoteNode": "business.master.hosting@msging.net/#msging-application-router-hosting-business-fpxw9",
                    "#messageKind": "Response",
                    "$elapsedTimeToStorage": "00:00:00.0311131"
                }
            },
            {
                "id": "32d0070f-a497-4d39-af57-018791033827",
                "direction": "received",
                "type": "application/vnd.iris.ticket+json",
                "content": {
                    "id": "32d0070f-a497-4d39-af57-018791033827",
                    "sequentialId": 21543,
                    "ownerIdentity": "menuprincipal7@msging.net",
                    "customerIdentity": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "customerDomain": "tunnel.msging.net",
                    "agentIdentity": "financeirocondominios%40santamaria.com.br@blip.ai",
                    "provider": "Lime",
                    "status": "Waiting",
                    "storageDate": "2023-04-17T20:58:40.039Z",
                    "externalId": "32d0070f-a497-4d39-af57-018791033827",
                    "rating": 0,
                    "team": "DIRECT_TRANSFER",
                    "unreadMessages": 0,
                    "closed": false,
                    "parentSequentialId": 21542,
                    "priority": 1
                },
                "date": "2023-04-17T20:58:40.177Z"
            },
            {
                "id": "wamid.HBgMNTU0OTk4MTY4NjQwFQIAEhggRUM4RDQ3MUUyMzYzQzRGM0IwNUFBRTg0QkRBRTVCNDIA",
                "direction": "received",
                "type": "text/plain",
                "content": "Ed. Stemp, sala 02",
                "date": "2023-04-17T20:57:39.844Z",
                "status": "dispatched",
                "metadata": {
                    "#wa.timestamp": "1681765058",
                    "uber-trace-id": "739fb06202d0380c%3A739fb06202d0380c%3A0%3A1",
                    "$internalId": "c17e6ac6-5ae1-4bbe-8626-d3bdc864496e",
                    "$originatorSessionRemoteNode": "postmaster@wa.gw.msging.net/#msging-gateway-whatsapp-25fvd",
                    "#uniqueId": "c17e6ac6-5ae1-4bbe-8626-d3bdc864496e",
                    "date_created": "1681765059829",
                    "#date_processed": "1681765059829",
                    "$elapsedTimeToStorage": "00:00:00.0219470"
                }
            },
            {
                "id": "fwd:fwd:746033f9-a43a-4a8f-98dc-bd6edc7a056a",
                "direction": "sent",
                "type": "text/plain",
                "content": "Boa tarde, no que posso ajudar?",
                "date": "2023-04-17T20:57:28.981Z",
                "status": "consumed",
                "metadata": {
                    "#messageEmitter": "Human",
                    "uber-trace-id": "1b072ae41552bfce%3A62297c4b9f4ff38f%3Ad50aaecc99014686%3A1",
                    "#uniqueId": "062f92e1-5e3b-46c3-9b1f-63091d6da886",
                    "date_created": "1681765048919",
                    "#date_processed": "1681765048970",
                    "#tunnel.owner": "santamaria1@msging.net",
                    "#tunnel.originator": "5549998168640@wa.gw.msging.net",
                    "#tunnel.originalFrom": "menuprincipal7@msging.net/msging-application-builder-hosting-business-thtp5",
                    "#tunnel.originalTo": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "$originator": "santamaria1@msging.net",
                    "$claims": "Node=santamaria1@msging.net/msging-application-router-hosting-business-j6f65;Identity=santamaria1@msging.net;DomainRole=Member;AuthenticationScheme=Transport",
                    "$internalId": "062f92e1-5e3b-46c3-9b1f-63091d6da886",
                    "$originatorSessionRemoteNode": "business.master.hosting@msging.net/#msging-application-router-hosting-business-j6f65",
                    "#messageKind": "Response",
                    "$elapsedTimeToStorage": "00:00:00.0162552"
                }
            },
            {
                "id": "wamid.HBgMNTU0OTk4MTY4NjQwFQIAEhggM0MwOTEyQTgzMkE3RTlERDcwMDdDOEU2MTFBREY0NUQA",
                "direction": "received",
                "type": "text/plain",
                "content": "Preciso da segunda vía do boleto do condomínio",
                "date": "2023-04-17T20:57:28.346Z",
                "status": "dispatched",
                "metadata": {
                    "#wa.timestamp": "1681765046",
                    "uber-trace-id": "1bd954814ce1595a%3A1bd954814ce1595a%3A0%3A1",
                    "$internalId": "442114fb-a70d-4f04-9d24-024de360f937",
                    "$originatorSessionRemoteNode": "postmaster@wa.gw.msging.net/#msging-gateway-whatsapp-pks6q",
                    "#uniqueId": "442114fb-a70d-4f04-9d24-024de360f937",
                    "date_created": "1681765048330",
                    "#date_processed": "1681765048330",
                    "$elapsedTimeToStorage": "00:00:00.0231995"
                }
            },
            {
                "id": "wamid.HBgMNTU0OTk4MTY4NjQwFQIAEhggNzYwNkVFN0MzOTU1NUFCMDUxOTJGQkIxQzQ2RjMxNTgA",
                "direction": "received",
                "type": "text/plain",
                "content": "Ok",
                "date": "2023-04-17T20:57:13.140Z",
                "status": "dispatched",
                "metadata": {
                    "#wa.timestamp": "1681765032",
                    "uber-trace-id": "94ce779fa045826a%3A94ce779fa045826a%3A0%3A1",
                    "$internalId": "a9c8355d-4559-49a3-bb1a-d1af700318b3",
                    "$originatorSessionRemoteNode": "postmaster@wa.gw.msging.net/#msging-gateway-whatsapp-2lf96",
                    "#uniqueId": "a9c8355d-4559-49a3-bb1a-d1af700318b3",
                    "date_created": "1681765033125",
                    "#date_processed": "1681765033125",
                    "$elapsedTimeToStorage": "00:00:00.0234212"
                }
            },
            {
                "id": "fwd:fwd:28439930-8c5c-444f-a9b8-77337a2f7005",
                "direction": "sent",
                "type": "text/plain",
                "content": "Olá! Tudo bem? Meu nome é Thays Lilian da Silva e darei continuidade ao seu atendimento.\nAlertamos que em 50 minutos sem resposta, iremos finalizar o ticket, mas não se preocupe! Caso precise falar novamente conosco, é só enviar uma mensagem que seu atendimento será reaberto! 😀",
                "date": "2023-04-17T20:56:22.539Z",
                "status": "consumed",
                "metadata": {
                    "#messageEmitter": "Human",
                    "uber-trace-id": "d082c48f036262e6%3A3e8235467203fea1%3A4e275b9974e1c14e%3A1",
                    "#uniqueId": "5b9e8c3c-f188-4c6a-9979-0a2734ed3d48",
                    "date_created": "1681764982478",
                    "#date_processed": "1681764982520",
                    "#tunnel.owner": "santamaria1@msging.net",
                    "#tunnel.originator": "5549998168640@wa.gw.msging.net",
                    "#tunnel.originalFrom": "menuprincipal7@msging.net/msging-application-builder-hosting-business-vhd2d",
                    "#tunnel.originalTo": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "$originator": "santamaria1@msging.net",
                    "$claims": "Node=santamaria1@msging.net/msging-application-router-hosting-business-xgdw4;Identity=santamaria1@msging.net;DomainRole=Member;AuthenticationScheme=Transport",
                    "$internalId": "5b9e8c3c-f188-4c6a-9979-0a2734ed3d48",
                    "$originatorSessionRemoteNode": "business.master.hosting@msging.net/#msging-application-router-hosting-business-xgdw4",
                    "#messageKind": "Response",
                    "$elapsedTimeToStorage": "00:00:00.0270270"
                }
            },
            {
                "id": "2b2b638b-67a4-4e6f-bf93-0187910076cf",
                "direction": "received",
                "type": "application/vnd.iris.ticket+json",
                "content": {
                    "id": "2b2b638b-67a4-4e6f-bf93-0187910076cf",
                    "sequentialId": 21542,
                    "ownerIdentity": "menuprincipal7@msging.net",
                    "customerIdentity": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "customerDomain": "tunnel.msging.net",
                    "provider": "Lime",
                    "status": "Waiting",
                    "storageDate": "2023-04-17T20:55:39.471Z",
                    "externalId": "2b2b638b-67a4-4e6f-bf93-0187910076cf",
                    "rating": 0,
                    "team": "Atendimento ao condômino",
                    "unreadMessages": 0,
                    "closed": false,
                    "customerInput": {
                        "type": "text/plain",
                        "value": "2"
                    },
                    "priority": 0
                },
                "date": "2023-04-17T20:55:39.578Z"
            },
            {
                "id": "75eb6f80-608c-4208-9524-f34213e3dd3f",
                "direction": "sent",
                "type": "text/plain",
                "content": "Você foi transferido para a fila de atendimento e receberá apoio assim que um atendente estiver disponível. Se você desejar voltar ao atendimento automatizado, digite <b>#Sair</b>. 💬",
                "date": "2023-04-17T20:55:39.356Z",
                "status": "consumed",
                "metadata": {
                    "#stateName": "Atendente disponível",
                    "#stateId": "0c739d7d-be1f-4af6-9418-477095020b5b",
                    "#messageId": "wamid.HBgMNTU0OTk4MTY4NjQwFQIAEhggMDczMzY3M0MyREE0MzJEOEY0REZBRjUyRjc1RDVEMDIA",
                    "#previousStateId": "b0b86fc6-1e4b-480d-a601-bea5c74d6e59",
                    "#previousStateName": "Verifica atendentes",
                    "uber-trace-id": "fcaac7523b9925f6%3Adbcb373a8f5205a9%3A8ff1b5c5d15b378d%3A1",
                    "#uniqueId": "6b8e56e2-b453-4e9d-a073-f8fd209c8b99",
                    "date_created": "1681764939318",
                    "#date_processed": "1681764939342",
                    "#tunnel.owner": "santamaria1@msging.net",
                    "#tunnel.originator": "5549998168640@wa.gw.msging.net",
                    "#tunnel.originalFrom": "menuprincipal7@msging.net/msging-application-builder-hosting-business-6xmml",
                    "#tunnel.originalTo": "40249a40-926a-42a6-b107-264aa11236f9@tunnel.msging.net",
                    "$originator": "santamaria1@msging.net",
                    "$claims": "Node=santamaria1@msging.net/msging-application-router-hosting-business-fpxw9;Identity=santamaria1@msging.net;DomainRole=Member;AuthenticationScheme=Transport",
                    "$internalId": "6b8e56e2-b453-4e9d-a073-f8fd209c8b99",
                    "$originatorSessionRemoteNode": "business.master.hosting@msging.net/#msging-application-router-hosting-business-fpxw9",
                    "#messageKind": "Response",
                    "$elapsedTimeToStorage": "00:00:00.0203319"
                }
            },
            {
                "id": "wamid.HBgMNTU0OTk4MTY4NjQwFQIAEhggMDczMzY3M0MyREE0MzJEOEY0REZBRjUyRjc1RDVEMDIA",
                "direction": "received",
                "type": "text/plain",
                "content": "2",
                "date": "2023-04-17T20:55:36.131Z",
                "status": "dispatched",
                "metadata": {
                    "#wa.timestamp": "1681764934",
                    "uber-trace-id": "fcaac7523b9925f6%3Afcaac7523b9925f6%3A0%3A1",
                    "$internalId": "f004ec46-65c5-474f-be8e-c1386ba6c6d7",
                    "$originatorSessionRemoteNode": "postmaster@wa.gw.msging.net/#msging-gateway-whatsapp-25fvd",
                    "#uniqueId": "f004ec46-65c5-474f-be8e-c1386ba6c6d7",
                    "date_created": "1681764936114",
                    "#date_processed": "1681764936114",
                    "$elapsedTimeToStorage": "00:00:00.0224507"
                }
            }
        ]
    },
    "method": "get",
    "status": "success",
    "id": "2ffc63dd-68b1-489b-8496-06d053e74436",
    "from": "postmaster@desk.msging.net/!msging-application-desk-bbhps",
    "to": "menuprincipal7@msging.net/!msging-server-n9dpp-2kdz99w7",
    "metadata": {
        "#command.uri": "lime://menuprincipal7@msging.net/tickets/32d0070f-a497-4d39-af57-018791033827/messages?getFromOwnerIfTunnel=true",
        "uber-trace-id": "6ab696c1e9fee618%3Ae0be24500565c5c%3A6ab696c1e9fee618%3A1"
    }
}

Hi @Bruno_Gabriel,

Assuming that you want to concat all the content message only, What you can do is have a Parse a JSON module and then use map function to get the data,

{{join(map(1.resource.items; “content”); space)}}

1 Like