Natural Language Goal Input
Simply describe what you want to achieve in plain English:Goal Input Component
TheGoalInput component provides a text area with quick suggestions:
Screenshot description: A large text input box with placeholder “Describe your financial goal in plain English…” and four suggestion chips below:
- “Save $50,000 for a house down payment in 3 years”
- “Build a 6-month emergency fund”
- “Pay off $25,000 in student loans in 5 years”
- “Save $1 million for retirement by age 60”
How It Works
LLM Processing
When you submit, Drift sends your goal to an LLM service (Claude or Gemini) that extracts:
- Target Amount: Dollar value of the goal
- Timeline: Duration in months
- Goal Type: Category (house, emergency_fund, debt_payoff, retirement, etc.)
- Confidence: How well the goal was understood
Voice Input (Advanced)
Drift supports voice-based goal setting using theVoiceInput component:
Screenshot description:
- A microphone icon button (large, centered)
- Text below: “Tap to speak your goal”
- Waveform animation when recording
- Transcribed text appearing in real-time
Voice Flow
Tap Microphone
Press the microphone button to start recording. The button pulses to indicate active listening.
Speak Your Goal
Clearly state your financial objective:
“I want to save fifty thousand dollars for a house down payment in three years”
Transcription
Your speech is transcribed in real-time and displayed on screen.
Drift uses browser Web Speech API for transcription, processing everything locally on your device.
LLM Parsing
The transcribed text is sent to the LLM service for parsing into structured goal parameters.
Goal Parsing Details
The LLM service extracts structured data from natural language:Input Example
Parsed Output
Supported Goal Types
| Goal Type | Description | Example |
|---|---|---|
house_down_payment | Saving for home purchase | ”$80K for a house in 5 years” |
emergency_fund | Building safety net | ”6-month emergency fund” |
debt_payoff | Eliminating debt | ”Pay off $25K student loans in 4 years” |
retirement | Long-term retirement savings | ”$1M for retirement by age 60” |
education | College or tuition savings | ”$40K for college in 8 years” |
wedding | Wedding expenses | ”$15K for wedding in 2 years” |
vehicle | Car or transportation | ”$30K for a new car in 18 months” |
business | Starting a business | ”$100K to start business in 3 years” |
travel | Vacation or trip | ”$10K for Europe trip in 1 year” |
general_savings | Generic savings goal | ”Save $20K in 2 years” |
Handling Ambiguous Goals
If your goal is vague or incomplete, Drift will:- Make reasonable assumptions based on common patterns
- Flag the goal with clarifying questions
- Run the simulation but display a warning
Example: Vague Goal
Input: “Build an emergency fund” Parsed:Goal Suggestions by Life Stage
Drift provides contextual suggestions based on your profile:Age 20-30
- Build 3-6 month emergency fund
- Pay off student loans
- Save for first home down payment
- Start retirement contributions
Age 30-40
- Upgrade to larger home
- 6-12 month emergency fund
- College savings for children
- Accelerate retirement savings
Age 40-50
- Maximize retirement contributions
- Pay off mortgage early
- Build investment portfolio
- Plan for college expenses
Age 50+
- Reach retirement savings target
- Plan retirement income strategy
- Estate planning reserves
- Healthcare fund for retirement
User Inputs Required
Before setting goals, Drift collects basic profile information:Risk Tolerance Impact
- Low Risk
- Medium Risk
- High Risk
Conservative approach
- Lower expected returns (4-5% annually)
- Lower volatility in simulations
- Higher allocation to bonds/cash
- More predictable outcomes
Goal Validation
Drift validates goals before running simulations:Minimum Requirements
Minimum Requirements
Must include:
- Target amount (or calculable from context)
- Timeline (months or years)
- “Save $10,000 in 2 years” ✓
- “Build 6-month emergency fund” ✓ (amount calculated from profile)
- “Save for retirement” ✗ (too vague)
Realistic Constraints
Realistic Constraints
Drift warns if:
- Timeline too short for target amount
- Required monthly savings > current income
- Goal requires >80% of income for savings
Multiple Goals
Multiple Goals
Currently, Drift simulates one goal at a time. For multiple goals:
- Run separate simulations for each
- Manually adjust cash flow to account for parallel saving
- Use what-if scenarios to explore trade-offs
Editing Goals
After parsing, you can edit the goal parameters: Screenshot description: Edit modal with three fields:- Target Amount:
$50,000(number input) - Timeline:
36 months(slider: 1-240 months) - Goal Type: Dropdown with all supported types
Next Steps
Once your goal is set:Interpreting Results
Understand success probability, percentiles, and outcome distributions
What-If Scenarios
Explore how changes to income, spending, or timeline affect your goals