Stay organized with collections
Save and categorize content based on your preferences.
Action ID
actions.intent.UPDATE_ITEM_LIST
Description
Add an item to an existing list. Determine which list to modify by filtering the user's lists
using the itemList.name parameter. If a single list cannot be identified from the parameters, ask the user to determine
which list to edit before proceeding.
Once a single list is identified, add an item with the value of the
itemList.itemListElement.name parameter.
We also recommend integrating our partner
solution enabling notes and list access through a native Assistant experience that works
across a variety of Assistant-enabled devices.
Locale support
Functionality
Locales
Preview creation using App Actions test tool
en-US
User invocation from Google Assistant
en-US
Example queries
en-US
Add milk to my ExampleProvider list.
Add eggs to my ExampleProvider shopping list.
Add eggs to my grocery list on ExampleProvider.
Recommended fields
The following fields represent essential information that users often
provide in queries that trigger this built-in intent:
[null,null,["Last updated 2024-09-04 UTC."],[],[],null,["# Update item list\n\nAction ID\n: `actions.intent.UPDATE_ITEM_LIST`\n\nDescription\n\n: Add an item to an existing list. Determine which list to modify by filtering the user's lists\n using the `itemList.name` parameter. If a single list cannot be identified from the parameters, ask the user to determine\n which list to edit before proceeding.\n\n Once a single list is identified, add an item with the value of the\n `itemList.itemListElement.name` parameter.\n\n\n We also recommend integrating our [partner\n solution](/assistant/docs#solutions-for-partners) enabling notes and list access through a native Assistant experience that works\n across a variety of Assistant-enabled devices.\n\nExample queries\n---------------\n\n#### en-US\n\n- Add milk to my ExampleProvider list.\n- Add eggs to my ExampleProvider shopping list.\n- Add eggs to my grocery list on ExampleProvider.\n\nRecommended fields\n------------------\n\nThe following fields represent essential information that users often\nprovide in queries that trigger this built-in intent:\n[`itemList.itemListElement.name`](https://schema.googleapis.com/name) \n[`itemList.name`](https://schema.googleapis.com/name) \n\nOther supported fields\n----------------------\n\nThe following fields represent information that users often provide to\ndisambiguate their needs or otherwise improve their results:\n[`itemList.@type`](https://schema.googleapis.com/ItemList) \n[`itemList.itemListElement.@type`](https://schema.googleapis.com/itemListElement) \n\nSupported text values by field\n------------------------------\n\n`itemList.@type`\n\n- ItemList\n\n`itemList.itemListElement.@type`\n\n- ListItem\n\nSample XML files\n----------------\n\nFor information about the `shortcuts.xml` schema, see [Create shortcuts.xml](/guide/app-actions/action-schema).\n\n\n| **Deprecation notice:** Google is ending support for App Actions implemented using the\n| `actions.xml` resource file. Please use the\n| [Actions.xml migration guide](/guide/app-actions/legacy/migration-guide) to update your\n| actions to use the fully supported Android Shortcuts framework. For details on\n| the Shortcuts framework, see [App Actions overview](/guide/app-actions/overview).\n\n\u003cbr /\u003e\n\n### Handle BII parameters\n\n### shortcuts.xml\n\n\n```world-of-warcraft-toc\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003c!-- This is a sample shortcuts.xml --\u003e\n\u003cshortcuts xmlns:android=\"http://schemas.android.com/apk/res/android\"\u003e\n \u003ccapability android:name=\"actions.intent.UPDATE_ITEM_LIST\"\u003e\n \u003cintent\n android:action=\"android.intent.action.VIEW\"\n android:targetPackage=\"YOUR_UNIQUE_APPLICATION_ID\"\n android:targetClass=\"YOUR_TARGET_CLASS\"\u003e\n \u003c!-- Eg. itemListName = \"Grocery List\" --\u003e\n \u003cparameter\n android:name=\"itemList.name\"\n android:key=\"itemListName\"/\u003e\n \u003c!-- Eg. itemListElementName = \"Milk\" --\u003e\n \u003cparameter\n android:name=\"itemList.itemListElement.name\"\n android:key=\"itemListElementName\"/\u003e\n \u003c/intent\u003e\n \u003c/capability\u003e\n\u003c/shortcuts\u003e\n \n```\n\n\u003cbr /\u003e\n\n### actions.xml\n\n\n```world-of-warcraft-toc\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003c!-- This is a sample actions.xml --\u003e\n\u003cactions\u003e\n \u003caction intentName=\"actions.intent.UPDATE_ITEM_LIST\"\u003e\n \u003cfulfillment urlTemplate=\"myapp://custom-deeplink{?itemListName,itemListElementName}\"\u003e\n \u003c!-- e.g. itemListName = \"Grocery List\" --\u003e\n \u003c!-- (Optional) Require a field eg.itemListName for fulfillment with required=\"true\" --\u003e\n \u003cparameter-mapping urlParameter=\"itemListName\" intentParameter=\"itemList.name\" required=\"true\" /\u003e\n \u003c!-- e.g. itemListElementName = \"Milk\" --\u003e\n \u003cparameter-mapping urlParameter=\"itemListElementName\" intentParameter=\"itemList.itemListElement.name\" /\u003e\n \u003c/fulfillment\u003e\n\n \u003c!-- Provide a fallback fulfillment with no required parameters. For example, to your app search or router deeplink --\u003e\n \u003cfulfillment urlTemplate=\"myapp://deeplink\" /\u003e\n \u003c/action\u003e\n\u003c/actions\u003e\n```\n\n\u003cbr /\u003e\n\nJSON-LD sample\n--------------\n\nThe following JSON-LD sample provides some example values that you can\nuse in the App Actions test tool: \n\n```carbon\n{\n \"@context\": \"http://schema.org\",\n \"@type\": \"ItemList\",\n \"itemListElement\": {\n \"@type\": \"ListItem\",\n \"name\": \"Milk\"\n },\n \"name\": \"Grocery List\"\n}\n```"]]