Password Reset Handler Flow
  • 31 Jul 2023
  • 1 Minute to read
  • Dark
    Light

Password Reset Handler Flow

  • Dark
    Light

Article Summary

Overview

The password for created accounts can be reset through a Flow using the Forgot Password link on the login page. However, the user will need to enable this feature. This is done by enabling Password Reset Communication via Flow in the Portal Settings. Once enabled, users will need to select a or create Password Reset Communication Flow Handler, which sends communications to an account's associated email address after the change has been made, such as sending the new password through email. 


Password Reset Communication Flow 

The Password Reset Communication Flow is a special Flow with behaviors unlike other Flows. This Flow is designed and intended only for sending messages about the reset of a password. 

When implementing the Flow, note that there are two unique String inputs, AccountId and NewPassword, that can be selected when using the Select From Flow setting on any step. These inputs are used by the Flow to identify and update the password for the account.

Forms do not work within this Flow.


Example 

Below is an example Flow that uses the Password Reset Communication Flow behavior. This Flow will send an email containing the newly updated password to the specified email address for the chosen account. 

  1. Create a new Flow. When creating the Flow, select the Advanced tab and search for the Password Reset Communication Flow Handler.
  2. In the Toolbox panel, expand Integration -> Internal Services -> Account Service and select the GetByID step. For the input, use Select from Flow and choose the AccountId.
  3.  In the Toolbox, expand Communication -> Email and place the Send Email step in the workspace. Configure the inputs for the step, using the outputted account's email address from the GetByID step for the To input.
  4.  Once the steps have been configured, Save and close the Flow.
  5.  In the Portal, open System > Settings and edit Portal Settings.
  6. Under the Login Page Settings header, check Handle Password Reset Communication Via Flow, a picker should appear. Choose the handler flow that was created in the previous steps.

Was this article helpful?