How can I import a model from a script?

I’m making an asset conversion pipeline and I’ve found that I have to use a unity script (C#)

The proces will involve getting a filename from redis, importing the file, and exporting it again in proprietary format using a unitypackage provided to me.

I don’y know how to do any of these steps, but right now I’m working on the importing. I know I can just drag .blend files into unity and it works fine, but how do I do it from a script?

I discovered that unity will just automatically import anything you copy into the asset folder so I don’t even have to do this part within unity.

I had a look at that class though. AssetDatabase.ImportAsset seems to have no effect. Oh well. dodged that bullet.