Wait for begins the next block

You could just translate the export to excel node to python and tell the python node to run only if it has an input. This input are the elements from the set parameter by name and value node.

The translation can be found in my post here: