Storing responses in DB

At the moment I’m storing the responses/utterances in the domain file but I was wondering what is the best way to go about setting it up so that I could pull responses from a DB? Would I have to create a custom action for every utterance that would fetch and send the message?