Nodes/comfyui-nodes/NS Structured Prompt List
ComfyUI Node

NS Structured Prompt List

Parses a JSON string and emits two parallel STRING lists (prompts and filename_prefixes) so the downstream graph runs once per item. - **items_path**: dotted JSON path to the array. Default `items` matches `{"items": [...]}`. Leave empty if the JSON root is already an array. - **prompt_field** / **filename_field**: keys to extract from each item. Strips ```json fences if the upstream LLM wrapped its output. Raises a clear error if the JSON is malformed or the fields/path don't resolve.

By symbiotica-ai·Created 5 months ago·Updated 7 days ago· 1
NS Structured Prompt List
    • prompts
    • filename_prefixes
    • count
    json_string
    items_pathitems
    prompt_fieldprompt
    filename_fieldfilename_prefix
    Categoryneuralsins/Utils

    Inputs (4)

    NameTypeDefaultDescription
    json_stringSTRING
    items_pathSTRINGitems
    prompt_fieldSTRINGprompt
    filename_fieldSTRINGfilename_prefix

    Outputs (3)

    NameTypeDescription
    promptsSTRING
    filename_prefixesSTRING
    countINT