1.
just a moment ago; only a short while ago
Refers to a point in time only minutes before the present. つい emphasizes that very little time has passed; 先ほど is a polite word for 'a little while ago.'
つい先ほど帰ってきた。
I got back just a moment ago.
Combines つい ('just; barely') with 先ほど ('a little while ago') to stress that the event happened only minutes before now. More polite and slightly more formal than さっき.
Position in sentence
Appears before the verb or at the start of the sentence.