Auto fill document template

Is there a way to auto fill a document template (in the old days, we used Filemaker Pro)?