Sources
Every metric in Segflow originates from a source — the defined stream of data that powers it. A source determines where your metric’s values come from, how they are fetched, and how often they are refreshed.
Unlike integrations, which manage authentication and data access, sources define the specific query, dataset, or event stream that your metric uses.
What is a Metric Source?
A Metric Source connects your metric to an underlying system or dataset. It provides Segflow with the context it needs to continuously pull and update data — ensuring your metrics stay in sync with reality.
Each metric has one source, and each source belongs to a connected integration. You can think of it as the bridge between data systems and strategic metrics.
Supported Source Types
Segflow supports a range of data sources to accommodate different analytical setups:
| Source | Description | Typical Use Case |
|---|---|---|
| Amplitude | Pulls event or funnel data directly from Amplitude analytics | Track product engagement metrics |
| Mixpanel | Fetches product analytics data and event counts | Measure activation, retention, or user flows |
| Stripe | Syncs billing and revenue data | Monitor ARR, MRR, churn, and payment trends |
| Postgres | Queries your operational or analytics database | Custom business or feature-specific metrics |
| BigQuery | Executes SQL on your warehouse for aggregated metrics | Company-wide KPI tracking and large-scale data |
| Calculated | Combines two existing metrics through mathematical operations | Build derived metrics (e.g., Conversion Rate = Signups ÷ Visits) |
| Random | Generates synthetic data for testing and experimentation | Safe sandboxing and visualization demos |
You can configure, schedule, and test all source connections through the Integrations section.
How Sources Connect to Metrics
Each metric is linked to one source configuration, which defines:
- The integration it depends on
- The data structure (events, charts, queries, or calculations)
- The region where data is stored (EU, US, SE)
- Whether the source is scheduled or manual
When you add a metric in Segflow:
- You choose its source (from an integration or calculation).
- The source determines how Segflow fetches and aggregates data.
- The metric updates automatically as the source syncs on schedule.
Calculation Sources
Calculated sources let you define metrics as formulas — combining two existing metrics through addition, subtraction, multiplication, or division.
| Operation | Example | Use Case |
|---|---|---|
| Addition | Revenue + Upsell Revenue | Combine related streams |
| Subtraction | Signups − Cancellations | Track net user growth |
| Multiplication | Average Order × Orders per User | Model compound effects |
| Division | Signups ÷ Visitors | Calculate conversion rates |
Calculated sources update automatically whenever the underlying metrics change, ensuring derived KPIs always reflect the latest data.
Data Regions and Refresh
Segflow supports multiple regions (eu, us, se) for compliance and latency optimization.
Each source can be configured to run automatically at a specific import time.
- Scheduled sources refresh daily at the chosen import time
- Manual sources can be updated on demand from the metric view
- Failed syncs are logged and surfaced directly in the metric’s activity timeline
How Sources Power the System
Sources are the entry point of truth in Segflow’s analytical model. They feed data into metrics, which then drive Flow Boards, relationships, and Strategic Analyses.
Flow:
Integration → Source → Metric → Flow Board → Strategic Analysis
Without well-defined sources, metrics become static. With them, Segflow becomes a continuously learning system — where every update to a source cascades through the Strategy Graph, analyses, and forecasts.
Best Practices
- Keep one source per metric to avoid duplication and confusion
- Use Calculated sources to connect existing metrics, not to replace raw inputs
- Validate your queries and parameters before saving a source
- Match refresh cadence to how frequently your data changes
- Avoid breaking changes in connected integrations or schema
A clean, reliable set of sources ensures that Segflow’s metrics, analyses, and forecasts all stay grounded in accurate, living data.
Next Steps
- Learn how to configure integrations in Integrations Overview
- Understand how sources feed Metrics
- Explore forecasting in Metric Forecasting
- See how metrics connect visually in Flow Boards