HC Webhook
Health Metric

What is Exercise Sessions?

Measured in: type + duration + distance

Logged workouts with type (run, cycle, swim, etc.), duration, distance, and calories burned.

Definition

What it measures

Logged workouts with type (run, cycle, swim, etc.), duration, distance, and calories burned.

Unit: type + duration + distance

Why Track It

Why it matters

Auto-log every workout to your own training journal, celebrate milestones, and build post-workout automations.

Automations

What you can do with Exercise Sessions data.

HC Webhook sends exercise sessions readings to any webhook — here are ideas to get you started.

Automatic Training Log

Create a new row in your Google Sheet or Notion database for every workout, automatically.

Post-Workout Slack Message

Send a Slack notification after each run or gym session with duration and calories burned.

Weekly Training Summary

Aggregate all sessions for the week in n8n and send a Monday email with total time, distance, and calories.

Milestone Alert

Send a congratulations notification when you hit a milestone like your 50th run of the year.

Grafana Training Load Chart

Push workout duration and type to InfluxDB and chart your training load over a season.

Home Assistant Post-Workout Routine

Trigger a Home Assistant scene after a workout — set the shower temperature, play a playlist, or log recovery notes.

Data Format

What the JSON looks like.

HC Webhook posts a JSON object containing a exercise_sessions array to your endpoint on every sync.

{
  "timestamp": "2026-04-15T18:00:00Z",
  "exercise_sessions": [
    {
      "type": "RUNNING",
      "start_time": "2026-04-15T17:00:00Z",
      "end_time": "2026-04-15T18:00:00Z",
      "duration_seconds": 3600,
      "distance_meters": 8200,
      "active_calories_kcal": 620
    }
  ]
}
How to Export

Get Exercise Sessions out of Health Connect

Google Health Connect stores your exercise sessions data from compatible apps (Samsung Health, Fitbit, Garmin, and more). HC Webhook reads that data on a schedule you set and forwards it as JSON to any URL you add — n8n, Home Assistant, Zapier, or your own API.

  1. 01

    Install HC Webhook and grant Health Connect permission for Exercise Sessions.

  2. 02

    Paste your webhook URL — Home Assistant, n8n, Zapier, or any endpoint.

  3. 03

    Set your sync schedule. Exercise Sessions readings arrive automatically, every time.

Get it on Google Play

Start tracking your Exercise Sessions data.

Free Android app. No account required. Data stays on your device.

Get it on Google Play