The triggered ability results in three sequential events: you gain some life (subject to effects that might alter life gain), then lose some life (subject to other effects that might alter life loss), and then put the card into your hand.