Export & import

How to fix duplicate action name errors on import

A duplicate action name error means the package contains two or more internal Power Automate action keys with the same final name. That is a packaging issue, not a business-logic issue in the source workflow.

7 min readUpdated Apr 3, 2026import errorduplicate namesexport review
Quick answer
In shortResolve 'The template action names must be unique' errors by re-exporting after the naming review pass and checking deep branches for collisions.
Most likely causeDeeply nested branches can produce very similar action stems, especially when the exporter shortens long prefixes. If two branches shorten to the same final key, Power Automate rejects the package even though the visible logic looks fine.
What to do nextMake the fix, generate a new package, and import the new ZIP instead of retrying the old one.

Why this happens

Deeply nested branches can produce very similar action stems, especially when the exporter shortens long prefixes. If two branches shorten to the same final key, Power Automate rejects the package even though the visible logic looks fine.

This is common in workflows with repeated if/else branches, repeated hold-processing patterns, or repeated child scopes with the same step label.

The template action names must be unique: actions 'Commit_pending_changes' are declared multiple times.

What the review pass should do

The clean fix is a final export review pass that checks for duplicate action keys before the ZIP is generated. If duplicates remain, the exporter should keep the readable base name and add a simple numeric suffix like _2 or _3 instead of a random-looking hash.

That keeps names cleaner for the user while still making the package valid for import.

  • Readable base action name preserved
  • Simple numeric suffix only when needed
  • Second validation pass before packaging

What to do when you see it

Re-export with the latest naming review logic rather than trying to fix the ZIP by hand. If the same workflow still throws the error after re-export, the next place to look is a deep repeated branch where two actions still collapse to the same final stem.

The key point is that this is usually fixable in export generation. It rarely means the workflow itself cannot be converted.

Related articles

Keep reading the next most relevant guides for this workflow pattern.