The subject of a sentence can never be within a prepositional phrase (in a 'for' clause).

Your tenses also don't sound natural. To invite someone to something and to prompt something are...