Overview
Verification management is the core workflow of Highway. A verification represents a customer identity check that needs to be performed via an AI-powered phone call. Each verification contains customer information, contact details, and the data points that need to be verified.Verification Workflow
The typical verification workflow follows these steps:- Create Verification - Add customer details and verification data
- Initiate Call - Trigger an automated phone call to the customer
- AI Verification - The AI agent asks questions to verify identity
- Track Status - Monitor call progress and results
- Review Outcome - Check if verification was successful
Creating a Verification
Verifications are created through the Highway dashboard. Each verification requires the following information:Required Fields
Name
Name
The customer’s full name. This identifies who is being verified and is displayed in the dashboard.Example:
John SmithPhone Number
Phone Number
A 10-digit US phone number where the customer can be reached.Format: Must be exactly 10 digits (no dashes or spaces)Example:
5551234567Phone numbers are automatically formatted with a +1 country code when initiating calls.
Background
Background
Context about why the verification is being performed. This helps the AI agent explain the purpose of the call to the customer.Example:
Customer signed up for a loanExample: New account registration requiring identity verificationVerification Data (JSON)
Verification Data (JSON)
A JSON object containing the specific data points that need to be verified with the customer. The AI agent will ask questions about this information.Example:
Creating via Dashboard
From the main dashboard athighway-frontend/src/app/page.tsx:111-129:
- Click the “Add verification” button
- Fill in all required fields in the modal form
- Enter verification data as valid JSON
- Click “Add verification” to save
Verification Data Structure
Each verification record in theverifications table contains:
| Field | Type | Description |
|---|---|---|
id | Integer | Auto-generated unique identifier |
name | String | Customer’s full name |
phone | String | 10-digit phone number |
type | String | Background context for the verification |
data | JSON | Key-value pairs of information to verify |
created_at | Timestamp | When the verification was created |
JSON Data Schema
Thedata field is flexible and can contain any JSON structure. Common fields include:
- Personal Information
- Address Verification
- Financial Data
- Custom Questions
Managing Verifications in the Dashboard
The main dashboard displays all verifications in a table format (highway-frontend/src/app/page.tsx:311-359):
Table Columns
- Name - Customer name with optional status badge
- Phone Number - Contact number
- Background - Verification context
- Action - Buttons to view data or initiate call
Available Actions
View Data
Click the “Data” button to preview the verification data that will be asked about during the call.This opens a modal showing the formatted JSON data that the AI agent will reference.
Initiate Call
Click the “Initiate call” button to start an AI-powered verification call.The button shows a loading state while the call is being set up.
Initiating Calls
When you click “Initiate call” (highway-frontend/src/app/page.tsx:77-85):
- Phone number is formatted with +1 prefix
- Non-numeric characters are stripped
- Call is initiated via the backend API
- Button shows loading state during setup
Status Tracking
Verification status is tracked through associated call records. Each verification can have multiple call attempts.Call Statuses
| Status | Meaning |
|---|---|
in_progress | Call is currently active |
successful_call | Identity was verified successfully |
unsuccessful_call | Identity could not be verified |
user_hung_up | Customer ended the call early |
system_error | Technical error occurred |
View detailed call history and outcomes in the Call Monitoring dashboard.
Best Practices
Data Selection
Data Selection
- Choose 2-3 verification points that are easy to verify but hard to guess
- Avoid overly complex questions that might confuse customers
- Use clear, unambiguous field names in your JSON data
- Test verification questions with sample data first
Background Context
Background Context
- Be specific about why verification is needed
- Keep background information concise (1-2 sentences)
- Include the business context (loan, account, service, etc.)
- This helps the AI agent explain the call purpose naturally
Phone Numbers
Phone Numbers
- Verify phone numbers are accurate before creating verifications
- Ensure numbers can receive calls (not VoIP restrictions)
- Consider time zones when initiating calls
- Keep track of unsuccessful call attempts
Privacy & Security
Privacy & Security
- Never include full SSN or highly sensitive data
- Use partial identifiers (last 4 digits) when possible
- Follow your organization’s data handling policies
- Review verification data before saving
Next Steps
AI Phone Calls
Learn how the AI agent conducts verification calls
Call Monitoring
Track call status and view verification results
Supabase Integration
Understand the database schema and data flow
API Reference
Integrate verification calls programmatically