Preview a Questionnaire
Previewing lets you test a questionnaire before syncing or deploying. Draft questionnaires are loaded directly from the Strapi API.
Typical workflow
Section titled “Typical workflow”- Make changes in Strapi (editing the Draft).
- Click Preview to test.
- Once happy, click Publish.
- Request a content sync (see Request a Content Sync).
- Open your questionnaire in the Strapi admin panel
- Ensure it is saved (draft or published)
- Click the Preview button in the top-right area
- A new browser tab opens with the questionnaire running in the staging app
- Navigate through the flow as an end user would
Preview URL format
Section titled “Preview URL format”The Preview button opens:
https://app.staging.feather-insurance.com/preview-staging/draft/{documentId}The documentId is Strapi’s internal identifier for the entry. You do not need to know it — the Preview button constructs the URL automatically.
What to verify
Section titled “What to verify”- Question order — Questions appear in the sequence defined in the dynamic zone
- Screen text — Titles, descriptions, and button labels render correctly
- Rules — Test different answer paths to verify branching logic
- Required fields — Required questions block progression until answered
- Quote page — Plans, customizations, and content sections display correctly
- Validations — Invalid input shows the configured error message
Draft vs Published workflow
Section titled “Draft vs Published workflow”Since Strapi v5, each CMS document has both a Draft and a Published version.
- The Draft tab is for safely making and previewing changes. Click Save to save as draft.
- Once changes are ready, click Publish to save them to the Published tab.
- The Published tab content can only be viewed, not edited.
- If Draft and Published differ, the document shows as Modified in the Strapi admin list.
- Syncs only fetch content from the Published tab.
Cancellation questionnaire previews
Section titled “Cancellation questionnaire previews”Cancellation questionnaires work differently from standard questionnaires. They depend on policy-specific data (active-until date, withdrawal period, etc.), so the Strapi preview button will not load by default.
For cancellation questionnaires, append your policy ID to the URL:
https://app.staging.feather-insurance.com/preview/{PREVIEW_STATUS}/cancel-policy/{DOCUMENT_ID}/{POLICY_ID}| Parameter | Description |
|---|---|
PREVIEW_STATUS |
draft or published |
DOCUMENT_ID |
The Strapi document ID (visible in the URL when viewing the entry) |
POLICY_ID |
ID of a real staging policy that matches the questionnaire’s vertical, connected to a user account you are logged into on staging |
- Preview works for both draft and published questionnaires
- Changes take effect immediately after saving in Strapi — just refresh the preview tab
- If the preview shows unexpected behavior, check the browser console for errors
- You can share the preview URL with colleagues for review
See also
Section titled “See also”- Preview Routes Reference – all preview URL patterns and parameters
- Syncing and Previewing – full tutorial on the preview-to-sync workflow
- Preview System – how preview fetches and renders draft content