How to handle the same intent in different stories

I have to story paths like this:

like pets

  • like_pets
    • utter_do_you_like_cats
  • affirm
    • action_send_a_cat_pic

like food

  • like_Italian_food
    • utter_do_you_like_pasta
  • affirm
    • action_send_a_pasta_recipe

I have no idea how to make Rasa detect the correct “affirm” intent. I do appreciate it if anyone can some suggestions.

Thanks again!