They didn't have an actual need for an employee on this specific team. All they were looking for was free consulting on a business problem.
They used the interview process to get free work.
I'd recommend pushing back on the request to solve some task as part of your interview prep. Ask that you solve a more abstract question.
The following metrics were computed from 1 interview experience for the Salesforce Director of Engineering role in San Jose, California.
Salesforce's interview process for their Director of Engineering roles in San Jose, California is extremely selective, failing the vast majority of engineers.
Candidates reported having very negative feelings for Salesforce's Director of Engineering interview process in San Jose, California.