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
- This action logs body mass in pounds or kilograms to your iPhone's Health app.
- API endpoint slug
- ios_health.log_body_mass
- Filter code method
- IosHealth.logBodyMass.skip(string?: reason)
- Runtime method
- runAction("ios_health.log_body_mass", {})
Action fields
Number of units Text input > Other
- Label
- Weight
- Helper text
- e.g. 182
- Slug
- number_of_units
- Required
- true
- Can have default value
- true
- Filter code method
- IosHealth.logBodyMass.setNumberOfUnits(string: numberOfUnits)
Units Dropdown list
- Label
- Units
- Slug
- units
- Required
- true
- Can have default value
- true
- Filter code method
- IosHealth.logBodyMass.setUnits(string: units)
Occurred at Text input > Other
- Label
- Date and time weighed
- Helper text
- Optional and will use current time if blank
- Slug
- occurred_at
- Required
- false
- Can have default value
- true
- Filter code method
- IosHealth.logBodyMass.setOccurredAt(string: occurredAt)