Troubleshooting
Blank iframe or refuses to display
Section titled “Blank iframe or refuses to display”- Check Salesforce clickjack/CSP settings for your external domain.
- Verify Site URL and
FlowIframeEmbedpage are public. - Confirm parent page is embedding the Site URL (not an internal Salesforce URL).
Flow does not start
Section titled “Flow does not start”flowmust be the API Developer Name, not the flow label.- Confirm the flow is activated.
- Confirm guest user has access to flow resources.
Inputs missing in the flow
Section titled “Inputs missing in the flow”- Include
inputVarswith exact param names. - Names are case-sensitive and must match flow variable API names.
- Values in
paramsare only passed when key is listed ininputVars.
Dynamic height not resizing
Section titled “Dynamic height not resizing”- Ensure FlowIframeEmbed sends
frameHeightmessages. - Set
allowedOrigincorrectly when using widget. - Check browser console for blocked cross-origin
postMessage.
No redirect on completion
Section titled “No redirect on completion”- Use
endUrl(camelCase), notendurl. - Confirm flow reaches
FINISHED. - Ensure
endUrlis a valid absolute HTTPS URL.
Works as admin, fails for public users
Section titled “Works as admin, fails for public users”- Guest profile likely missing VF/flow/object/Apex permissions.
- Re-check Site Guest User Profile page access and flow dependencies.
Integration support: JavaScript widget then Contact support.