You could check if a column is present and use an if switch accordingly
If the data is just empty you could use the empty table switch.
If you have a more complicated scenario you could take inspiration from the no 550 from this example:
And then you could use a try/switch construct for if the import fails. Demonstrated here for a database scenario but could be adapted to imports.