Skip to Content
MetricsSources

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:

SourceDescriptionTypical Use Case
AmplitudePulls event or funnel data directly from Amplitude analyticsTrack product engagement metrics
MixpanelFetches product analytics data and event countsMeasure activation, retention, or user flows
StripeSyncs billing and revenue dataMonitor ARR, MRR, churn, and payment trends
PostgresQueries your operational or analytics databaseCustom business or feature-specific metrics
BigQueryExecutes SQL on your warehouse for aggregated metricsCompany-wide KPI tracking and large-scale data
CalculatedCombines two existing metrics through mathematical operationsBuild derived metrics (e.g., Conversion Rate = Signups ÷ Visits)
RandomGenerates synthetic data for testing and experimentationSafe 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:

  1. You choose its source (from an integration or calculation).
  2. The source determines how Segflow fetches and aggregates data.
  3. 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.

OperationExampleUse Case
AdditionRevenue + Upsell RevenueCombine related streams
SubtractionSignups − CancellationsTrack net user growth
MultiplicationAverage Order × Orders per UserModel compound effects
DivisionSignups ÷ VisitorsCalculate 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

Last updated on