Stay organized with collections
Save and categorize content based on your preferences.
Action ID
actions.intent.GET_ITEM_LIST
Description
Search and view personal lists and public collections. For example, you can get a collection of
images from an album or get a list of to-do items. Filter the content to present the most
relevant items to the user. Determine the name and topic (like food or animals) of the
collection to view using the itemList.name and itemList.description
intent parameters. Determine the type of collection (like album or shopping list) using the
itemList.category intent parameter, if available.
Locale support
Functionality
Locales
Preview creation using App Actions test tool
en-US
User invocation from Google Assistant
en-US
Example queries
en-US
Show my shopping list on ExampleProvider.
Star wars ExampleProvider boards.
ExampleProvider collections.
My ExampleProvider stories.
Wall art boards on ExampleProvider.
On ExampleProvider show me everything labeled hair coloring
Recommended fields
The following fields represent essential information that users often
provide in queries that trigger this built-in intent:
We recommend implementing Android
widgets for this built-in intent. A widget presents information or
interaction options from your app to improve user engagement in Google
Assistant. Widgets are available for App Actions implementations using
shortcuts.xml.
If you have a legacy App Actions implementation using
actions.xml, use
Android slices instead. We recommend
migrating your
implementation to shortcuts.xml to take advantage of widgets
fulfillment and other improvements.
itemList.name is a field
that supports web inventory.
In the following example, Google Assistant performs a web search for the user
query and determines the fulfillment URL. Assistant filters for search results
that match the provided urlFilter value of
https://www.mywebsite.com/link1/.*.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-04 UTC."],[],[],null,["# Get item list\n\nAction ID\n: `actions.intent.GET_ITEM_LIST`\n\nDescription\n\n: Search and view personal lists and public collections. For example, you can get a collection of\n images from an album or get a list of to-do items. Filter the content to present the most\n relevant items to the user. Determine the name and topic (like food or animals) of the\n collection to view using the `itemList.name` and `itemList.description`\n intent parameters. Determine the type of collection (like album or shopping list) using the\n `itemList.category` intent parameter, if available.\n\nExample queries\n---------------\n\n#### en-US\n\n- Show my shopping list on ExampleProvider.\n- Star wars ExampleProvider boards.\n- ExampleProvider collections.\n- My ExampleProvider stories.\n- Wall art boards on ExampleProvider.\n- On ExampleProvider show me everything labeled hair coloring\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.description`](https://schema.googleapis.com/description) \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.category`](https://schema.googleapis.com/category) \n\nAndroid widgets and slices\n--------------------------\n\nWe recommend [implementing Android\nwidgets](/guide/app-actions/widgets) for this built-in intent. A widget presents information or\ninteraction options from your app to improve user engagement in Google\nAssistant. Widgets are available for App Actions implementations using\n[shortcuts.xml](/guide/app-actions/action-schema).\n\nIf you have a legacy App Actions implementation using\n[actions.xml](/guide/app-actions/legacy), use\n[Android slices](/guide/app-actions/slices) instead. We recommend\n[migrating](/guide/app-actions/legacy/migration-guide) your\nimplementation to `shortcuts.xml` to take advantage of widgets\nfulfillment and other improvements.\n\nSupported text values by field\n------------------------------\n\n`itemList.@type`\n\n- ItemList\n\n`itemList.category`\n\n- List\n- Album\n- Story\n- Board\n- CuratedContent\n\nInventory availability by field\n-------------------------------\n\n`itemList.category`\n\n- Web inventory\n\n`itemList.name`\n\n- Web inventory\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.GET_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. name = \"Grocery List\" --\u003e\n \u003cparameter\n android:name=\"itemList.name\"\n android:key=\"name\"/\u003e\n \u003c!-- Eg. category = \"List\" --\u003e\n \u003cparameter\n android:name=\"itemList.category\"\n android:key=\"category\"/\u003e\n \u003c!-- Eg. description = \"For December\" --\u003e\n \u003cparameter\n android:name=\"itemList.description\"\n android:key=\"description\"/\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.GET_ITEM_LIST\"\u003e\n \u003cfulfillment urlTemplate=\"myapp://custom-deeplink{?name,category,description}\"\u003e\n \u003c!-- e.g. name = \"Grocery List\" --\u003e\n \u003c!-- (Optional) Require a field eg.name for fulfillment with required=\"true\" --\u003e\n \u003cparameter-mapping urlParameter=\"name\" intentParameter=\"itemList.name\" required=\"true\" /\u003e\n \u003c!-- e.g. category = \"List\" --\u003e\n \u003cparameter-mapping urlParameter=\"category\" intentParameter=\"itemList.category\" /\u003e\n \u003c!-- e.g. description = \"For December\" --\u003e\n \u003cparameter-mapping urlParameter=\"description\" intentParameter=\"itemList.description\" /\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\n### Use web inventory\n\n`itemList.name` is a field\nthat supports [web inventory](/guide/app-actions/action-schema#web-inventory).\nIn the following example, Google Assistant performs a web search for the user\nquery and determines the fulfillment URL. Assistant filters for search results\nthat match the provided `urlFilter` value of\n`https://www.mywebsite.com/link1/.*`.\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.GET_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 \u003cparameter android:name=\"itemList.name\"\u003e\n \u003cdata android:pathPattern=\"https://www.mywebsite.com/link1/.*\"/\u003e\n \u003c/parameter\u003e\n \u003cparameter android:name=\"itemList.category\"\u003e\n \u003cdata android:pathPattern=\"https://www.mywebsite.com/link2/.*\"/\u003e\n \u003c/parameter\u003e\n \u003cparameter android:name=\"itemList.description\"\u003e\n \u003cdata android:pathPattern=\"https://www.mywebsite.com/link3/.*\"/\u003e\n \u003c/parameter\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```transact-sql\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.GET_ITEM_LIST\"\u003e\n \u003c!-- Use URL from entity match for deep link fulfillment --\u003e\n \u003c!-- Example: url = 'https://www.mywebsite.com/link1/item1' --\u003e\n \u003cfulfillment urlTemplate=\"{@url}\" /\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\n \u003c!-- Define parameters with web inventories using urlFilter --\u003e\n \u003cparameter name=\"itemList.name\"\u003e\n \u003centity-set-reference urlFilter=\"https://www.mywebsite.com/link1/.*\" /\u003e\"/\u003e\n \u003c/parameter\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.googleapis.com\",\n \"@type\": \"ItemList\",\n \"category\": \"List\",\n \"description\": \"For December\",\n \"name\": \"Grocery List\"\n}\n{\n \"@context\": \"http://schema.googleapis.com\",\n \"@type\": \"ItemList\",\n \"category\": \"Album\",\n \"description\": \"food\",\n \"name\": \"Hawaii Trip\"\n}\n```"]]