Stay organized with collections
Save and categorize content based on your preferences.
Action ID
actions.intent.CREATE_CALL
Description
Start an audio or video call. First, determine the call recipient using the
call.participant.name or call.participant.telephone intent parameter.
Then, determine the format (like audio or video) using the call.callFormat intent
parameter, if available.
We also recommend creating deeper, voice-forward experiences by integrating our
partner solution for calling.
Locale support
Functionality
Locales
Preview creation using App Actions test tool
en-US
User invocation from Google Assistant
en-US
Example queries
en-US
Call *123 on ExampleProvider.
Video chat with Bob on ExampleProvider.
Call mom on ExampleProvider.
Recommended fields
The following fields represent essential information that users often
provide in queries that trigger this built-in intent:
[[["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,["# Create call\n\nAction ID\n: `actions.intent.CREATE_CALL`\n\nDescription\n\n:\n Start an audio or video call. First, determine the call recipient using the\n `call.participant.name` or `call.participant.telephone` intent parameter.\n Then, determine the format (like audio or video) using the `call.callFormat` intent\n parameter, if available.\n\n\n We also recommend creating deeper, voice-forward experiences by integrating our\n [partner solution](/assistant/docs#solutions-for-partners) for calling.\n\nExample queries\n---------------\n\n#### en-US\n\n- Call \\*123 on ExampleProvider.\n- Video chat with Bob on ExampleProvider.\n- Call mom 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[`call.participant.identifier`](https://schema.googleapis.com/identifier) \n[`call.participant.name`](https://schema.googleapis.com/name) \n[`call.participant.telephone`](https://schema.googleapis.com/telephone) \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[`call.@type`](https://schema.googleapis.com/Call) \n[`call.callFormat`](https://schema.googleapis.com/callFormat) \n[`call.participant.@type`](https://schema.googleapis.com/participant) \n\nSupported text values by field\n------------------------------\n\n`call.@type`\n\n- Call\n\n`call.callFormat`\n\n- Audio\n- Video\n\n`call.participant.@type`\n\n- Person\n\nInventory availability by field\n-------------------------------\n\n`call.callFormat`\n\n- Inline 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.CREATE_CALL\"\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. callFormat = \"Audio\" --\u003e\n \u003cparameter\n android:name=\"call.callFormat\"\n android:key=\"callFormat\"/\u003e\n \u003c!-- Eg. name = \"John Doe\" --\u003e\n \u003cparameter\n android:name=\"call.participant.name\"\n android:key=\"name\"/\u003e\n \u003c!-- Eg. telephone = \"012-345-6789\" --\u003e\n \u003cparameter\n android:name=\"call.participant.telephone\"\n android:key=\"telephone\"/\u003e\n \u003c!-- Eg. identifier = \"John_Doe_User_Id\" --\u003e\n \u003cparameter\n android:name=\"call.participant.identifier\"\n android:key=\"identifier\"/\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.CREATE_CALL\"\u003e\n \u003cfulfillment urlTemplate=\"myapp://custom-deeplink{?callFormat,name,telephone,identifier}\"\u003e\n \u003c!-- e.g. callFormat = \"Audio\" --\u003e\n \u003c!-- (Optional) Require a field eg.callFormat for fulfillment with required=\"true\" --\u003e\n \u003cparameter-mapping urlParameter=\"callFormat\" intentParameter=\"call.callFormat\" required=\"true\" /\u003e\n \u003c!-- e.g. name = \"John Doe\" --\u003e\n \u003cparameter-mapping urlParameter=\"name\" intentParameter=\"call.participant.name\" /\u003e\n \u003c!-- e.g. telephone = \"012-345-6789\" --\u003e\n \u003cparameter-mapping urlParameter=\"telephone\" intentParameter=\"call.participant.telephone\" /\u003e\n \u003c!-- e.g. identifier = \"John_Doe_User_Id\" --\u003e\n \u003cparameter-mapping urlParameter=\"identifier\" intentParameter=\"call.participant.identifier\" /\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 inline inventory\n\n### shortcuts.xml\n\n\n`call.callFormat` is an\nintent parameter that supports [inline inventory](/guide/app-actions/action-schema#inline-inventory).\nBy defining a `\u003cshortcut\u003e` for `call.callFormat`,\nyou can uniquely identify entities that are of interest to your app or restrict\nfulfillment to the set of supported entities.\n\nIn the following example, when the user query matches the\n`callFormat_one`\nshortcut, Assistant provides the associated shorcut identifier, `ID_ONE`, as\nthe URL parameter `callFormat`\nto fulfillment.\n\nIf there is no inventory match, the text value received in the query for\n`call.callFormat` is passed\nas-is. \n\n```transact-sql\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.CREATE_CALL\"\u003e\n \u003cintent\n android:targetPackage=\"YOUR_UNIQUE_APPLICATION_ID\"\n android:targetClass=\"YOUR_TARGET_CLASS\"\u003e\n \u003cparameter\n android:name=\"call.callFormat\"\n android:key=\"callFormat\"/\u003e\n \u003cparameter\n android:name=\"call.participant.name\"\n android:key=\"name\"/\u003e\n \u003cparameter\n android:name=\"call.participant.telephone\"\n android:key=\"telephone\"/\u003e\n \u003cparameter\n android:name=\"call.participant.identifier\"\n android:key=\"identifier\"/\u003e\n \u003c/intent\u003e\n \u003c/capability\u003e\n \u003c!-- Short and long labels must be @string resource. --\u003e\n \u003cshortcut\n android:shortcutId=\"ID_ONE\"\n android:shortcutShortLabel=\"@string/shortcut_short_label\"\n android:shortcutLongLabel=\"@string/shortcut_long_label\"\u003e\n \u003ccapability-binding android:key=\"actions.intent.CREATE_CALL\"\u003e\n \u003cparameter-binding\n android:value=\"callFormat\"\n android:key=\"call.callFormat\"/\u003e\n \u003c/capability-binding\u003e\n \u003c/shortcut\u003e\n\u003c/shortcuts\u003e\n \n```\n\n\u003cbr /\u003e\n\n### actions.xml\n\n\n`call.callFormat` is an\nintent parameter that supports [inline inventory](/guide/app-actions/action-schema#inline-inventory).\nBy defining an `\u003centity-set\u003e` for `call.callFormat`,\nyou can uniquely identify entities that are of interest to your app or restrict\nfulfillment to the set of supported entities.\n\nIn the following example, when the user query matches the\n`callFormat_one`\nentity, Assistant provides the associated identifier, `ID_ONE`, as\nthe URL parameter `callFormat`\nto fulfillment.\n\nIf there is no inventory match, the text value received in the query for\n`call.callFormat` is passed\nas-is. \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.CREATE_CALL\"\u003e\n \u003cfulfillment urlTemplate=\"myapp://deeplink{?callFormat}\" \u003e\n \u003c!-- callFormat = \"ID_ONE\" or \"ID_TWO\" --\u003e\n \u003c!-- If no inventory match, callFormat is a text value, such as \"Audio\" --\u003e\n \u003c!-- (Optional) Use entityMatchRequired=\"true\" to require inventory match for fulfillment --\u003e\n \u003cparameter-mapping urlParameter=\"callFormat\" intentParameter=\"call.callFormat\" /\u003e\n \u003c/fulfillment\u003e\n\n \u003c!-- Define parameters with inventories here --\u003e\n \u003cparameter name=\"call.callFormat\"\u003e\n \u003centity-set-reference entitySetId=\"callFormatEntitySet\"/\u003e\n \u003c/parameter\u003e\n \u003c/action\u003e\n\n \u003centity-set entitySetId=\"callFormatEntitySet\"\u003e\n \u003c!-- Provide an identifier per entity --\u003e\n \u003centity identifier=\"ID_ONE\" name=\"callFormat_one\" alternateName=\"@array/callFormat_one_synonyms\"/\u003e\n \u003centity identifier=\"ID_TWO\" name=\"callFormat_two\" alternateName=\"@array/callFormat_two_synonyms\"/\u003e\n \u003c/entity-set\u003e\n\u003c/actions\u003e\n```\n\n\u003cbr /\u003e\n\nThe `url` attribute associated with the entity can be used to\ndetermine the fulfillment URL if there is an inventory match. In the following\nexample, when the user query matches the\n`callFormat_one`\nentity, Assistant provides `myapp://deeplink/one` as the fulfillment\nURL. \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.CREATE_CALL\"\u003e\n \u003c!-- Use url from inventory match for deep link fulfillment --\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 inventories here --\u003e\n \u003cparameter name=\"call.callFormat\"\u003e\n \u003centity-set-reference entitySetId=\"callFormatEntitySet\"/\u003e\n \u003c/parameter\u003e\n \u003c/action\u003e\n\n \u003centity-set entitySetId=\"callFormatEntitySet\"\u003e\n \u003c!-- Provide a URL per entity --\u003e\n \u003centity url=\"myapp://deeplink/one\" name=\"callFormat_one\" alternateName=\"@array/callFormat_one_synonyms\"/\u003e\n \u003centity url=\"myapp://deeplink/two\" name=\"callFormat_two\" alternateName=\"@array/callFormat_two_synonyms\"/\u003e\n \u003c/entity-set\u003e\n \u003c/actions\u003e\n \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\": \"Call\",\n \"callFormat\": \"Audio\",\n \"participant\": {\n \"@type\": \"Person\",\n \"identifier\": \"John_Doe_User_Id\",\n \"name\": \"John Doe\",\n \"telephone\": \"012-345-6789\"\n }\n}\n```"]]