notadictionary.com
ハーゲンダッツを食べて元気を出そうと思ったら…
→ “I thought I'd eat some Häagen-Dazs to get my energy back...”
ハーゲンダッツ hā¹gen dattsu = Häagen-Dazs (proper noun, brand name)
を o = object marker particle
食べて tabete = eat (te-form of verb 'to eat')
食 shi = food / eat
べ be = mouth / bite
て te = connective suffix (forms te-form)
元気 genki = energy / health / spirit
元 moto = origin / source
気 ki = spirit / mind / air
を o = object marker particle
出そう dasō¹ = try to bring out / attempt to produce (volitional form of 'to bring out')
出 de = to come out / to bring out
そう sō¹ = volitional ending ('let's/trying to')
と to = quote particle ('thinking that...')
思ったら omottara = when I thought (conditional past of 'to think')
思 omo = think / consider
っ = geminate consonant marker (lengthens previous sound)
た ta = past tense marker
ら ra = conditional suffix ('if/when')
… = ellipsis (implies something unexpected happened next)