Delete Workflow Skill

Delete Power Automate workflows from Copilot Studio agents with reference validation.

25|8|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/microsoft/Employee-Self-Service-Agent-Developer-Kit --skill delete-workflow-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Delete Workflow Skill
Source: https://github.com/microsoft/Employee-Self-Service-Agent-Developer-Kit/tree/main/solutions/ess-maker-skills/src/skills/workflows/delete
Command: npx skills add https://github.com/microsoft/Employee-Self-Service-Agent-Developer-Kit --skill delete-workflow-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Deleting workflows from Copilot Studio agents carries significant risk of breaking dependent agent topics, forgetting to push changes to the live environment, or accidentally removing critical shared flows. This skill eliminates these risks by guiding you through a fully validated, safe deletion process.

Core Features & Use Cases

  • Reference Validation: Automatically scans all agent topics to identify any that call the target workflow, preventing broken agent functionality after deletion.
  • End-to-End Workflow Removal: Handles both local file deletion and live push to Copilot Studio, ensuring your changes are synced to your production environment.
  • Safety Guardrails: Includes pre-deletion checkpoints, dry run previews of changes, and one-click rollback options to avoid permanent data loss.
  • Use Case: If you have an outdated expense approval workflow that is no longer needed, this skill will guide you through safely removing it, alert you if any topics rely on it, and ensure the change is applied to your live agent.

Quick Start

Use the delete workflow skill to safely remove the unused "Expense Approval" workflow from your Copilot Studio agent without breaking dependent topics.

Frequently Asked Questions about Delete Workflow Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely delete a Power Automate workflow from a Copilot Studio agent?

Safely deleting a Power Automate workflow from a Copilot Studio agent requires automated reference validation to check for dependent topics, pre-deletion checkpoints, and rollback functionality to prevent breaking agent functionality or permanent data loss.

What happens to Copilot Studio topics if I remove a dependent cloud flow?

Removing a dependent cloud flow risks breaking Copilot Studio agent topics that call it. Automated reference validation scans all topics to identify dependencies before deletion, ensuring agent functionality remains intact and preventing broken references.

Can I preview workflow deletion changes before pushing them to a live Copilot Studio environment?

Yes, you can preview workflow deletion changes before pushing to a live Copilot Studio environment by using dry run push previews. This allows you to verify changes to local working copies and live environments before finalizing the deletion.

How do I rollback an accidental workflow deletion in Copilot Studio?

To rollback an accidental workflow deletion in Copilot Studio, use the built-in rollback functionality. This safety guardrail eliminates the risk of permanent workflow loss by allowing you to revert changes after deleting outdated or unused flows.

Does deleting outdated Power Automate workflows affect local working copies and live environments simultaneously?

Deleting outdated Power Automate workflows handles both local file deletion and live push to Copilot Studio environments. This end-to-end removal ensures your local working copies and production environments are synced without leaving obsolete flows.