Self-Hosted Health Database
Write metrics directly to a self-hosted PostgreSQL or MySQL database. Complete data ownership, zero cloud exposure.
Run Activepieces locally or on your own server with Docker. Create a new flow and add a "Webhook" trigger piece.
Copy your Activepieces webhook URL and paste it into HC Webhook. Select which health data types to forward.
Add action pieces — write to Postgres, send an email, call an HTTP endpoint. Everything runs on your server.
Write metrics directly to a self-hosted PostgreSQL or MySQL database. Complete data ownership, zero cloud exposure.
Send health alerts to your self-hosted Matrix server or Slack when thresholds are crossed.
Forward health data from Activepieces to multiple internal services simultaneously using HTTP action pieces.
Write daily health summaries to a Nextcloud Notes file or spreadsheet from your self-hosted Activepieces flow.
Use Activepieces' code pieces to write custom logic — alert on high resting heart rate, low VO2 max trends, or missed exercise days.
Publish health metrics to an MQTT broker from Activepieces and display them on custom IoT dashboards.
Each sync posts one JSON object to your endpoint containing all selected data types as arrays. Only types with new data are included.
{
"timestamp": "2026-01-15T23:59:59Z",
"app_version": "1.7.1",
"steps": [
{
"count": 8432,
"start_time": "2026-01-15T00:00:00Z",
"end_time": "2026-01-15T23:59:59Z"
}
],
"heart_rate": [
{ "bpm": 72, "time": "2026-01-15T08:30:00Z" },
{ "bpm": 68, "time": "2026-01-15T14:00:00Z" }
],
"sleep": [
{
"session_end_time": "2026-01-15T07:00:00Z",
"duration_seconds": 27000,
"stages": [
{ "stage": "deep", "start_time": "...", "end_time": "...", "duration_seconds": 5400 }
]
}
]
}