What is exact meaning of following phrase
what was that did it for you?
I tried to look the definition of do in dictionary but did find anything that match the phrase.
What was it that did it for you?
...then it is at least a proper sentence.
However, without context, it's difficult to tell what might have been meant by "did it for you". There are too many possibilities.