I’d recommend learning about JSON responses from OpenAI
Some ideas are at Help Needed: Structuring Website Form Data into a JSON Array - #2 by drnic
For example the OpenAI module “Transform Text to Structure Data”. Then you’ll have nice make objects you can pull data from.