This action logs calories consumed to your iPhone's Health app.
- API endpoint slug
- ios_health.log_calories_consumed
- Filter code method
- IosHealth.logCaloriesConsumed.skip(string?: reason)
- Runtime method
- runAction("ios_health.log_calories_consumed", {})
Action fields
- Label
- Number of calories
- Helper text
- e.g. 250
- Slug
- number_of_calories
- Required
- true
- Can have default value
- true
- Filter code method
- IosHealth.logCaloriesConsumed.setNumberOfCalories(string: numberOfCalories)
- Label
- Food description
- Helper text
- Optional e.g. broccoli salad
- Slug
- food_description
- Required
- false
- Can have default value
- true
- Filter code method
- IosHealth.logCaloriesConsumed.setFoodDescription(string: foodDescription)
- Label
- Date and time consumed
- Helper text
- Optional and will use current time if blank
- Slug
- occurred_at
- Required
- false
- Can have default value
- true
- Filter code method
- IosHealth.logCaloriesConsumed.setOccurredAt(string: occurredAt)