Record food or nutrition consumption

Action ID
actions.intent.RECORD_FOOD_OBSERVATION
Description

Record a user's action of consuming food, beverage, or nutrients (such as protein).

We recommend that you specify entities for foodObservation.aboutNutrient.name.

This built-in intent uses enumerated values for some parameters. Parameters that follow this pattern are listed in Supported text field values below, with the enumerated parameter values they support.

Locale support
Functionality Locales
Preview creation using App Actions test tool en-US, en-GB, en-CA, en-IN, en-BE, en-SG, en-AU
User invocation from Google Assistant en-US, en-GB, en-CA, en-IN, en-BE, en-SG, en-AU
Example queries
Recommended fields
The following fields represent essential information that users often provide in queries that trigger this built-in intent:
foodObservation.aboutFood.name
foodObservation.aboutNutrient.name
Other supported fields
The following fields represent information that users often provide to disambiguate their needs or otherwise improve their results:
foodObservation.@type
foodObservation.aboutFood.@type
foodObservation.aboutNutrient.@type
foodObservation.endTime
foodObservation.forMeal
foodObservation.startTime
foodObservation.value.@type
foodObservation.value.unitText
foodObservation.value.value
Supported text values by field






Inventory availability by field




JSON-LD sample
{
  "@context": "http://schema.googleapis.com",
  "@type": "FoodObservation",
  "aboutFood": {
    "@type": "Food",
    "name": "Rice"
  },
  "aboutNutrient": {
    "@type": "Nutrient",
    "name": "Calcium"
  },
  "endTime": "2011-12-20T23:59:59",
  "forMeal": "http://schema.googleapis.com/MealTypeLunch",
  "startTime": "2011-12-20T00:00:00",
  "value": {
    "@type": "QuantitativeValue",
    "unitText": "Ounce",
    "value": "6"
  }
}