Having worked for a couple years for a Canadian company, I will confirm for you: Canada is super-unfriendly about people entering the country to work undisclosed jobs. Canadian customs often seems to start from the presumption that your visit is surreptitiously commercial.
If you give customs a sort of "half-commercial" answer, like "visiting a client" or "giving a talk", it can get worse. I was often given the advice of simply claiming I was there to visit a friend, even when what I was going for was otherwise legit. I've had friends in that same situation turned back at the border.