I would write it like this: If I had known your telephone number, I would have invited you to the party. If you had come to the party, you would have been welcomed by everybody.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.