Every step has an On exception setting that decides what happens when the step fails (for example the WhatsApp message is rejected or the contact has no email address):
| On exception | What happens |
|---|---|
| Stop workflow and keep current state (default) | The run stops on this step with status Failed. You can fix the cause and retry it from this step (11.32). |
| Go to next step | The failure is logged as skipped and the run continues with the step this one connects to. A condition that can’t be checked continues down its FALSE branch, and the run ends if nothing is connected there. |
Use Go to next step only when the rest of the flow still makes sense without this step. A typical case is a "nice to have" tag.
Automatic stop: each failed run increases the workflow’s failure streak, and each completed run resets it. When the streak reaches Stop after consecutive failures (default 3), the workflow is stopped: new events don’t start it, and runs already under way wait where they are. The designer then shows a Workflow Health box with the streak and the reason. Fix the cause, then bring it back online in one of two ways:
- Save and publish a fixed version in the designer.
- When the fix was outside the workflow (a template re-approved, a connection restored, a setting on Instagram), click Bring back online on the Workflow Dashboard, or Bring workflow back online and retry in one of its failed runs (11.32). The streak is cleared and the waiting runs continue.
While the streak is above zero but below the limit, the health shows Broken.
Only real faults count toward the automatic stop. When a customer can’t be reached, or your own account settings block a step, the run stops but the streak doesn’t change. You get a notification instead (Customer and Account Refusals).
Automatic retries: when a step fails for a temporary reason, Peikly retries it by itself before anything counts as a failure. Temporary reasons are: Meta, Instagram, Facebook or WhatsApp answering with a temporary server error, a platform asking to slow down (rate limit), a mail server that is briefly unavailable, or a connection that timed out.
- Temporary errors are retried after about 1, 5, 15 and 60 minutes. Rate limits are retried after about 15 minutes, 1 hour and 3 hours.
- While it waits, the run stays Running, and Last 10 executions shows "retried automatically in … (automatic retry N of M)".
- If the step still fails after the last retry, the run is Failed and you can retry it yourself (11.32). A temporary platform problem never counts toward the automatic stop, so an outage at Meta doesn’t stop your workflows.
- Steps set to Go to next step are not retried; the run continues straight away.
- A wrong setting, a missing template or an expired connection is not temporary. Those fail at once, because retrying would only fail the same way.
- A server restart or update during a step doesn’t fail the run; it continues from that step afterwards.
Customer and Account Refusals #
Some steps fail even though the workflow is built correctly. The customer can’t be reached, a platform rule wasn’t met, or a setting on your own account blocks the step. Peikly treats these as refusals, not faults:
- The run stops on that step (or continues, if On exception is Go to next step). Its message in Last 10 executions ends with "Business outcome, not a workflow fault".
- The failure streak doesn’t change, so refusals never stop a workflow, however many there are.
- The company owner and the person who last saved the workflow get an in-app notification (bell icon). It names the workflow, the step and what to do. You get one notification per workflow and reason every 12 hours; later cases appear only in the run history.
| Refusal | Typical message | What to do |
|---|---|---|
| Instagram blocks connected apps from its messages | (#200) The account owner has disabled access to instagram direct messages | In the Instagram app, on the business account, open Settings and activity → Messages and story replies → Message controls → Connected tools. Turn on Allow access to messages. Until you do, no workflow can send Instagram DMs or private replies. Then retry the runs (example in 11.32) |
| Facebook Page refuses app messages | … disabled access to … messages | Turn messaging on for the Page and check that Peikly still has access to its messages |
| The person can’t receive messages | (#551) This person isn't available right now | Nothing. They restricted who can message them, blocked you, or deleted their account |
| Instagram/Facebook messaging window | The 24-hour reply window … has closed / … allows one private reply per comment, within 7 days | Nothing. Meta’s rules: DM replies within 24 hours of the person’s last message; one private reply per comment, within 7 days |
| The comment is gone | … does not exist | Nothing. The person deleted the comment or post first. A Delete Comment step on a comment that is already gone counts as done |
WhatsApp and email refusals are listed in WhatsApp and Email Refusals. Everything else is a fault and counts toward the automatic stop. Examples: a missing template, an expired Meta connection, a missing permission, or a step that is set up incorrectly.
WhatsApp and Email Refusals #
These WhatsApp and email failures are refusals too (Customer and Account Refusals). They never stop a workflow automatically. The owner and the workflow’s last editor get one notification per workflow and reason every 12 hours.
| Refusal | Typical message | What to do |
|---|---|---|
| WhatsApp opt-out | Not sent: the contact has opted out of WhatsApp messages. or Meta error 131050 | Nothing. The customer asked not to be messaged |
| WhatsApp 24-hour window | Not sent: the WhatsApp customer service window is closed… or Meta error 131047 | Send an approved template instead of plain text |
| WhatsApp number problems | … marked as invalid, Contact does not have a WhatsApp identifier, Meta errors 131026 and 131021 | Correct the number on the contact, or add a Has WhatsApp check before the step |
| WhatsApp marketing limit | Meta error 131049 | Nothing. Meta limits marketing messages per person across all businesses. Try later or use a utility template |
| WhatsApp payment method | Meta error 131042 | Add or fix the payment method of your WhatsApp Business Account in Meta Business Settings |
| Utility update without a template not possible | Not sent: Messages without templates are switched off…, …hasn't enabled…, …limited… or …paused…, Meta errors 131064 and 139200 | Choose a backup template in the step, and check WhatsApp → Messages without templates |
| No email address | Contact does not have an email address. | Add the address, or put a Has Email check before Send Email |
Not refusals (they count toward the automatic stop): a template that was deleted or isn’t approved, no active sending number or mailbox, wrong mailbox settings, template variables that can’t be filled.