Function prepareEventActionPayload