Uplink - Include information obtained from TTN API

I am trying to figure out how to get the modifiable “End device name” of the TTN console included in the uplink message.

With following GET request, I can obtain the “End device name”.

$ curl --location --header "Authorization: Bearer NNSXS.XXXXXXXXX" "https://thethings.example.com/api/v3/applications/app1/devices/dev1?field_mask=name"

I struggle to include an API query in the uplink payload formatter. Any help and indications to analog examples and documentation are highly appreciated.

Closing as an egregious double-post.