Only when the action is irreversible and the user would notice it went wrong. Everywhere else a confirmation is either useless or actively expensive.
Confirmation dialogs are not a safety feature, they are a budget. Every unnecessary "are you sure" teaches the user that dialogs are furniture, and you pay for that lesson at the one moment the dialog was the only thing standing between somebody and something they cannot undo.
So the useful question is where to spend it, and that runs on two axes.
The two axes
Reversibility. If this turns out wrong, what does it take to get back? Not whether it is theoretically reversible, which is nearly always yes given enough support tickets. What it actually costs the user in actions, time, and dignity.
Visibility. Would a normal user notice it went wrong, without being told, in the course of normal use? Not whether it is visible in principle. Whether they would catch it.
Visibility matters more, and that ordering surprises people. A reversible mistake nobody notices does not get reversed.
HIGH VISIBILITY LOW VISIBILITY
REVERSIBLE Q1: Let it run Q2: Surface it
IRREVERSIBLE Q3: Confirm Q4: Do not automate
Q1, reversible and visible: let it run
The user will see it and can fix it. No confirmation, no interstitial. Do the thing.
What the interface owes is an undo at least as cheap as the action, placed where the result appears rather than filed in a menu. The mistake is adding a dialog because it feels responsible.
Q2, reversible and invisible: surface it first
The most under-designed quadrant in AI products, and the source of the complaint that arrives four months after launch: I did not know it was doing that.
Design work here is disclosure. Reversal is already cheap, and the only problem is that nobody knows there is anything to reverse. So the interface owes a visible account of what happened in a place the user actually goes, a summary at the next session start if it happened while they were away, and the undo attached to that account.
And the mistake is logging it somewhere technically accessible and calling that transparency. An audit trail nobody opens counts as a record and nothing more.
Q3, irreversible and visible: confirm properly
Confirmation earns its keep here and only here, which is exactly why it has to be good.
State what will happen in specifics, including count and scope. Name what will not be recoverable. For a large or unusual scope, show a sample of what is affected. Make the confirming action proportionate to the stakes.
Then the constraint most teams break. A confirmation cannot be the first time the user learns what the system already did. That is a notification with a button, and users read it as a fait accompli because it is one.
Q4, irreversible and invisible: do not automate it
Cannot be undone, will not be noticed. There is no interface that makes this acceptable, and a better-written warning does not change the quadrant. Warnings do not create visibility after the fact.
A human stays in the loop or the feature does not ship in this form. The moves available: make it reversible, which puts it in Q2. Make it visible, which puts it in Q3. Cut the scope until it becomes one of those. Or leave it manual.
Every product I have seen run this audit finds at least one Q4 action running autonomously, usually added late by a well-meaning person to save a step.
Plot your surface
List every action the product takes on its own. Reversible, yes or no. Would the user notice, yes or no. Quadrant, current posture, does the posture match.
Mismatches are the finding. Q1 actions carrying Q3 ceremony means you are slowing people down for nothing and training the click-through habit. Q4 actions running autonomously get fixed first, and have that conversation with the person who built it rather than about them.
Twenty minutes, a whiteboard, four boxes. The full grid with the posture and the specific mistake per quadrant is The Exposure Grid, and the argument is in Downside Exposure for Interfaces.