Skip to main content
This template checks a supplier before it is added to the vendor master. It confirms that the Form W-9 is signed and its taxpayer identification number has the right format, that the vendor name agrees across its documents, that its business license and liability insurance are in force on the review date, that the coverage meets a stated minimum, and that the payment account is held in the vendor’s legal name.
Every company, person, number and address in this example is fictional. The Verdict is a reference result, and an Admin makes the final decision.

The situation

Marrowdale Regional Health runs hospitals and clinics and buys services such as linen, cleaning and maintenance from outside vendors. Before a vendor is added to the vendor master and can be paid, the procurement team asks for four documents: a signed Form W-9, the vendor’s business license, a certificate of insurance for its commercial general liability policy, and a bank confirmation letter for the account that receives payments. The Workflow checks that the Form W-9 is signed and the taxpayer identification number has the format of an EIN or an SSN; that the legal name on the Form W-9 is the name on the license, on the insurance certificate and on the bank account; that the business license and the insurance policy are in force on the review date; and that general liability coverage is at least USD 1,000,000 per occurrence. It writes these results into the Output Schema and ends with a decision: approved when every check passed, rejected when a check failed (for example expired insurance), and manual_review in every other case. A procurement Admin decides whether to add the vendor.

At a glance

1. Policy text

In step 2 (Policy definition) of the create screen, paste the text below into Policy text. Replace the sample company name (Marrowdale Regional Health) in the first line and in the business context with yours.

2. Information Checklist

In step 3 of the create screen (Documents to collect, the Information Checklist), add each row below with Add document. You can also leave it empty and add the documents later in Document collection on the edit screen. The column names are the field labels of the Add document form. What it must meet is used to answer the Applicant’s questions. The uploaded documents are checked by the Steps, not against this text.

3. Output Schema

In step 5 of the create screen (Output Schema), paste the JSON below into the JSON Schema input.

4. Steps

The Steps are entered by hand because an analysis runs the Steps (their names, descriptions and engines), not the policy text. After the Steps have answered, the Output Schema is filled from their answers. A field that no Step answer gives stays empty (null). The Steps below name every Output Schema field, say which values to write, and say when the Step is passed, failed or needs review. The Steps that Omni writes from the policy text may not do this, so Output Schema fields can stay empty until you replace them. The Verdict of a Case follows the Steps: rejected when any Step failed, verified when every Step passed, and pending_review otherwise. The last Step, summarize_decision, writes the same outcome into the decision section of the Output Schema. Copy the description into the Description of the Step.

1. extract_vendor_details

2. compare_vendor_names

3. check_business_license

4. check_insurance_coverage

5. check_bank_account

6. summarize_decision

How to build it

1

Start a new Workflow

Open Workflow and select New workflow. In Basic information, enter a Workflow name, for example “Vendor due diligence”.
2

Paste the policy text

In Policy definition, paste block 1 into Policy text. Replace the sample company name (Marrowdale Regional Health) with yours.
3

Add the documents to collect

In Documents to collect (the Information Checklist), add each row of the table in section 2 with Add document, or leave it empty and add them later in Document collection on the edit screen.
4

Select the AI model

In Select AI model, keep the default model. The policy text and the AI model cannot be changed after the Workflow is created.
5

Paste the Output Schema and create the Workflow

In Output Schema, paste the JSON of section 3 into the JSON Schema input, then select Create Workflow. Wait until the Playbook has been generated and the Workflow shows a Playbook ID.
6

Overwrite the Steps

Open Edit Workflow, select Edit in Playbook Actions, and make the Steps match section 4.
  • Overwrite the generated Steps from the top. Replace the Action Name and Description of each Step with those of the Step in the same position in section 4. At least one existing Step must stay, so you cannot delete every generated Step and add new ones.
  • If the list is shorter than section 4, add the remaining Steps with Add Action. If it is longer, delete the extra Steps; a confirmation window warns that the reference notes of a deleted Step are deleted with it.
  • If a name you enter is still used by another Step, saving is refused. Give one of the two Steps a temporary name (for example tmp_1), save, then rename it. Save one rename at a time.
  • Select Save inside the section, refresh the page, and check the names and descriptions.
7

Check the engines of every Step

A Workflow created on the dashboard can have engines attached to its generated Steps automatically, and an engine left on a Step is called in every analysis. For each Step, open Select engines, check only the engines in the Step table of section 4, uncheck the rest, and select Apply. A Step with no engine in the table has none checked.
8

Try it with test documents

Create a Case from test documents and analyze it, as described in Uploading Files to Create Cases. Compare the result with the expected results below. When the analysis has ended, close the upload window with Finish so that the next upload starts fresh; if you only close it with the close button, the finished window opens again.
Generate Playbook again appears only when the Workflow has no Playbook or its generation failed. If you selected it, every Step was written again from the policy text, so enter the Steps of section 4 again.

Expected results

The tables below show the result of running this template on the dev dashboard on 2026-11-27, with Gemini 3.8 Flash. Values can differ with your documents and AI model, so try it first with test documents.

A Case without problems

A Case with a problem

  • No field differed from the values above. The empty trade name appears as null, which lowers the Output Schema completeness a little.
  • The Steps compare the license and the insurance with the date the analysis runs. In the example, the sound policy ends on 2027-10-01. From that date on, the Case shows expired and ends as rejected.
  • Text Verifier runs on the names in Steps 2 and 5. The names are identical in every example document, so the comparison is expected to be clear-cut.

Adapting it

A rule takes effect only when it is in the Step description, because that is what the analysis reads. The edit screen has no policy text field, so after the Workflow is created you change rules in the Steps. Keep each description to 500 characters or fewer, keep the field names exactly as they are in the Output Schema, and keep the passed, failed and needs_review conditions. If you change a rule before you create the Workflow, change it in the policy text too, so that the policy people read says the same. An analysis uses the Steps as they were when it started, so after you change a Step, analyze the Case again. Badge colours in the result are decided value by value. A value gets a colour only when it is one of the words Omni knows: for example verified, matched, valid, active, clear and low are green; rejected, mismatched, invalid, expired, not_found and high are red; pending_review, needs_review, partially_matched, incomplete and medium are orange. Any other value is grey. If you change an enum, pick its values from these words, and keep category values (such as a document type) out of them.

Engines

The default engines are the ones in the Step table above. Select them in Select engines on each Step.
  • Text Verifier scores how alike two names are.
Text Verifier compares two names and returns a similarity score. The Steps decide by the rule in their description and use the score as supporting evidence. Engines that look up official records (business registration status, business information, bank account owner names) are in the engine list for Korea only. None of them covers US records, so this template has no record-lookup engine to add when you use it with real documents. The credits used by an analysis and by each engine are in Credit Pricing. For how to select engines and set their options, see Engine Selection and Options.

Creating a Workflow

The five steps of the create screen.

Step writing guide

How to write and fix Step descriptions.

Editing a Workflow

Playbook Actions, Output Schema and saving.

Engine Selection and Options

Selecting engines and their options.