You can either create an "inline intent" that will only be used by the flow you are adding it. You can also add an intent to your library and re-use it wherever you want.
Although this works perfectly fine, I recommend you to use the AI task to classify what the user is trying to achieve. It's honestly more robust in my opinion 🙂