Which pilot (pilot flying, pilot monitoring) handles CPDLC (operates CPDLC interface)?
With most airlines, the PM(pilot monitoring) handles datalink communication, with confirmation from the PF(pilot flying) before executing any  instructions, clearances, or changes. 

As with everything, there might be some exceptions at some airlines.