---
schema_version: "1"
id: e159b82f03c87d6aa1763861eca02e1093662fb4c5292c865b4c2e8dc5d65688
title: Extraction Using Queries for Intelligent Form Reader
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/form_reader_extraction_use_queries.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.form_reader_extraction_use_queries.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bf750d2e9dcb5c4a4d070db8f9927c23dd0e66e25917d274d1d71b22212826c7
description: Enable Amazon Textract Queries to extract information using natural language queries.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Extraction Using Queries for Intelligent Form Reader

Enable Amazon Textract Queries to extract information using natural language queries.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small editions"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Financial Services Cloud, Health Cloud, and Public Sector Solutions</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Intelligent Form Reader is available for an additional cost with the Intelligent Form Reader add-on license.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d546e66">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d546e66 ">To create document types:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d546e66 ">Customize Application</td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-intelligent_form_reader-264-0-0-production-enus/5c32d260-e65d-49ed-b5ec-68e425bb0371/images/icon_note.png)

Note The Maximum Pages and Confidence Score Threshold fields in the global content extraction settings are available only in Health Cloud.

1. From Setup, in the Quick Find box, enter Intelligent Form Reader, and then select **Intelligent Form Reader**.
2. In the Global Content Extraction Settings section, click **Edit Settings**.
3. Enter the maximum number of consecutive pages from the first page of a document that you want to send for content extraction at a time.
    
    The default value for Maximum Pages is 5. If a user selects pages that are already scanned, the pages aren’t counted against the limit.
4. Enable Amazon Textract Queries to extract information using natural language queries, with a limit of 200 characters.
5. Select the Document Type tab.
6. Click **New Document Type**.
7. Enter a name, select the Form Type, and add a description for the document type.
8. In the Queries section, add a new entry containing an alias that serves as a descriptive label displayed in the template and a natural language query that defines the information you want to extract from documents.
    
    Each document type supports up to 15 unique queries.
9. Save your changes.
    
    The Edit Global Content Extraction Settings page opens.
10. Click **Save**.
    
    ![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-intelligent_form_reader-264-0-0-production-enus/5c32d260-e65d-49ed-b5ec-68e425bb0371/images/icon_tip.png)
    
    Tip
    
    - For extracting information from a document, the defined queries for that document type and other enabled Textract APIs (such as Forms and Analyze ID) will be used.
    - When you create a template by using a document type with associated queries, those queries will be executed during data extraction and display their corresponding aliases as document fields.
    - Queries that fail to identify any values within the document will not be displayed as fields in your template.
    - After successful query execution, bounding boxes will highlight the extracted values within the document, rather than the associated query labels.