Challenge
By default, Salesforce Flows provide only limited navigation options when a user completes a process. The standard Finish button usually returns the user to the screen where the flow was launched, which may not always align with the business process or user journey.
This creates several problems for administrators and end-users:
-
Lack of flexibility – Users often needed to be redirected to different places (record detail pages, list views, or external URLs), but there was no simple way to control this.
-
Extra clicks – After completing a flow, users had to manually navigate to the correct record or screen, slowing down their workflow.
-
Inconsistent experiences – Different flows behaved differently, leaving users uncertain about what would happen after they clicked Finish.
A more configurable solution was needed to streamline the end of a flow, reduce manual navigation, and deliver a more intuitive experience for users.
Blaze Your Trail's Navaneetha Repaka came up with this solution:
Overview
The Finish Redirect Button is a custom Lightning Web Component (LWC) that improves Salesforce Flows by allowing administrators to control where users are redirected after completing a flow. Instead of relying on the default navigation, this button creates a smoother, more intuitive experience.
Use Cases
-
Redirecting users back to a record detail page after creating or updating a record in a flow.
-
Sending users to an object list view when no specific record context is needed.
-
Directing users to an external or custom URL (e.g., a “Thank You” page on an Experience Cloud site).
-
Providing a more seamless business process flow by replacing the standard Finish button.
How the Solution Works
-
Add the custom LWC button to a Flow screen.
-
In Flow Builder, uncheck “Show Footer” so the default buttons (Next, Previous, Finish) are hidden.
-
Configure the custom button using its available properties.
Configurable Properties
-
API Name – A unique identifier for the component.
-
Label – The button text shown to users (e.g., Finish, Submit, Continue).
-
Object API Name (optional) – Redirects users to the object’s list view.
-
Record Id (optional) – When combined with Object API Name, redirects to the record’s detail page.
-
Redirect URL (optional) – Redirects users to a custom URL (ideal for Experience Cloud pages).
Behaviour
-
Object API Name only → Redirects to the object list view.
-
Object API Name + Record Id → Redirects to the record detail page.
-
Redirect URL only → Redirects directly to the given URL.
Limitation
This button cannot be placed in the Flow footer. To use it:
-
Disable the Flow footer (uncheck “Show Footer”).
-
Place the LWC button directly on the Flow screen.
Conclusion
The Finish Redirect Button solves the problem by giving administrators full control over where users land once a flow is complete. This makes flows feel seamless, reduces manual navigation, and creates a consistent, predictable experience. In turn, it improves efficiency, increases staff confidence, and ensures that business processes finish in the right place — every time.