The commit introduces basic validation checks in the `extract_prompts.py` script
to prevent it from crashing when encountering unexpected node formats or missing
parameters. Due to recent experimental changes, the script was previously hanging
because it couldn't find specific nodes. These minor improvements ensure the
script remains functional even when processing non-standard workflows.