Using Flow to Reset Password

Using Flow to Reset Password

Salesforce Flow is a powerful automation tool that allows admins to create and streamline business processes within the Salesforce platform. It offers endless use cases, enabling organizations to automate and optimize their operations. With Salesforce Flow, it is even possible to build admin processes, empowering both admin and non-admin users to perform these tasks efficiently. For instance, it is possible to reset password for selected users using a custom invocable action.

In this post, you can find an invocable action that lets you reset password for multiple users.

How to Use the Component

1- Install the component using the installation links below.

2- Add a new action to your flow and search for Reset Password, this is the name of the action that you installed.

Reset Password Action

3- This action can reset password for multiple users. Therefore, you should pass the user ids (as a text collection) to userIds input value.

Configuration of Reset Password Action

Example

1- Add a screen with a lookup input component. This lookup component should allow selecting multiple user records.

User Selection

2- Add the Reset Password action and provide the user ids. Lookup component stores the selected records as a text collection. Therefore, you can just provide the output of the lookup component. You can use another selection component like picklist with a record choice set too. In this case, you need to create a text collection and use an assignment to add ids to the collection.

Reset Password Action

At the end, your flow should look like this. This is just a simple flow to show how the action works. Don't forget to add fault paths to your flow!

End of the Flow to Reset Password
Reset Password for Multiple Users

Considerations

  • This action works for external (community) users as well.
  • Although it is a very useful action, you don't want users to reset other users' passwords. Therefore, you should build your flow carefully and give access to specific users only.
  • Make sure that the users are active before passing the ids to the action.

Installation Links

Use this link to install in production or developer edition environments.

Use this link to install in sandbox environments.

This package contains one more action to Set Password for selected users. Click here to read about this action.

9 Comments

  1. This worked great for us! We're using it to set up new employees. This sends them their password reset the morning of their start date using a scheduled path.

    • No, if you run the flow in system context, any user can use it (build the flow carefully because you don't want users to reset each others' passwords).

1 Trackback / Pingback

  1. Using Flow to Set Password - Salesforce Time

Leave a Reply

Your email address will not be published.


*