LogoLogo
Back to studio
  • 🧠Core Concepts
    • Introduction to Formsort
    • Formsort quickstart guides
      • Add content and collect answers
      • Capture demographic data
      • Add informational content
      • Template your variables
      • Add conditional logic
      • Using conditional logic with Calculated and API variables
      • Add a scheduling option
      • End the flow
      • Review your variable schema
      • Set up integrations
    • How data works in Formsort
      • Responder UUIDs
    • Understanding flows
    • Versioning in Formsort (Deploying)
      • Variant revisions
      • Managing revisions
  • ✨Creating Flows
    • Building a new flow
      • Groups
      • Steps
      • Copy-pasting form content
  • Adding questions and content
    • Questions
      • Select
      • Text
      • Address
      • Comparison
      • Confirmation
      • Date
      • Date & time
      • Email address
      • File upload
      • Grid choice
      • Iframe
      • Image upload
      • Number
      • Payment
      • Phone number
      • Postal code
      • Question group
      • Region
      • Signature
      • SSN
      • Yes/No
    • Content
      • Statement
      • Image
      • Next button
      • Video
      • Divider
      • Map
  • Controlling the flow with conditions and logic
    • Advanced logic
  • Variable templating
  • Redirects and endings
  • Field validation
  • Flow and variant management
  • Content library
  • 🧬JSON Form Definition
  • JSON schemas
  • Validating flow schemas
  • Events subscriptions
  • Flow content data format
  • 🎨Styling
    • Customizing appearance
      • Content area & form layout
      • Buttons
      • Typography
      • UI states
      • Color and dimension variables
      • Question containers
      • Inputs and dropdowns
      • Checkmarks
      • Tables
      • Sliders
      • Divider lines
      • Progress bar
      • Comparison cards
      • Animations and transitions
  • CSS & Advanced Styling
    • Custom CSS overrides
    • Step styling
    • CSS reference
  • 🔁Form Behavior Settings
    • Variant settings
      • Form behavior for returning users
      • Group ranking API
    • Navigation sidebar
  • ⚙️Response Data Collection & Management
    • Schema (variables)
      • Variables from questions
      • Externally provided variables
      • Calculated variables
      • API lookups
      • System Library variables
      • Orphaned variables
  • Saving & retrieving responses
  • Importing Data
    • URL parameters
    • POST body
    • Embed query parameters
  • 📊Analytics and Attribution
    • Built-in analytics
    • Split testing
  • 🚀Publishing and Deployment
    • Live preview overview
    • Environments
      • Loading different environments
    • Embedding
      • Web-embed API
        • React-embed
      • Adding authentication
      • Embedding forms in iOS and Android
      • Setting up a dev environment
    • Pre-deployment checklist
  • 📁Workspace Management
    • Accounts
      • Roles and permissions
    • Custom domains
    • Workspace domain detection
  • 🛠️Formsort Admin API
    • Admin API
  • 🔌Integrations
    • Form answers and events
      • Analytics events
      • Signed requests
      • Event payload shape
      • Submission frequencies
      • Runtime error reporting
    • Integration reference
      • Amplitude
        • Amplitude cross domain tracking
      • BigQuery
      • FullStory
      • Google Analytics
        • Updating from Universal Analytics to GA4
      • Google Cloud Storage
      • Google Sheets
      • Google Tag Manager (GTM)
        • JavaScript triggered by flow events
      • Hubspot
      • Jornaya
      • Optimizely
      • PostgreSQL
      • Redshift
      • Rudderstack
      • S3
      • Salesforce
      • Segment
        • Segment Setup
        • Segment cross domain tracking
      • Stripe
      • TrustedForm
      • Webhooks
        • Zapier
Powered by GitBook
On this page
  • Redirects
  • Configuring Redirect Behavior
  • Redirecting into Formsort
  • Accessing the expected redirect URL as an answer
  • Endings

Was this helpful?

Redirects and endings

PreviousVariable templatingNextField validation

Last updated 10 days ago

Was this helpful?

Redirects and Endings determine what happens when a responder reaches the end of a form—or any point within the flow where redirection is appropriate. Redirects can be configured globally (at the end of the flow) or locally (at a specific step), and both options support conditional logic for personalized experiences.

Redirects

Redirecting users is essential for connecting multiple applications or flows, and Formsort offers flexible options to support complex navigation logic.

Types of Redirects

1. Global (Default) Redirects Set in the Endings group of the Content Editor, default redirects occur when a responder reaches the end of a form without triggering any earlier step-level redirects.

  • If no default redirect is configured, the responder will see a plain confirmation screen with optional text.

2. Step-Level Redirects Redirects can also be defined on a per-step basis. Select a step and open the Redirect tab to configure.

  • Step-level redirects can only use variables that have been defined by that step.

  • If a step-level redirect has no condition, it will trigger automatically when the step is completed, finalizing the flow.

Redirects always finalize the form, unless configured to open in a new tab.


Configuring Redirect Behavior

Open redirect in new tab?

If enabled, the redirect will open in a new browser tab. This is useful when linking to a supplemental page (e.g., terms and conditions) without finalizing the form.

Adding query parameters to redirect URLs

You can append query parameters to any redirect URL using the standard format:

https://redirect-out-url.com?item1=value1&key2=value2

To pass values collected during the flow, use templating syntax:

https://redirect-url.com?email={{responder_email}}

Fallback values

When using templated variables, it is recommended to specify fallback values to avoid broken redirects if the variable is not defined at runtime.


Redirecting into Formsort

Formsort supports redirection into a flow with data passed via URL parameters.

Example:

https://flow.formsort.com/client/acme/flow/signup/variant/default/?utm_source=google
  • Define the external variable in your flow schema (e.g., utm_source) so Formsort knows to bind the incoming value.

  • Formsort will automatically ingest and assign the value to the matching variable.

An external variable does not need to be created for answers that are already created in questions.


Accessing the expected redirect URL as an answer

This is useful if you want to:

  • Display the expected redirect URL to the user

  • Include it in a submission payload

  • Log it for analytics purposes


Endings

The Endings group is a default, non-removable section at the end of every flow. It serves two primary purposes:

1. Configure Default Redirects

From the Endings group, define the default behavior when a responder completes the form:

  • One or more conditional redirects using form logic

  • A single unconditional redirect for all users

These act as a fallback if no step-level redirect has been triggered earlier in the flow.

2. Display Confirmation Text

If no redirect is configured, you may provide a simple confirmation message to be shown as the final screen.

  • The screen is unstyled and cannot be customized.

  • Use only if you have no destination to send users to or wish to keep the experience minimal.

⚠️ We generally recommend using a styled last step or redirect URL instead of plainconfirmation text for better user experience and branding consistency.

Use to capture data from the incoming URL.

You can reference the current expected redirect URL as a .

external variables
System library answer
Setting a default redirect