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.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.
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
Start a new Workflow
Paste the policy text
Add the documents to collect
Select the AI model
Paste the Output Schema and create the Workflow
Overwrite the Steps
- 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.
Check the engines of every Step
Try it with test documents
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
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.