--- title: "Redaction Supervision Demo flow" slug: "redaction-supervision-demo-flow" description: "Use Hyperscience's Redaction Supervision Demo flow to find PII, review it in Supervision, and create redacted, masked, or searchable PDF copies for sharing." updated: 2026-10-14T18:47:32Z published: 2026-10-14T18:47:32Z canonical: "help.hyperscience.ai/redaction-supervision-demo-flow" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.hyperscience.ai/llms.txt > Use this file to discover all available pages before exploring further. # Redaction Supervision Demo flow Use the Redaction Supervision Demo flow to find Personally Identifiable Information (PII) in documents, review the detected information in Supervision, and create redacted or masked PDF copies for sharing. This article explains the flow, its configuration options, and when to use them. ## Understanding redaction and masking **Redaction** replaces sensitive content in the rendered output with an opaque box. When searchable PDF output is enabled, text beneath the box is not included in the new searchable text layer. **Masking** replaces sensitive text with synthetic values. Depending on the entity type, the replacement can preserve characteristics of the original value. For example: - A masked Social Security number can preserve the number of digits and separators. - A masked address can retain components such as a street number, street name, and postal code. - A masked name can retain characteristics such as its length and given-name and surname structure. > [!NOTE] > The flow creates a redacted or masked derivative of the source document > > It does not delete the original document or other processing data. Manage the retention and deletion of source data according to your organization's policies. ### The Redaction Supervision Demo flow The Redaction Supervision Demo flow is a maintained reference implementation. You can use it as a starting point for a redaction workflow and adapt its settings to your requirements. Contact your Hyperscience representative to confirm that you have the latest compatible flow and supporting artifacts. ![](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/image(304).png?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=K%2FobbdhmlAkQcdbbySl1nhCqtrip%2Fkvex5MjchbkDA8%3D) The flow processes each submission in these steps: 1. **Image Correction** – The system rotates and de-skews the pages. 2. **Entity Recognition** – The system locates sensitive information with several detection mechanisms: - **Named Entity Recognition Block (NER)** finds person names, organization names, and addresses. - **Custom Entity Recognition** uses keywords and regular expressions to find values such as Social Security numbers, account numbers, phone numbers, email addresses, dates, and passport numbers. To learn more, see [Entity Recognition Block](/v44/docs/entity-recognition-block). - **Signature** detection finds signatures on the page. 3. **Supervision** – When Manual Identification Supervision is enabled, a reviewer confirms, removes, or adds locations in a Field Identification Task. 4. **Redaction** – The system applies black boxes or synthetic data to the confirmed locations. 5. **Redaction Rendering** – The system creates downloadable PDF output. The PDF can optionally include a hidden searchable text layer. The NER and signature-detection components are ready to use without customer training. Custom Entity Recognition uses the keyword and regular-expression rules configured in the flow. > [!NOTE] > v43.2 or later > > The Redaction Rendering Subflow requires Hyperscience v43.2 or later. ## Key features ### Review detected information Human review is commonly used in high-risk redaction processes. **Manual Identification Supervision** is enabled by default, but you can disable it for workflows that do not require review. Your organization is responsible for determining its review, audit, and regulatory requirements. The flow includes settings that reduce the Average Handling Time (AHT) of redaction tasks: - **Use Single Task Supervision** places all documents in a submission into one Supervision task. This can help reviewers examine case packets in which the same names, addresses, or other values appear across several documents. - **Use Single Field in Supervision** displays all detected entities under one generic field. When the setting is off, fields are separated by entity type. - The current keyboard shortcuts include an action that removes one field occurrence while keeping the reviewer on the same page. The shortcut is **Alt/Option+Shift+X**. Current shortcuts are enabled by default, and users can switch to the legacy shortcuts from the keyboard-shortcuts panel. To learn more, see [Keyboard Shortcuts](/general-information/docs/keyboard-shortcuts). ### Control how content is hidden - **Text Replacement Mode** – Select **Black box** to redact text, or **Replace with synthetic data** to mask it. - **Free-form entity replacement mode** – Select **Black box** or **Blurred overlay** for non-text content, such as photos or logos that a reviewer marks with a free-form bounding box. This setting does not apply to signatures. - **Replacements** – Set a fixed value for an entity type. For example, `{"ssn": {"*": "111-11-1111"}}` masks every Social Security number with the same value. The value adapts to the format of the original, such as its separators. Use this setting when readers must see that a value was masked. - **Skip Entity Types** – List the entity types that the system must not redact or mask. - **Add Watermark** – Marks each redacted document. By default, the watermark shows "Redacted at" and the date and time. You can enter your own text in **Watermark Text**. > [!NOTE] > A blurred overlay might not provide irreversible redaction. > > Use an opaque box when your workflow requires sensitive pixels to be unreadable, and validate the rendered documents before releasing them. ### Create searchable PDF output When you turn on **Searchable PDF Output**, the system adds a hidden text layer to each rendered PDF. You can then search for visible text in tools such as Adobe Acrobat Reader and validate expected redactions. The system generates this text layer from the final redacted page images instead of reusing text segments from the source pages. It runs Hyperscience segmentation and Optical Intelligent Character Recognition (OICR) on those images before creating the PDF. As a result: - Text replaced by an opaque box is not copied from the source page into the searchable text layer. - The generated text geometry can be more precise than text recognition performed by a PDF viewer. > [!NOTE] > Searchable rendering reduces the risk of reintroducing original text through the PDF text layer. > > It does not verify that the selected redaction or masking method has made the visible pixels unreadable. Review the rendered output before sharing it. ## When to use redaction and masking ### Best-fit scenarios | **Scenario** | Example | Recommended settings | | --- | --- | --- | | **Public release of records** | A government agency releases documents for a Freedom of Information Act (FOIA) request. The documents can show the person the request is about, but all third-party PII must be hidden. | **Text Replacement Mode**: **Black box** **Searchable PDF Output**: on **Manual Identification Supervision**: on | | **Case packets about one person** | A state agency processes long court documents, such as child protection or support cases. All documents in the submission relate to the same person. | **Use Single Task Supervision**: on | | **Redaction in a downstream system** | You use Hyperscience to find PII, and another system applies the redaction. That system needs a precise text layer to place its boxes. | **Searchable PDF Output**: on | | **Realistic data for sharing** | You share documents with a third party, and the documents must keep a realistic format without real values. | **Text Replacement Mode**: **Replace with synthetic data** | | **Masking that readers can recognize** | Readers must see at a glance that a value, such as a Social Security number, was masked. | **Replacements**: a fixed value for the entity type | | **Photos, logos, and other non-text content** | Documents include images that can identify a person or an organization. | **Free-form entity replacement mode**: **Black box** or **Blurred overlay** | The flow can also support privacy workflows involving GDPR, legal discovery, HIPAA, or financial information. Using the flow does not by itself establish compliance with a law, regulation, or organizational policy. ### Limitations and considerations - **Language support** – Searchable PDF output supports documents that use Latin script. The system renders other documents without a searchable text layer. Learn more in [Supported Languages](/v44/docs/supported-languages). - **Processing time** – Searchable PDF output runs text segmentation and recognition on every rendered page. This increases processing time, so enable it only when searchable output is required. - **OICR results** – The searchable layer can contain synthetic replacement values and recognition errors. Validate the output before using it in a downstream process. - **Single-task output** – When **Use Single Task Supervision** is enabled, the system creates one PDF containing all pages in the submission. Entity locations that span pages from different source files are not supported. - **Source-data retention** – The flow creates a new rendered document; it does not delete the source document or all intermediate processing data. ## Configuration recommendation The supplied **PII Regex Map** and **PII Keyword Map** contain default entity types and detection rules. Extend these maps when you need additional entity types. Replace or remove default entries only after validating the change against representative documents. ## Using redaction and masking After you import the bundle, configure the flow, deploy it, and process a submission to create a redacted or masked PDF. ### Step 1: Configure redaction and masking 1. Open the flow in **Flow Studio** 2. In **Settings Type**, select **Redaction**. ![Settings menu for redaction flow](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/redaction_settings.png?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=PKNubhuRRVZP7Y476F1%2FErkJu3I%2FHAn%2FkKDemFX5Qf0%3D) 3. In **Text Replacement Mode**, select one of these options: ![Settings for redaction supervision, including text replacement options.](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/redaction-supervision-demo-settings-interface.png?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=NYj5u7zS58jq6VbGh9UVn46kw4dFfoOv5NJY0VJu9hk%3D) - **Black box** – to redact text. - **Replace with synthetic data** – to mask text. 4. In **Free-form entity replacement mode**, select **Black box** or **Blurred overlay**. ![Settings interface for redaction with options for entity replacement and subflow management.](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/entity-replacement-redaction-settings.png?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=ESOEOKsYQtPH7wJ2qxyywqjYZnMYWkslmhhBSzkTLTs%3D) 5. (Optional) Set **Replacements**, **Skip Entity Types**, **Add Watermark**, and **Watermark Text**. 6. Click **Save.** ### Step 2 (optional): Configure the PDF format You can change the format of the rendered PDF in the **Redaction Rendering Subflow**. 1. Open the **Redaction Rendering Subflow**. 2. Select the **Creates a printable file from a list of images** block. 3. Update these settings as needed: ![](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/image(296).png?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=6Gj3Rao8MxujhT3p90cMB1%2FLbo09KnxoF23kQ1MZDtU%3D) - **Format** – The file format of the output, for example, PDF. - **Page Height** and **Page Width** – The page size, in millimeters. The default is 279.4 × 215.9 (US Letter). - **Image Quality** – A higher value keeps more detail but creates a larger file. - **DPI** – The resolution of the page images. The default is 200. - **Use Native Dimensions** – Keeps the original dimensions of each page. - **Output Image Mode** – Keeps the original colors, or converts the pages to grayscale or black and white. Grayscale and black and white create smaller files. ### Step 3: Deploy the flow Deploy the flow to apply your settings. ![](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/image(297).png?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=6NbR3XjTAgNgOl88MV15g%2BVg%2FXtpWyLiHJXRzRZvtvI%3D) ### Step 4: Process a submission 1. Submit a document to the flow. 2. If **Manual Identification Supervision** is enabled, complete the Supervision task. Confirm, remove, or add locations as needed. ### Step 5: Download the redacted document 1. Open the submission. 2. Click **Actions**, and then click **View Transformed Output**. 3. In **Submission Transformed Output**, find `redacted_documents`. It is the first item in the output. 4. Click the link under `redacted_documents` to download the PDF. ![](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/transformed.gif?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=Nfq9MK%2BYsp8E8He%2FyHmGGuE3MAYJ7eTcwG0aHOxGpAc%3D) **Result:** The downloaded PDF shows black boxes or synthetic data in place of the detected information. ![Redacted PDF output](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/image(298).png?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=O07KJeUNwGagTG79pCkjYh609JMie6KRAsb4d216Pq4%3D) *This is an example document created for demonstration purposes only* ### Example results The following examples show the same page processed with each replacement mode and with a watermark. | Mode | Example | Use when | | --- | --- | --- | | **Text Replacement Mode**: **Black box** | ![Form fields with names, dates, and contact details covered by black boxes](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/image(299).png?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=PFppnzb4gu3LCsHqUodC%2BC2uW0qW0ToSh9WJio6bN1M%3D) | The sensitive values must be removed from the document. | | **Text Replacement Mode**: **Replace with synthetic data** | ![Form fields with names, dates, and contact details replaced by synthetic values in the same format](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/image(300).png?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=NV%2FDx8J%2FgE3rYV%2Bv85TzRITyZJ0aj1gfAoUux0%2FytsM%3D) | The document must keep a realistic format without real values. | | **Free-form entity replacement mode**: **Blurred overlay** | ![A logo region covered by a blurred overlay](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/image(303).png?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=QYnA6xL3c2KVysUfko%2FJuI8sGnXusHQ1INjKgFMEbaI%3D) | Non-text content, such as a photo or logo, must be obscured, and an opaque box is not required. | | **Watermark** | ![](https://cdn.us.document360.io/87894cef-4958-4f3f-be6f-b75a78c82548/Images/Documentation/image(302).png?sv=2026-02-06&spr=https&st=2026-11-24T22%3A12%3A59Z&se=2026-11-24T23%3A12%3A59Z&sr=b&sp=r&sig=Zzc7ZZCfSyO6cjMX0asF7RaopMwmJ14QoJCJtZ94NYQ%3D) | Readers must see that the document was redacted | ## Get the Redaction Supervision demo flow The **Redaction Supervision demo** flow is available on demand. Hyperscience supplies it in a bundle containing the compatible flow, supporting artifacts, a preconfigured redaction layout, and the layout release. > [!NOTE] > The preconfigured layout contains fields for common types of information > > The preconfigured layout contains fields, such as name, address, date, company name, email address. You can add or remove fields to meet your organization’s requirements. You can also use the **Redaction** catch-all field to mark any other content or page regions that you want to redact. Before importing the bundle: - Confirm that you are using Hyperscience v43.2 or later. - Make sure that you have the latest compatible version of the flow and its supporting artifacts. - Import the provided redaction layout and release. For help with the current bundle or setup, file a [Support](https://hyperscience.atlassian.net/helpcenter/customer/) ticket. The following walkthrough shows how to configure the Redaction Supervision Demo flow, process a document, and download the redacted PDF: [Embedded content](https://app.storylane.io/demo/vmi34mz5cjaj?embed=inline) How to configure the Redaction Supervision flow, set the redacted PDF format, review detected PII, and download the redacted PDF. Configure the Redaction Supervision flow: Choose how the flow hides PII and set the format of the redacted PDF. Click Edit Flows to enter the Flow Studio. Click the Settings Type drop-down list; each option groups the settings for one part of the flow. Select Redaction to choose how the flow hides PII. In Text Replacement Mode, select Black box to redact text, or Replace with synthetic data to mask it. In Free-form entity replacement mode, select Black box or Blurred overlay to hide photos, logos, and other non-text content. This setting does not apply to signatures. Optionally, set fixed replacement values, list entity types to leave unchanged, and add a watermark to each redacted document. To change how the flow detects PII or how reviewers work, select Entity Recognition or Redaction Supervision. Click Save to apply the changes to the flow, then click Save & Deploy. Click Redaction Rendering Subflow to set the format of the redacted PDF. Configure the Redaction Rendering Subflow: Set the page size, image quality, and color mode of the redacted PDF. Click the "Creates a printable file from a list of images" block to open the PDF settings. Under format and page settings, select the file format and set the page size in millimeters. Select Use Native Dimensions to keep the original size of each page. Under image settings, set Image Quality and DPI to control detail and file size. In Output Image Mode, select grayscale or black and white to create smaller files. Download the redacted PDF: Submit a document, review the detected PII in Supervision, and download the redacted PDF. Click Create Submission to send a document through the Redaction Supervision flow. Drag files to the upload area, or click Browse to select them from your computer. Click Next. Select the Redaction Supervision Demo flow and the Redaction Supervision Layout, then click Upload. The submission appears with the Running status. The flow detects PII and then sends the submission to Supervision for review. Click the Submission ID to open the Submission Output page. The flow creates an Identification Supervision task for the submission. Click Perform Tasks to review, then click Continue (Enter). Pre-Identified Fields lists the PII the flow detected, grouped by entity type. Select an item to see its location on the page. If the flow missed a value, draw a box around it. Select Add another Person Name to mark another occurrence, or Add another text segment if the value continues on another line. When the review is complete, click Confirm All and Continue. The flow then hides the confirmed locations and creates the PDF. Click Submission Overview to return to the submission. When the flow run status is Completed, click the Actions drop-down, select View Transformed Output, and click the link under redacted_documents to download the redacted PDF. Any data that can be used to identify an individual, such as a name, address, or Social Security number. A setting in the Machine Classification Block that identifies and corrects the orientation of page images by automatically rotating them. A component in Hyperscience that automatically identifies and extracts specific types of information—like names, addresses, and organizations—from unstructured text. This block is used in tandem with full-page transcription to process documents containing freeform text. A manual task in Hyperscience where you confirm or correct the location of fields in Semi-structured documents. You can adjust or draw bounding boxes around field values to help your model learn where to look for the data you want to extract. You may need to perform a Field ID task when the machine is not confident enough in its prediction for a field, based on the target accuracy. **Average Handling Time (AHT)** is a metric that represents the average time it takes to process a submission. The value is averaged across multiple documents or submissions within a specific date range. A rectangular subregion of a given page that specifies the location of text to be processed downstream or to be displayed to the user. The process of partitioning an image into regions containing text. It is the first step of downstream processing tasks such as Classification and Transcription. A technology that automatically identifies and converts printed or handwritten text within digital images into machine-encoded text. In Hyperscience, OICR is a key step that enables the platform to extract and work with text during document processing.