---
schema_version: "1"
id: 42f2c5b50365f16b47d974cb558b15309934ca9d3213d7c99f9f0be3e43dac64
title: Step 2 - Create Flow to Retrieve File ID from Email Address
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-ae/loan-agent/guides/aes-create-flow-to-retrieve-file-id.md
canonical_url: https://developer.salesforce.com/docs/ai/loan-agent/guide/aes-create-flow-to-retrieve-file-id.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: cc69544397b65e418ff5b10c33153445a5fc687e01a1b6dc9dc04d90907e2e74
products:
  - Loan Prequalification Agent
  - data-ae
---
# Step 2 - Create Flow to Retrieve File ID from Email Address

Create a screen flow to identify the bank statement file from the customer’s email address–with no code. Learn more about [automating tasks with flows](https://help.salesforce.com/s/articleView?id=platform.flow.htm&type=5).

## Create a New Flow

1. On the **App Launcher**, select **Flows**.
2. Click the **New** button to create a new flow.
3. The **New Automation** screen opens. Under **Categories**, find the **Autolaunched Automations** tile.
4. Under **Types**, select **Autolaunched Flow (No Trigger)**.
5. The Flow Builder opens. Continue to add elements to set the actions the flow will execute.

- [Add element to retrieve contact ID from the user's email address](https://developer.salesforce.com/docs/ai/loan-agent/guide/aes-create-flow-element-to-get-contact-id.md).
- [Add element to retrieve the Document ID from Contact ID](https://developer.salesforce.com/docs/ai/loan-agent/guide/aes-create-flow-element-to-get-document-id.md).
