German phrase
Es war schön, mit ~ zu sprechen.
Meaning
It was nice to talk to ___
When to use it
You enjoyed talking to them. It is a polite way to end a conversation.
Example dialogue
Vielen Dank für Ihre Zeit.
Thank you very much for your time.
Es war schön, mit Ihnen zu sprechen.
It was nice to talk to you.