"Qui" can work as an object when it is preceded by a preposition like "pour" or "à". In English, it would mean "whom" although everyone says "who" which has become accepted. Example: "C'est la femme à qui je parlais." "That's the woman to whom I was speaking."
I have found that if you can use 'that' in the sentence you need que, and if you can't use 'qui'
Sign in to submit your answer
Don't have an account yet? Join today
Test your French to the CEFR standard