All integrationsHealth & Fitness

Terra

Read health and fitness data from your users' wearables through Terra (Garmin, Oura, Fitbit, WHOOP, Polar and more): send connection links, manage connections, get workouts, sleep, daily totals, body metrics and nutrition, and plan workouts onto their devices.

actions
21
triggers
5

Triggers

Start a workflow when something happens in Terra.

  • New activityRuns for each new workout a connected person's wearable records, such as a run or a ride, with its type, distance, calories and heart rate. Workouts already there when the workflow is turned on don't start it. Checks every five minutes or less often, as your workspace plan allows.
  • New sleep sessionRuns for each night's sleep (or nap) a connected person's wearable records, once it has ended, with time asleep, deep, light and REM sleep. Sleep already there when the workflow is turned on doesn't start it. Checks every five minutes or less often, as your workspace plan allows.
  • Day finishedRuns once a connected person's day has ended, with that day's steps, distance, calories, active time and resting heart rate. Days already over when the workflow is turned on don't start it. Checks every five minutes or less often, as your workspace plan allows.
  • New user connectedRuns when someone connects a wearable or health app to your Terra account, with their Terra user ID, your reference ID and the provider. Checks as often as your workspace plan allows.
  • User disconnectedRuns when a connection ends: someone disconnects their wearable, removes access in its app, or is disconnected through Terra. Gives the details the connection had. Checks as often as your workspace plan allows.

Actions

Steps a workflow can run in Terra.

  • Create connection linkCreate a link to send someone so they can connect their wearable or health app: they pick it from Terra's list and sign in. The link works for 24 hours.
  • Create sign-in link for one wearableCreate a link that takes someone straight to one provider's sign-in page (Garmin, Oura, Fitbit...), skipping Terra's list. Returns their new Terra user ID too.
  • List usersList the people who have connected a wearable, one connection each, with the provider and your reference ID. Gets one page; to see more, run it again with the next page it gives.
  • Get userGet one connection: its provider, reference ID, whether it is still connected, and when Terra last read new data from it.
  • Find users by reference IDFind every connection made under one of your reference IDs, such as a customer's Garmin and their Oura.
  • Disconnect userDisconnect someone's wearable: Terra stops reading it and deletes everything it holds for that connection. They'd have to connect again to share data.
  • Get activitiesGet someone's workouts over a date range (up to 31 days): each with its type, start and end, distance, calories and heart rate.
  • Get daily summariesGet someone's day-by-day totals over a date range (up to 31 days): steps, distance, calories, heart rate, active time and scores.
  • Get sleepGet someone's sleep sessions over a date range (up to 31 days): when they slept, time in deep, light and REM sleep, efficiency and heart rate.
  • Get body metricsGet someone's body measurements over a date range (up to 31 days): weight, body fat, BMI, blood pressure, glucose and temperature, as their devices record them.
  • Get nutritionGet what someone logged eating and drinking over a date range (up to 31 days): calories, protein, carbs, fat, meals and water.
  • Get menstruationGet someone's cycle tracking over a date range (up to 31 days): cycle day, phase, period dates and predicted cycle length.
  • Get athlete profileGet the profile someone's provider holds for them: name, email, age, sex, date of birth and location, where shared.
  • List supported wearables and appsList the wearables and health apps Terra connects to, with their codes, names, logos, the data each gives, and whether each is enabled for your account.
  • List workout templatesList the workout templates stored in your Terra account. Needs Terra's Planned Workouts add-on.
  • Create workout templateStore a structured workout (warm-up, intervals, cool-down...) to plan onto people's calendars with 'Plan workout'. Needs Terra's Planned Workouts add-on.
  • Delete workout templateDelete a workout template, and every planned workout made from it, from people's calendars and devices too.
  • Plan workoutPut a workout template on someone's calendar for a day. Terra sends it to their device (Garmin, Wahoo, COROS...), personalised with any heart rate, power or pace figures given.
  • List planned workoutsList someone's planned workouts, including ones they set up in their device's own app. Without dates, those cover the last 30 days; give dates to see upcoming ones.
  • Reschedule planned workoutMove a workout planned through Terra to another day, on the calendar and the person's device.
  • Delete planned workoutRemove a planned workout from someone's calendar and their device.

Automate Terra with Lodol.

Connect Terra, then hand Lodol the job in Slack, Claude or ChatGPT.

Free plan, no credit card