The bot should respond, when the user query matches with an intent in any stories

Irrespective of any stories, if the user query matches any intent, the desired action should be called. Yes, rule can be a solution, But we can’t add thousand’s of such intent and action combination to respond. So please let me know the solution to achieve this.through some other way.