[SalesForce] Import to Data Extension even if the CSV file has no rows (and has only header)

An import step of my automation fails. I tried to imitate that import manually and I realized that Salesforce does not continue the import when the file is empty. In my case, my file contains only the header and no rows.

But I do want to overwrite the destination Data Extension even when there are no rows. If the file is empty, I simply would like my Data Extension to be empty, too.

How can I let empty files count as import as well?

Best Answer

In order to do this, you will need to contact SFMC Support and request a business rule "Allow Blank File Processing" to be enabled on your instance.

This allows the import of empty files without halting the process. By default the settings in the backend force a stop on blank imports, but with this business rule enabled it is changed to continue.

Related Topic