← Back to all posts

Fitbit

On this page

Purpose

Fitbit connects the current Arkus user's account through Google Health OAuth and reads profile, activity and fitness, health metrics and measurements, hydration, or sleep data.

It is read-only. It does not write Fitbit data, follow provider pagination, retrieve food or macronutrient logs, or provide medical advice.

When to use it

  • Summarize steps, distance, exercise, floors, or active minutes over a date range.
  • Review heart rate, resting heart rate, weight, body fat, oxygen saturation, or height records.
  • Compare sleep sessions and available sleep summaries.
  • Retrieve hydration records for a wellness check-in.
  • Give Agent Core user-authorized fitness tools for a coaching conversation.

Required setup

Click Connect Account and complete Google consent for the required read scopes. The Arkus environment also needs its platform OAuth configuration.

Fitbit results can contain sensitive identity and health data. The component does not redact them. Treat downstream prompts, traces, and outputs accordingly.

Fitbit node in a disconnected state with Connect Account and its connection warning

How to use it

In Tool Mode:

  1. Connect the component's tools to Agent Core.
  2. Ask the Agent to call the profile tool first to confirm the connection.
  3. Give the Agent a bounded task, such as summarizing sleep sessions for one week.
  4. Set both Start Date and End Date when the workflow needs a date range.

The profile tool takes no arguments. Grouped tools accept optional dates and page size.

In Normal mode:

  1. Start with Get User Profile.
  2. Choose a grouped action for activity, measurements, hydration, or sleep.
  3. Leave both dates blank, or set both Start Date and End Date.
  4. Keep Page Size at 100 for the first run.

Configuration

SettingWhat it controlsRecommended starting point
Connect AccountStarts or repeats the user OAuth flowConnect before the first live call
ActionThe profile or grouped data categoryUse profile to confirm the connection
Start Date and End DateA date range for grouped actionsLeave both blank or set a bounded pair
Page SizeThe provider page size for each data typeKeep the default of 100

A date-only End Date includes that calendar day. Page Size applies separately to each data type in a group, not to the total response.

Expected result

Profile returns the provider profile object. Grouped actions return category metadata, requested dates, results by data type, and any per-type errors.

One failed data type does not discard successful siblings. When a provider rejects an automatic date filter, the component retries that data type without the filter and marks the fallback. Treat that result as unbounded by the requested dates.

Reference details

Lower Page Size when the response is too large. Raise it only when one page is not enough. Use an explicit date range when the workflow must be bounded, and inspect fallback metadata before relying on that bound.

Use Data Operations to filter or reshape the structured result. Type Convert can adapt it for another downstream type.

← Back to all posts