AutoBridge

Autofill a Dropdown with AI

AI Autofill lets GovAssist choose the value of a Dropdown field for you, based on what was entered in another field and the instructions you write. For example, it can set a Review Department dropdown from the applicant's Scope of Work description. This guide covers turning it on, writing instructions, adding reference material, and testing before you rely on it.


Prerequisites

  • Your role has Configure Entity on the entity, and the entity is not locked.
  • The entity has a Dropdown field to fill (AI Autofill is offered only for Dropdown fields) and a field for the AI to read, such as a Textarea description.
  • At least one record exists if you want to test with real data.

Steps

1

Open the field's menu

On the entity's Configure page, open the ⋯ menu on the Dropdown field and choose Autofill with AI. A panel titled Assign followed by the field name opens.

2

Choose the field to analyze

In Field to analyze, pick the field whose value the AI should read, such as Scope of Work.

3

Write an instruction

In AI Instruction (up to 3,000 characters), describe when a value applies, in plain language. For example: If the scope of work mentions electrical panels, wiring, or service upgrades.

4

Pick the value to assign

In the to assign box (named after your field), choose the Dropdown option to set when the instruction is met. Click Add Instruction.

5

Add an instruction for each option

Repeat steps 3 and 4 for each option the AI should be able to choose. Use Reset to clear the instruction you are writing.

6

Add reference material (optional)

Under Knowledge Base, click Add Knowledge and choose From API, Document/File, or SharePoint to give the AI documents or data that explain your rules, such as a fee schedule or a department responsibilities list.

7

Test the instructions

Under Test AI Instructions, use Select Test Data to choose a record, then run the test to see which value the AI would assign and why. Adjust the instructions until the results are right.

8

Save to activate

The panel shows that you have unsaved changes until you save. Click Save for the first version (or Update for later changes) to activate the instructions. Discard returns to the last saved version.

Once it is active, the field shows an AI icon on the Configure page with the tooltip AI Autofill is enabled. This field will be automatically filled based on the given instructions.

Review AI choices

AI Autofill is a starting point for staff, not a final decision. Keep the field visible to reviewers so they can change the value when the AI gets it wrong, and refine the instructions over time.


Example

SettingValue
Dropdown fieldReview Department (options: Building, Electrical, Plumbing, Mechanical)
Field to analyzeScope of Work
Instruction 1If the work involves wiring, panels, or electrical service, assign Electrical.
Instruction 2If the work involves pipes, fixtures, or water heaters, assign Plumbing.
Instruction 3If the work involves heating, ventilation, or air conditioning, assign Mechanical.
Instruction 4Otherwise, assign Building.
Knowledge BaseA document listing which trade reviews which kind of work

Common mistakes

  • Writing one long instruction for every option. One instruction per value is easier to test and adjust.
  • Analyzing a short or structured field. The AI works best on descriptive text. For exact matches on a dropdown or number, use a submission action or an automation instead.
  • Skipping the test. Test with several real records, including unusual ones, before staff rely on the result.
  • Forgetting to save. Instructions are not active until you click Save or Update.

Related guides