A flow:
with details:
would split a PDF into each Page
feel free to adapt and set the needed Variables value