It sounds like the workflow has to do the reverse of whatever step 2 & 3 are doing. If you share screenshots of those actions, I might be able to help you.
I would guess that step 2 is adding a like to that topic (either by count or add the user to a list of people who liked it) and step 3 is adding this topic to the list of liked topics for that user.