---
title: Choice Collector node
description: The Choice Collector node defines two or more options to present to the user during authentication.
component: auth-node-ref
version: latest
page_id: auth-node-ref::choice-collector
canonical_url: https://docs.pingidentity.com/auth-node-ref/latest/choice-collector.html
keywords: ["Nodes &amp; Trees", "Journeys", "Authentication"]
page_aliases: ["auth-node-choice-collector.adoc"]
superseded_by: https://docs.pingidentity.com/auth-node-ref/latest/choice-collector.html
section_ids:
  example: Example
  availability: Availability
  inputs: Inputs
  dependencies: Dependencies
  configuration: Configuration
  outputs: Outputs
  callbacks: Callbacks
  outcomes: Outcomes
  errors: Errors
---

# Choice Collector node

The Choice Collector node defines two or more options to present to the user during authentication.

## Example

The following example demonstrates using the Choice Collector node in a multi-factor authentication (MFA) journey to provide the user with a choice to receive the one-time password (OTP) via email or SMS:

![MFA journey with Choice Collector node](_images/choice-collector-node-journey.png)

* The [Page node](page.html) containing the [Platform Username node](platform-username.html) and [Platform Password node](platform-password.html) prompts for credentials.

* The [Data Store Decision node](data-store-decision.html) validates the username-password credentials.

* The [HOTP Generator node](hotp-generator.html) generates an eight-digit OTP.

* The [Choice Collector node](choice-collector.html) prompts the user to choose whether they want to receive the OTP via email or SMS.

  * If the user chooses email, the [OTP Email Sender node](otp-email-sender.html) sends the OTP to the user's email address.

  * If the user chooses SMS, the [OTP SMS Sender node](otp-sms-sender.html) sends the OTP to the user's mobile number.

* The [OTP Collector Decision node](otp-collector-decision.html) prompts the user to enter the OTP they received and verifies it. If the OTP is correct, the user is authenticated.

## Availability

| Product                               | Available? |
| ------------------------------------- | ---------- |
| PingOne Advanced Identity Cloud       | Yes        |
| PingAM (self-managed)                 | Yes        |
| Ping Identity Platform (self-managed) | Yes        |

## Inputs

The node can read the `authLevel` and `targetAuthLevel` from the incoming node state if they exist. When present, the node uses them to filter the choices available to the user to ensure only choices that can meet or exceed the `targetAuthLevel` are shown.

## Dependencies

This node has no dependencies.

## Configuration

| Property           | Usage                                                                                                                                                                                                                                                                                                                     |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Choices            | Enter two or more choice strings to display to the user.To remove a choice, select its Delete icon ([icon: times, set=fa]).                                                                                                                                                                                               |
| Default Choice     | Enter the value of the choice to be selected by default.	If you don't specify a default choice, the first choice in the list becomes the default.                                                                                                                                                                         |
| Prompt             | Enter the text to display to the user when presenting the choices.                                                                                                                                                                                                                                                        |
| Field Display Type | The format of the options presented to the user.&#xA;&#xA;This property only displays when the node is placed within a Page node.Possible values are:- `select`

  Lets the user select one or more options from a selection (default).

- `radio`

  Lets the user select a single option from a group of radio buttons. |

## Outputs

This node doesn't change the shared state.

## Callbacks

The node sends a [ChoiceCallback](https://docs.pingidentity.com/pingoneaic/am-authentication/callbacks-interactive.html#ChoiceCallback), which displays the list of Choices to the user and contains the Prompt.

## Outcomes

The Choices configured in the node configuration define the outcomes for this node.

## Errors

This node doesn't log any error or warning messages of its own.
