I use the following testing tool. This is not owned or managed by Genesys so I wouldn't use it for anything sensitive.
https://www.javainuse.com/jsonpath
With that I think that this JSONPath does what you want:
$..[?(@.type=='name')].detail
The issue with your jsonpath was that it was trying to find a "name" entry directly under the information object, however the name is actually two levels deep. Switching to .. will let it search through everything, although depending on what you ware working with it could possibly return unwanted results from elsewhere in the response.
------------------------------
--Jason
------------------------------
Original Message:
Sent: 08-04-2025 04:40
From: Luke Mitchell
Subject: Filtering in response template
Thanks both,
I have ended up pulling all the information into Architect and then manipulating it
------------------------------
Luke Mitchell
Genesys Practice Manager
Connect
https://weconnect.tech
------------------------------
Original Message:
Sent: 08-04-2025 02:29
From: Christoph Domaschke
Subject: Filtering in response template
Hi Luke,
is there an error as response and if so, what is the error message?
Best regards
Christoph
------------------------------
Christoph Domaschke
Leiter Service Center (Cronbank)