Hi, is it possible for batch job to talk to a service nomad job?

Hi, I have a batch job in nomad, which basically performs an adhoc action and has to talk to different services to get data and perform actions. The different services are also deployed on nomad.

How can I achieve this? For service to service communication we are using sidecar proxy, I tried using the same for this scenario as well and it does not seem to be working. Can you please help? And give me an example config if possible? Thanks in advance.