get payload as reference in  connect action