Finish URL
When a user completes the embedded Screen Flow, you can send them to a thank-you page or next step.
Parameter name
Section titled “Parameter name”Use endUrl (camelCase) on the FlowIframeEmbed iframe URL:
https://your-site.force.com/site-prefix/FlowIframeEmbed?flow=Check_In_Dispatch&endUrl=https://yoursite.com/thanksLegacy integrations used endurl (lowercase). FlowIframeEmbed only recognizes endUrl.
Behavior
Section titled “Behavior”- Flow runs inside iframe on your Salesforce Site.
- When Lightning reports
FINISHED, Visualforce setswindow.parent.location.hreftoendUrl. - Entire parent tab/window navigates (not just iframe).
If endUrl is omitted, parent page stays on current URL.
JavaScript widget
Section titled “JavaScript widget”window.tlFlowEmbed = { embedUrl: 'https://your-site.force.com/site-prefix/FlowIframeEmbed', flow: 'Check_In_Dispatch', endUrl: 'https://yoursite.com/thanks'};The widget adds endUrl to iframe query string automatically.
- Use absolute
https://URL. - Confirm flow actually reaches
FINISHED(not paused/faulted). - For demos, see /iframe-finish-demo.