
Hello,
I am incredibly sorry to hear you are dealing with this. Experiencing a wiped canvas can be highly frustrating, especially when it happens repeatedly.
The good news is that because you can still see the successful data in your Previous Runs / Run History, your flow's logic is not completely gone—it is still cached in the Azure backend. The issue you are facing is likely a modern canvas rendering desync bug or an uncommitted solution layer conflict.
Here are the definitive steps to attempt a recovery and prevent this from happening again:
Since the version history fails to show the canvas, you can force the Power Automate/Copilot backend to clone a working instance from a successful historical run:
If you are working within a Managed/Unmanaged Solution ecosystem, a "wiped clean" canvas usually means an unmanaged customization layer was deleted or overwritten by a failed publishing attempt.
Copilot Studio heavily caches XAML/JSON canvas components in the browser's LocalStorage. If a test run crashes midway, the browser cache can render a completely blank canvas even though the cloud definition is intact.
This occurs when there is a schema mismatch between Copilot Studio's calling action and the input parameters expected by the underlying Power Automate flow. When you hit "Test," if the payload format fails abruptly before the execution handshake completes, the Studio editor sometimes fails to re-render the state tree, resulting in a blank visual canvas.
Recommendation: Moving forward, always ensure you hit Save explicitly in the top right corner before clicking the "Test" button to commit your canvas layout to the cloud database.
Please try the Run History > Save As method first, as it is the most reliable way to extract your lost logic. Let us know if you manage to restore it!
Best regards,