Multiple Inputs Best Practice

What is the best way to process multiple topics from a file in a loop, performing tasks for each topic and saving the output to separate files named after each topic?

You can use the function crew.kickoff_for_each and your input will be the array. Or you can also use the Flow function where you can listen to each change.

Thank you. This works. How would I pass the topic name on to a task in the crew.py file?