المقالات متاحة باللغة الإنجليزية.

Endpoint Configurations and Rules

Configure external post-submit endpoints, native live validation, runtime keys, and rule actions without exposing development internals.

Last updated

On this page

Introduction

Endpoint Configurations are advanced flow controls. They let the app validate input while the user is inside the flow, call an external system after final submit, and apply app-side rules to decide what happens next.

Use this area only for flows that need validation, external lookup, dynamic choices, post-submit routing, or automated follow-up. Simple forms can leave most endpoint settings disabled.

Endpoint Configurations

Rules are shown in their own full-width section below Endpoint Configurations. They are not only for endpoint responses. The same rules area is also used for runtime validation and screen behavior.

Post-Submit Handling and the external endpoint URL save together with the main flow Save Changes or Create Flow Form button. There is no separate endpoint save step.

ControlMeaning
ProfileReadonly badge created automatically from the flow name. You do not need to type it manually.
Post-Submit HandlingChoose how the app should treat the external endpoint response after final submit. Apply App Rules to Endpoint Response checks your saved rules. Use Endpoint Response Directly skips post-submit rule evaluation and uses that response directly.
External Post-Submit Endpoint URLOptional URL called after final submit. Use when another business system must return approval, plan, ticket, lead score, or routing data.
Native Meta Live Validation linkVisible beside Launch Mode only when Launch Mode is Runtime Validate. It opens the runtime drawer used for Meta data_exchange validation.
Internal Runtime Endpoint URLReadonly URL used by Meta when Native Meta Live Validation is enabled.
Runtime Private Key (PEM)Private key retained in the app for runtime validation. Only admins responsible for Meta flow setup should manage it.
Regenerate TokenCreates a new runtime token. Existing Meta runtime URL must be updated/re-published after token change.
Verify / Signing CheckChecks readiness for runtime validation such as URL, token, key, and signing prerequisites.

Business Actions

For an external post-submit test, configure an endpoint that returns JSON such as {"status":true} for a new customer and {"status":false} for an existing customer. Set Post-Submit Handling to Apply App Rules to Endpoint Response, create a Post only or Both rule, then match status with true or false and add the follow-up action you want.

ControlHow to use it
Enable business actions for this FlowTurn this on when a final Flow submission should update a contact, assign a Contact Manager category, add a conversation tag, create an internal note, or create an Inbox ticket. When it is off, the normal Inbox message, Flow report, stored media, and existing reply actions continue as before.
Dry Run LatestPreviews the configured actions against the newest Flow submission without changing contact, category, tag, note, or ticket records. Use it before live testing.
Action TypeChoose the business operation. Update Contact Field includes the standard writable contact fields, Set Contact Category assigns an existing Contact Manager category, and Update Contact Custom Field writes to a configured custom field.
Action NameA readable label used in the configured-actions table and execution logs.
OrderControls execution sequence. Lower numbers run first; use distinct values when one action depends on an earlier action.
Source Flow FieldA normal dropdown of fields from the saved Flow and recent submissions. For post-submit endpoint rules, Endpoint response status is also available.
ConditionOptional guard for the action. Equals, Not Equals, and Contains use a condition value. Is Empty and Is Not Empty do not need a value.
OverwriteAllows the action to replace an existing target value. Turn it off when existing contact data should be preserved.
Allow emptyAllows an empty Flow value to be written. Leave it off in most cases so blank answers do not erase useful data.

Rule Concepts

ConceptHow to use it
ActiveTurn this on when the rule should run. Turn it off when you want to keep the rule saved but temporarily inactive.
Do not check later rules if matchedWhen checked, the app stops evaluating lower rules after this rule matches. Use it when one matched rule should be final for that stage. Leave it unchecked when later rules should still run.
Pre onlyRuns during live validation before final submit. Use for inline errors, field validation, and blocking invalid input.
Post onlyRuns after final submit. Use for sending replies, starting next flow, sending templates, or routing based on external response.
BothRuns in both stages. Use only when the rule is intentionally valid in both contexts.
Screen Scope and Skip INITUse Screen Scope when a rule should run only on one screen. Use Skip INIT when validation should not run the moment the screen opens. This keeps common setup out of the condition list.
Final validation rule for this screenTurn this on for the last validation rule of a screen when you want the app to run a success action after that validation passes. Only one final validation rule is allowed per screen.
On Validation SuccessThis section appears only for a final validation rule. Most flows use Go To Screen here so the flow can continue without creating a separate duplicate success rule.
ConditionsUse the grouped selector to choose system fields or screen components instead of typing field names manually. New conditions start from Action by default, and the value input changes automatically based on what you select, such as screen choices, runtime actions, or free text.
ActionsSend Text, Send Template, Start Next Flow, Start Chatbot Flow, Set Field Value, Set Error, Show Message, Block Submit, Go To Screen, or Set Options.
R buttonR opens regex presets when the selected operator uses regex matching.
Add Validation RuleOn supported screen fields, use the validation shortcut button to open the rule drawer with the current screen, Skip INIT, and the selected field already prepared for you.
Quick ValidationUse Quick Validation from screen settings to create or refresh common Required and format checks for all validation-ready fields on the active screen in one pass. Required and format rules are saved separately, the last generated validation rule on the screen can automatically become the final validation rule with a next-screen success action when another screen exists, and re-running Quick Validation updates or removes its own generated rules instead of stacking duplicates.
Duplicate RuleUse Duplicate when a rule is similar to an existing one and only needs a small change.
Delete Selected / Delete All RulesUse the table checkboxes to delete multiple rules together, or use Delete All Rules when you want to clear the current flow rule set completely.
Generated and manual rulesQuick Validation updates its own generated rules instead of duplicating them. If you manually edit a generated rule, it becomes a normal manual rule and future Quick Validation saves will not overwrite it.

Common Examples

Inline email validation:
Stage: Pre only
Condition: email regex ^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$
Action when invalid: Set Error -> target email -> Enter a valid email address.

Post-submit approval routing:
Stage: Post only
Condition: auth_value equals Auth AND plan equals Premium
Action: Start Chatbot Flow -> Premium Support Flow

FAQs & Troubleshooting

Do normal users need to configure runtime keys?

No. Runtime key setup is for admins managing native Meta live validation. Simple flows can use Safe Open and no runtime validation.

What is the difference between Set Error and Send Text?

Set Error is for inline validation inside the flow before submit. Send Text is a WhatsApp message after submit.

Why would I use Final validation rule for this screen?

Use it on the last validation rule of a screen when you want a pass action such as Go To Screen to happen automatically after that validation succeeds. This removes the need for a separate duplicate success rule.

What does action not equal INIT mean?

INIT is the flow open event. A condition like action not equal INIT means the rule should not run on the first open event and should wait for later validation or submit activity.

What do data_exchange, complete, ping, and health_check mean in the Action condition field?

These are runtime event names. data_exchange is the live validation or continue event, complete is final submit, ping is a runtime ping, and health_check is a readiness check. Most business validation rules normally use INIT, data_exchange, or complete only.

Why did Quick Validation skip a rule?

Quick Validation skips detached manual conflicts on purpose. This protects rules that were manually edited after being generated so your custom logic is not overwritten unexpectedly.

What happens when I run Quick Validation again on the same screen?

The app now treats Quick Validation like a refresh for that screen. Generated rules are added, updated, or removed to match the current Quick Validation choices instead of creating duplicate generated rules.

Why do the Integrations changes save with the main flow button?

The Google Sheets integration options are part of the main flow editor now, so they save together with the rest of the flow settings in one submit.

Troubleshooting Checklist

  • If inline validation never runs, confirm Launch Mode is Runtime Validate and Native Meta Live Validation is enabled.
  • If post-submit rules do not run, confirm Post-Submit Handling is set to Apply App Rules to Endpoint Response, then save the flow with the main Save Changes button.
  • If Regenerate Token was clicked, update the flow runtime setup in Meta and republish where required.
  • If Quick Validation does not change a specific rule, open that rule and check whether it was converted into a manual rule after editing.
  • If a Quick Validation setting was unchecked, save Quick Validation again so the matching generated rule is removed from that screen.
Next ArticlePublish, Sync, Clone, Deprecate, and Eligibility