About this action
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- API endpoint slug
- ios_health.log_workout
- Filter code method
- IosHealth.logWorkout.skip(string?: reason)
- Runtime method
- runAction("ios_health.log_workout", {})
Action fields
Activity type Dropdown list
- Label
- Workout type
- Slug
- activity_type
- Required
- true
- Can have default value
- true
- Filter code method
- IosHealth.logWorkout.setActivityType(string: activityType)
Duration Text input > Other
- Label
- Duration of workout
- Helper text
- Slug
- duration
- Required
- true
- Can have default value
- true
- Filter code method
- IosHealth.logWorkout.setDuration(string: duration)
Energy Text input > Other
- Label
- Calories burned
- Helper text
- Slug
- energy
- Required
- false
- Can have default value
- true
- Filter code method
- IosHealth.logWorkout.setEnergy(string: energy)
Distance Text input > Other
- Label
- Distance
- Helper text
- Slug
- distance
- Required
- false
- Can have default value
- true
- Filter code method
- IosHealth.logWorkout.setDistance(string: distance)
Distance units Dropdown list
- Label
- Distance units
- Slug
- distance_units
- Required
- false
- Can have default value
- true
- Filter code method
- IosHealth.logWorkout.setDistanceUnits(string: distanceUnits)
Start date Text input > Other
- Label
- Date and time workout started
- Helper text
- Slug
- start_date
- Required
- false
- Can have default value
- true
- Filter code method
- IosHealth.logWorkout.setStartDate(string: startDate)