# Running reports and reviewing matches

> Run Reports manually or in bulk by CSV, or automatically with a Workflow after an Inquiry completes, then route matches to Inquiry review or a Case.

Source: https://help.withpersona.com/articles/042goubhldtkoKAA6AmiZ/
Section: Reports > Introduction > Key Concepts

## Overview

Persona offers a variety of [Reports](https://help.withpersona.com/reports/#report-service-types), which allow you to supplement the information submitted by an individual via an Inquiry.

This guide covers how you might run reports and subsequently review the reports for potential matches. More specifically, we'll elaborate more on what is covered in [Creating Reports](https://help.withpersona.com/articles/3qGLZYtRNreVNZHxXAZqhw/) and walk you through the most commons ways that organizations set up a process for reviewing their reports for matches including:

- Running a Report manually
  - via manual input
  - via CSV in bulk
  - via other products
- Run a Report automatically
  - via Workflow after Inquiry completes
  - Extend the Workflow to also mark Inquiry for review
  - Extend the Workflow to also create a Case for manual review

ℹ️

The recommended way to <a href="/articles/20fGyKJCYgiR9NMY9nlKkN/">create Reports is through Workflows</a> to ensure that you are programmatically creating them based on pre-defined business logic.

## Run a Report Manually

Running a Report manually is helpful when you only need to run Reports for special cases or on an occasional, ad-hoc basis.

### via Manual Input

You can run a Report manually via the Dashboard using the **Create report** button that is available when navigating to **Reports > All Reports**. After clicking **Create report**, enter the information about a user necessary to create a report from the desired Report template, and check for matches found.

1.  After clicking **Create report**, select the desired Report Template that you'd like to run the report from.

- _Note: This will determine the [Report Type](/articles/hI9YUPxjW7v46pFfyk6J1/ 'Reports Overview') for the report you are trying to create._

2.  Enter the inputs (i.e. the user or entity's details) required to run a report from that Report template.

    ![runofficialreport.gif](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/042goubhldtkokaa6amiz-runofficialreport.gif '1200x666')

ℹ️

If running a report manually, it is recommended to create a report from the specific Account page, if your organization is using the Accounts product. You can do so by navigating to and clicking Create report at the top right. By doing it this way, the Account's information allows you to initially prefills data from the Account as Report inputs for you and automatically attaches the report to the Account when the report is created.

### via CSV in bulk

You can upload a CSV of information (individual names, business names, email addresses, phone numbers, etc.) in a specified format using the **\+ Create report** button, and create reports in bulk. Learn more about the process [here](https://help.withpersona.com/articles/1rzpXVJt1tTpRdhPuhaIkX/).

### via Other products

As mentioned above, you can create additional reports in Accounts or Cases if you want more information on a given person and that person has an Account generated within Persona. Creating reports within Accounts and Cases has the added benefit of attaching it to the object that you are viewing when it is created.

![Runareportaftereachcompletedinquiry.gif](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/createreportinotherproduct.png '2000x272')

## Run a Report Automatically

### Workflow 1: Run Report after Inquiry completes

![createreportinotherproducts.gif](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/042goubhldtkokaa6amiz-runareportaftereachcompletedinquiry.gif '1226x574')

Use the **\+ Create workflow** button to begin automating Report runs. Select the Trigger type as "Event" and Trigger event as `inquiry.completed` to make this Workflow run on each completed Inquiry.

![runreportstepinworkflow.gif](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/runreportstepinworkflow.png '790x1424')

Use the Action Step in the Workflow to add “Run Report”. In this example Workflow, we run a Person Watchlist Report and a PEP Report after every completed Inquiry.

Here is what the completed Workflow looks like:

![Screen_Shot_2022-05-13_at_10.46.53_AM.png](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/042goubhldtkokaa6amiz-screen-shot-2022-05-13-at-10-46-53-am.png '2166x1046')

Publish the Workflow to automate running reports. You can manually check Inquiries to see if they've matched on the Report. Otherwise, you can listen for a `report/watchlist.matched` event via [Webhook](https://docs.withpersona.com/docs/webhooks).

### Workflow 1.1: Mark Inquiry for review if match found

Let's take the above Workflow and extend it. Let’s mark the Inquiry for review if it a Report match is found.

![matchfoundforreview.gif](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/042goubhldtkokaa6amiz-matchfoundforreview.gif '1198x676')

After the action step, add a Conditional Step to the Workflow, and edit the condition for Route 1 to be where report `match_found` equals `true`. Use the dropdown menus to implement this logic.

![markinquiryforreview.gif](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/042goubhldtkokaa6amiz-markinquiryforreview.gif '1222x656')

Next, we add a "Mark Inquiry for Review" Action step under Route 1.

Once the Inquiry is marked for review, you can manually approve or decline the Inquiry from the dashboard. To learn more about the Inquiry review process, see this [tutorial](https://help.withpersona.com/articles/88I8H0eKR6qEh3O2OyXPl/).

Here is what the completed Workflow looks like:

![Screen_Shot_2022-05-13_at_11.01.51_AM.png](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/042goubhldtkokaa6amiz-screen-shot-2022-05-13-at-11-01-51-am.png '2196x1178')

Publish the Workflow to automate running the Report and marking Inquiries for review.

### Workflow 1.2: Create Case if match found

Let's take the above Workflow and extend it again. Let's also create a Case when a Report match is found.

Creating a Case gives you a streamlined experience for reviewing Inquiries that are marked for review, especially at a high volume. Learn more about Cases [here](https://help.withpersona.com/articles/1EJCOF8bL5KRx4pQESw7VB/).

![Screen_Shot_2022-05-11_at_1.46.51_PM.png](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/042goubhldtkokaa6amiz-screen-shot-2022-05-11-at-1-46-51-pm.png '2352x962')

To begin, we create a new Case template from the Dashboard. Use the **Settings** button on the top right to configure Case notifications, statuses, tags, and more. Learn more about creating Case templates [here](https://help.withpersona.com/articles/5WFMyVPjzgXQNljqg2xf4h/).

![casetemplate.gif](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/042goubhldtkokaa6amiz-casetemplate.gif '804x614')

Let's start with where we left off in **Workflow 1.1**. We have an Action Step under "Route 1" to mark the Inquiry for Review.

![createcase.gif](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/042goubhldtkokaa6amiz-createcase.gif '1222x676')

Let's add another Action Step to Route 1 to "Create Case". Select your Case Template. In the Advanced configurations, we can make sure that the Trigger Inquiry is associated with this Case.

Next, add a "Wait Step", which waits for the Case to be resolved through manual review.

After the "Wait Step", add a Conditional to the Workflow. This Conditional should have two routes: to mark the Inquiry as approved or as declined, according to the Case `state`.

- If the Case's state is approved, set the Inquiry status to approved.
- If the Case's state is declined, set the Inquiry status to declined.

Here is what the completed Workflow looks like:

![Screen_Shot_2022-05-13_at_11.15.01_AM.png](https://assets.withpersona.com/f_auto,q_auto/help-center/articles/reports/042goubhldtkokaa6amiz-screen-shot-2022-05-13-at-11-15-01-am.png '2396x1354')

Publish the Workflow to automate running the Report and handling matches found with Cases.
