Hi Daniel!
Your client action will comunicate with the server (OS Platform) calling the server action responsible to invoke the REST Service (Integration).
Like this:
Client App --- > Outsystems Server (Backend) ---> External Service (REST Integration)
Regards,
Tiago Resende