Anyone recommend a comfyui that lets me iterate through a list/text file to replace part of the prompt?

Example: "A dancing cat, illustrated by {artist}"
Where {artist} will be replaced by the next entry in a csv file or equivalent for each successive image.

Not useful: wildcard where it replaces the variable with a random entry from the list, rather than iterating sequentially.