Breakdown of Había pensado llamarte, pero se me olvidó.
pero
but
llamar
to call
me
to me / myself (reflexive) / me (direct object)
te
to you / yourself (reflexive) / you (direct object)
Questions & Answers about Había pensado llamarte, pero se me olvidó.
Why is había pensado translated as "I had planned" instead of "I had thought"?
When the verb pensar is followed directly by an infinitive like llamarte, it takes on the meaning of "to intend" or "to plan" to do something. If you specifically wanted to say you were thinking about an action, you would use pensar en instead.
Why is there no preposition between pensado and llamarte?
Unlike English where we say "plan to call", the Spanish verb pensar connects directly to the following infinitive when expressing an intention. You do not use a preposition like a or de between them.
Why use se me olvidó instead of just saying lo olvidé?
The structure se me olvidó uses what is known as the accidental "se" or "no-fault" construction, translating roughly to "it forgot itself to me." Native speakers in Spain strongly prefer this for accidents because it deflects blame, making it sound like a spontaneous memory slip rather than your direct fault.
If I am the one who forgot, why is the verb olvidó in the third-person singular (he/she/it) form?
In the se me olvidó structure, you are not the grammatical subject doing the forgetting. The subject is the unstated "it" (the act of calling), which is why the verb is conjugated as olvidó. The indirect object pronoun me just tells us who was affected by this forgotten idea.