I need to split up PDFs into individual pages

Many library scanners automatically convert a stack of pages into PDFs, which is fine if you scan everything perfectly, with no thumbs, or misfocusings, and finalize after each book. But I’m not so lucky, and end up coming home with pdfs containing multiple sources that need to be split, edited and so on.

I have an automation workflow that does this using the “Render PDF pages as Images” Action. Is there an equivalent script I could call from Devonthink? Is there a utility that converts automator workflows to Apple scripts?

You can already split a PDF document in DEVONthink.