When an automation fails
When a run fails, it is recorded on Runs with the reason in plain words, and a notice appears on your Home page. A call that did not go through is not charged.
What you are told
Every run started by a schedule or with Run now leaves a notice on Home when it ends, saying it finished, failed or ran out of time, with the reason for a failure. Notices appear in the app only; nothing is emailed. On Runs, a failed run shows the same reason, and What it bought lists anything it did pay for.
A failure does not pause the automation
PortMula does not yet pause an automation for you after repeated failures. Its schedule keeps firing until you pause it on its page, it reaches its end date or its count of runs, or you use Pause everything in Settings.
Two things do hold an automation for you. If its last transaction was sent and has not yet landed or been ruled out, it will not run again until the network settles which. If your agent's wallet is rekeyed outside PortMula, PortMula pauses its automations and tells you, because it can no longer sign for that wallet.
Some refusals happen before a run begins: the automation or agent is paused, today's runs are used up, a value the automation needs is empty, or more automations are switched on than your plan runs at once. These leave no entry on Runs. Run now shows the reason when you press it; for a schedule, check the automation's page and Settings.
What a failed call costs
A service is paid only after it answers successfully, so a call that fails or is refused is not charged, and Spent counts only calls that settled. If a payment was signed and the service never confirmed the call, the run says it is not known whether the payment went through, rather than guessing. A run whose every paid call was refused is recorded as failed.
If your agent runs out of money mid-run
If the wallet cannot cover a call, the call is refused, nothing is charged, and the agent is told it is short and reports that instead of retrying. Calls already made in that run were paid for and stay listed.
A trade needs the coin it spends, plus ALGO for its network fee and the network's minimum balance. If either is short, the trade is refused before it is built and nothing is charged. A trade that is sent goes through whole on chain or not at all. Add funds on the Wallet page and run it again.