Concept
A fallback greeting is the safe default that prevents the first turn from feeling broken. Fallbacks are needed because startup conditions can fail, channel metadata can be absent, and some delivery contracts suppress proactive startup messages. In ABL, a top-levelON_START RESPOND can act as the fallback when branches do not match. If there is no ON_START, the first flow step can be the greeting.
Minimal working example
How it works
The runtime evaluates the branch. If the language is French, the branch response is selected. If it is not French, the top-level response is used. Because the top-level response is a fallback prelude, the flow can continue intoready.
Common variations
Start without ON_START
Use the first flow step as the greeting when the channel or product experience should not send proactive content.Verification
Test a matching branch, a non-matching branch, and a session withoutON_START. Confirm every path produces a clear first customer-facing response. In traces, branch misses should not cause an error when a top-level fallback exists.
Common mistakes
Troubleshooting
If no greeting appears, confirm whether the channel suppresses startup payloads. If a malformed branch condition is present, the runtime falls back instead of selecting the broken branch; inspect traces for branch diagnostics.Production readiness checklist
- Always define a generic startup or first-flow fallback.
- Keep fallback copy broad enough for unknown users.
- Avoid sensitive personalization in fallback messages.
- Test branch miss and missing-context cases.
- Confirm the no-
ON_STARTpath still has a useful first flow step.