Custom Data Transformation
Write a Node.js step to normalize units, compute rolling averages, or derive new metrics before forwarding data.
In Pipedream, create a new workflow and select "HTTP / Webhook" as the trigger. Copy the unique endpoint URL.
Add the Pipedream URL as a webhook endpoint in HC Webhook. Choose your health data types and sync interval.
Add code or no-code steps after the trigger โ filter by data type, transform values, call external APIs, or write to a database.
Write a Node.js step to normalize units, compute rolling averages, or derive new metrics before forwarding data.
Send the same health event to Supabase, a REST API, and a Slack channel from one Pipedream workflow.
Insert health records into Supabase or Firebase Firestore in real time using Pipedream's built-in integrations.
Pass weekly health summaries to OpenAI and get personalized insights delivered via email or Slack.
Enrich health data with weather or location context, then relay the augmented payload to another service.
Combine Pipedream's scheduled triggers with HC Webhook data stored in a database to run weekly health reports.
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 }
]
}
]
}