---
title: CIAM Plus With Protect - Account Recovery - Email - Main Flow
description: The CIAM Plus With Protect - Account Recovery - Email - Main Flow lets users recover a lost account using the CIAM Plus With Protect - Account Recovery - Email - Subflow.
component: pingone-solutions
page_id: pingone-solutions:pingone-customers-plus:flow_reference/ciam_plus_ciam_account_recovery_email_main
canonical_url: https://docs.pingidentity.com/pingone-solutions/pingone-customers-plus/flow_reference/ciam_plus_ciam_account_recovery_email_main.html
revdate: June 28, 2024
section_ids:
  purpose: Purpose
  structure: Structure
  input-schema: Input schema
  output-schema: Output schema
  variables-and-parameters: Variables and parameters
---

# CIAM Plus With Protect - Account Recovery - Email - Main Flow

The CIAM Plus With Protect - Account Recovery - Email - Main Flow lets users recover a lost account using the CIAM Plus With Protect - Account Recovery - Email - Subflow.

## Purpose

The **CIAM Plus With Protect - Account Recovery - Email - Main Flow** lets users recover a lost account by invoking the **CIAM Plus With Protect - Account Recovery - Email - Subflow**, then directs the user to the **CIAM Plus With Protect - SignOn - Subflow**.

## Structure

This flow is divided into sections using teleport nodes:

* **Flow Configuration**

  Uses function nodes to set variables, then progresses to the **Call For Account Recovery Sub-Flow And Offer Sign On Page** section.

* **Call For Account Recovery Sub-Flow And Offer Sign On Page**

  A function node confirms that account recovery is enabled, then a hidden HTML node activates relevant CSS files. The flow then invokes the **CIAM Plus With Protect - Account Recovery - Email - Subflow**, followed by the **CIAM Plus With Protect - SignOn - Subflow**. The flow then progresses to the **Return Success** section.

* **Return Success**

  Sends a success JSON response, indicating that the flow completed successfully.

* **Return Error**

  Sends an error JSON response, indicating that the flow completed unsuccessfully.

## Input schema

This flow has no inputs.

## Output schema

This flow has no outputs.

## Variables and parameters

This flow uses the following variable or parameter values:

| Variable name                 | Parameter name | Description                                                                                                                                                                                                                                                                                                      |
| ----------------------------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ciam_logoStyle`              | None           | The HTML style to use for your company logo.This value is only used when the flow is launched with a redirect.                                                                                                                                                                                                   |
| `ciam_resendOtpLimit`         | None           | The maximum number of times a user can resend a one-time passcode (OTP) *(tooltip: \<div class="paragraph">&#xA;\<p>A passcode valid for only one sign-on or transaction on a computer system or other digital device. Also known as a one-time password, one-time PIN, or dynamic password.\</p>&#xA;\</div>)*. |
| `ciam_recoveryLimit`          | None           | The maximum number of times a user can attempt to recover an account.                                                                                                                                                                                                                                            |
| `ciam_logoUrl`                | None           | The URL for your company logo.This value is only used when the flow is launched with a redirect.                                                                                                                                                                                                                 |
| `ciam_companyName`            | None           | Displays the name of your company.This value is only used when the flow is launched with a redirect.                                                                                                                                                                                                             |
| `ciam_accountRecoveryEnabled` | None           | Indicates whether account recovery is enabled.                                                                                                                                                                                                                                                                   |
| `p1RiskPolicyIdAuthZ`         | None           | The PingOne risk policy ID to use for authorization.                                                                                                                                                                                                                                                             |
| `p1RiskPolicyIdAuthn`         | None           | The PingOne risk policy ID to use for authentication.                                                                                                                                                                                                                                                            |
| `p1RiskPolicyIdReg`           | None           | The PingOne risk policy ID to use for registration.                                                                                                                                                                                                                                                              |
| `p1RiskPolicyIdAR`            | None           | The PingOne risk policy ID to use for account recovery.                                                                                                                                                                                                                                                          |
| `p1MFAPolicyId`               | None           | The ID of the PingOne MFA policy to use in the flow.                                                                                                                                                                                                                                                             |
| `flowCompanyLogo`             | None           | The URL for your company logo.                                                                                                                                                                                                                                                                                   |
| `p1AgreementId`               | None           | The ID of the agreement to present to users.                                                                                                                                                                                                                                                                     |
