Usage

The "Find User" action allows you to search for a user in Google Workspace using their user ID or email address. It retrieves detailed user information based on selected fields, making it ideal for quickly locating users and automating user management tasks like profile updates and verifications.


Fields

  1. Connection- This input establishes the configuration to access your Google Directory, including the necessary authentication credentials and permissions.
  2. ID or Email of User -The identifier used to find the user. You can provide one of the following:
    • Primary Email Address: The main email linked to the user account.
    • Alias Email Address: Any additional email addresses associated with the user.
    • Unique User ID: A specific identifier for the user.

  3. Information to Return -Specifies which details about the user to retrieve. Options include:
    • Domain Public View: Returns information that is visible to the public within your domain.
    • Admin View: Returns detailed user information, accessible only to administrators.
  4. Display custom schemas within the output -you can activate the Display Custom Schemas within the Output option, which will make an additional field appear. Once this option is enabled, a dropdown labeled Select Fields for Custom Schemas to Display in the Output will become available, allowing you to choose specific custom schema fields to include in the output.

Demonstration on how to use it in a flow

  1. Drag and drop "Find User" action into the flow.
  2. Set the name of your choice or let it be as default.
  3. Click the gear icon to open its settings.
  1. Select the connection to your Google Directory that you've previously set up. This grants access to retrieve user details from your Google Workspace.
  2. In the ID or Email of User field, enter the user’s primary email address, alias email address, or unique user ID to identify the user you want to search for.
  3. In the Information to Return field, select whether you want the domain public view or the admin view to retrieve the appropriate level of detail for the user.
  4. If you want to display custom schemas in the output, simply activate the Display Custom Schemas within the Output option. Then, choose the desired custom schema fields from the dropdown list.

Conclusion

The "Find User" action streamlines user management by automating the process of retrieving detailed information about specified users in your Google Workspace. By following the outlined steps, you can easily integrate this action into your workflow, ensuring quick and efficient access to user details for better organization and management.