goals.do
Track and Achieve Business Goals Automatically
Monitor OKRs and KPIs with AI-powered progress tracking and automatic data collection. Identify blockers early and align teams on priorities with automated reporting.
import { Goals } from 'goals.do' // Track OKRs with automatic data collectionGoals.define({ name: 'Q4 Revenue Target', target: { revenue: 10_000_000, by: '2024-12-31' }, keyResults: [ { metric: 'MRR', target: 850_000, current: 'auto' }, { metric: 'ChurnRate', target: 0.02, direction: 'decrease' } ], dataSources: ['$.Stripe', '$.Database']}) // AI predicts completion and identifies blockerson.Metric.updated($ => { const progress = $.AI.predict.GoalCompletion({ goalId: $.Goal.id }) if (progress.likelihood < 0.7) { $.Alert.send.to.Owner({ goal: $.Goal.name, blockers: progress.blockers }) }})
One of 48 primitives
goals.do sits in Business: goals, plans and the work itself. Every .do shares one grammar, Business-as-Code, and one SDK.
Data
Records, vocabulary and search
Insight
Measure, test and trace
Frequently asked questions
Goals.do connects to 100+ data sources (Stripe, Salesforce, Google Analytics, databases, APIs) and automatically collects metrics in real-time. Define goals once with target values—progress updates automatically as data changes. Support for revenue, conversion rates, user engagement, infrastructure metrics, and custom KPIs. No manual data entry or spreadsheet updates. Handles complex calculations: weighted averages, time-series trends, cohort analysis, and multi-source aggregations.
Predictive analytics forecast goal completion with 85%+ accuracy using historical trends and current velocity. Anomaly detection identifies unexpected changes in metrics (sudden drop in conversions, spike in churn). Root cause analysis pinpoints why goals are off-track with actionable recommendations. Natural language insights: 'Revenue is 15% behind target due to enterprise sales cycle lengthening by 3 weeks—consider increasing SMB focus'. Automated A/B test suggestions to accelerate progress.
Yes. Define company OKRs and cascade to department, team, and individual goals with automatic alignment tracking. Goals inherit progress from child goals—team goals automatically roll up to department OKRs. Visual dependency graphs show how initiatives contribute to company objectives. Automatic stakeholder notifications when upstream goals change. Support for weighted key results, binary milestones, and continuous metrics. Integration with Jira, Linear, Asana for project-level tracking.
Define custom metrics using TypeScript functions with access to all data sources. Support for formulas: (MRR * 12 * 5) for ARR multiples, (New Users - Churned Users) for net growth, complex cohort retention calculations. Time-series aggregations: 30-day moving averages, month-over-month growth, YoY comparisons. Combine metrics from multiple sources: Stripe revenue + Salesforce pipeline + support tickets. Built-in functions for common SaaS metrics: CAC, LTV, NPS, retention cohorts.
Read-only access to data sources—Goals.do never writes back or modifies source data. OAuth 2.0 and API key authentication with encrypted credential storage. Fine-grained permissions control who sees which goals and metrics. GDPR and SOC 2 compliant with automatic PII detection and masking. Full audit logs of all metric access. Data never shared across organizations. Self-host option for enterprises requiring on-premises deployment. Support for role-based access control (RBAC) and SSO integration.