There are many synonyms for the popular phrase "did the trick." Some alternative phrases to use in its place could be "worked like a charm," "did the job," "hit the mark," "got the job done," or "achieved the desired effect." These phrases are commonly used to signify that a certain action or solution was successful and achieved its intended outcome. Whether it is used to describe solving a problem or completing a task, the use of these different phrases can add variety to your language and help you express yourself more creatively.