I don’t know how to use Python, but I found this thread:
Would there be a way to incorporate this into the workflow above?