Auto-create invisible subpages

Hi Folks. Do you habe any suggestions how to solve the following requirement?
I have a subfolder (page not visible in the nav) on the root level of a website. Inside is a text file with a simple “header”/“text” (kirbytext) - structure. I´d love to define variants of some words and let Kirby auto-create pages from that. For example:

Headline:
This is a awesome|great|wonderful headline

Text:
Lorem ipsum foo1|foo2|foo3 dolor sit amet.

URL:
/awesome|great|wonderful-foo1|foo2|foo3

Thanks, your kind help is very much appreciated. Cheer Dennis

I’d use a panel.page.update hook, some regex voodoo and the $pages->create() method.