# Email Input

The Email Input module collects a user's email address and can confirm email ownership by sending a one-time password (OTP) to that address.

For an overview of this module and how it works, see [Email Input](https://developer.incode.com/docs/email-input).

## Supported with:

:white_check_mark: Workflows | :white_check_mark: Flows

## Add Email Input to Workflows

1. In the left menu, click **Flow Builder** > **Workflows**.
2. Click **New** or select an existing Workflow.
3. From the Modules list, drag and drop the **Email Input** module into the builder.
4. You can click the three dots > **Edit** on the module node to open the [Configuration Options](#configuration-options) panel and adjust settings as needed.

## Add Email Input to Flows

1. In the left menu, click **Flow Builder** > **Flows**.
2. Click **New** or select an existing Flow.
3. On the **Select Modules** tab, find the **Email Input** module and click **Add**.
4. You can click **Details & Configurations** to open the [Configuration Options](#configuration-options) panel and adjust settings as needed.

## Configuration Options

This section details all the configuration options available for this module. After changing anything, click **Save configurations** before closing the configuration panel.

The options you see in your configuration may differ from those documented below. Contact your Incode representative for more information.

<Accordion title="Expand to view Workflows configuration">
  ![Image of Email Input module configuration in Workflows. Has three configuration options.](https://files.readme.io/0ab08c8e8b6b337896faa0da3aa13e57ef7f94361635997193f4805656007820-image.png)
</Accordion>

<Accordion title="Expand to view Flows configuration">
  ![Image of Email Input module configuration in Flows. Has two configurable options.](https://files.readme.io/65bcab03deb05c9ec40eea7534e67cea331944108403047c041babeb34f83b1f-image.png)
</Accordion>

| Setting                                                     | Description                                                                                                          |
| ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| **_Enable OTP verification_**                               | When enabled, sends a one-time passcode to the user's email address and requires them to enter it before proceeding. |
| **_Expiration duration for OTP (min)_**                     | The number of minutes before an OTP expires. Default: _10_.                                                          |
| **_Skip if email already collected_**<br />_Workflows only_ | When enabled, skips the Email Input module if an email address has already been collected during the session.        |

<br />
