Two elements are available:
<wizflow-form> for form flows, and <wizflow-chatflow>Key Concepts
Getting Your Snippet
1
Open the Embed page
In the dashboard, go to Embed. It shows your script URL, your embed key, and a
ready-to-paste snippet.
2
Pick the flow
Choose a flow from the dropdown. The snippet and the live preview beside it update to match, so
you can confirm it looks right before copying anything.
3
Copy the complete example
Use Put it together at the bottom of the page to copy the whole snippet at once.
4
Paste it into your site
Drop it into the page where the flow should appear.
The Snippet
- The script loads the widget and lazy loads the elements on demands.
Wizflow.initruns once and points the widget at your Wizflow instance.<wizflow-form>renders the form.
Wizflow.init must run after the script tag, since that is what defines window.Wizflow.
Configuration
Wizflow.init configures the widget for the whole page:
Each element selects its flow:
Chat Flows
<wizflow-chatflow> renders a conversational flow. Same script tag and same Wizflow.init as forms.
Inline
Sits in the page like any other block. Give it a height, since it fills its container:Floating
A launcher button pinned to the corner of the viewport, opening a panel above it. Position the element anywhere, it takes itself out of the flow:Styling the launcher
launcher-icon is rendered at 28x28. Without it the widget uses its own icon. launcher-foreground-color sets the close icon shown while the panel is open.
Several Flows on One Page
CallWizflow.init once, then add as many elements as you need, each with its own flow:
template-key on an element already on the page swaps the widget to that flow.
Adding a flow from JavaScript
For sites that build their markup at runtime:Your Embed Key
The embed key identifies your account to the widget. It is safe to publish: it grants read access to the flows you own and permission to submit responses to them. Find it under Account Settings → Embed key, or at the top of the Embed page. On dedicated deployments your administrator sets the key. The Embed page shows whichever key applies to you.Content Security Policy
If your site sets a Content Security Policy, allow your Wizflow host in both directives:Troubleshooting
Nothing appears where I put the element
Nothing appears where I put the element
Open your browser console. An undefined
Wizflow points at a wrong script URL or a Content
Security Policy blocking it. A clean console usually means Wizflow.init never ran, which
leaves the element empty.Missing or invalid public key
Missing or invalid public key
The key in your snippet has fallen out of sync with your account, usually after a regeneration.
Copy the current key from the Embed page.
Flow not found, or no access to this flow
Flow not found, or no access to this flow
The
template-key does not match a flow on your account. Check it against the dropdown on the
Embed page, which lists the exact keys.A field is missing or misbehaves
A field is missing or misbehaves
File upload fields are unavailable in an embed. Compare against Wizflow’s own preview, and
contact support@wizflow.io if a supported field looks wrong.
The widget looks unstyled or cramped
The widget looks unstyled or cramped
The widget fills its container, so a narrow or zero-height parent squeezes it. Give the
surrounding element a normal block width and let the widget size itself.
Next Steps
Flow Builder Basics
Build the flow you want to embed
Live Pages
Host the whole page on Wizflow instead
Triggers & Automation
Send an email, call a webhook, or generate a PDF on completion
Theme Editor
Style flows hosted on Wizflow

