Skip to main content
When a campaign or trigger reaches an email or SMS step, Pocketflows runs a series of checks against the customer before sending. If any check fails, the message is either skipped or delayed until conditions are met. For how to record a customer’s consent, see Respect customer consent.

Every message

Before any step runs, the customer’s run through the campaign or trigger ends if:
  • The customer unsubscribed from future campaigns. Their unsubscribed value is future.
  • The customer unsubscribed from this campaign or trigger.

Email

Skipped

An email step will be skipped if any of the following are true:
  • Hard bounce on file. A previous attempt to email this customer resulted in a hard bounce (e.g. the address does not exist or was permanently rejected by the provider).
  • No email address. The customer’s email address is blank.
  • Email validated as invalid. A prior validation check flagged the address as invalid (e.g. malformed address or non-existent domain).

Delayed

  • Outside the preferred sending window. If the campaign has a preferred sending window configured and the current time falls outside of it, the email will be rescheduled for the next time the window opens.
  • A personalization variable has no value. The message is retried about once a day and abandoned after 5 attempts. See Personalization variables.

SMS

Skipped

An SMS step will be skipped if any of the following are true:
  • No phone number. The customer’s phone number is blank.
  • Unsubscribed from the sending number. The customer replied STOP to the phone number sending the message, so that number has them on its unsubscribe list.
  • A number the sending number can’t text. The customer’s number is in a country the sending number doesn’t support.
  • Rejected by the carrier. The carrier refused the message because the number is invalid, unreachable, a landline, in a region that isn’t enabled, or has opted out with the carrier. An opt-out with the carrier also adds the customer to the sending number’s unsubscribe list.

Delayed

  • Outside the preferred sending window. Same as email — if the current time falls outside the configured sending window, the SMS will be rescheduled.
  • A personalization variable has no value. Same as email.

One-off sends

Sending a template directly, with POST /email_templates/:id/send or POST /sms_templates/:id/send, doesn’t run the checks above, apart from refusing an SMS to a number that replied STOP to the sending number. The message goes to the address or number you give, so check consent before you call these endpoints. A missing personalization variable fails the request with 422 rather than being retried. See Send a single email.