Option 2 is the only viable option. Option 2 will make sure your entire call is in 1 single transaction. If Truncate is successful and Insert fails, the entire transaction will get rolled back.
Like mentioned by Inaki, is this something that PI should do is definitely up for discussion..
Regards
Bhavesh