使用者必須叫用動作,才能與動作互動。在許多情況下,使用者會想到特定動作,因此要求 Google 助理與該動作互動。此外,只要你設計的動作能完成特定實用工作,當使用者查詢時,如果該動作是最佳選擇,Google 助理可能會向使用者推薦。
以下各節說明不同類型的叫用方式,並介紹如何設計動作,讓使用者更容易找到。
叫用類型
動作呼叫分為兩種類型:
明確叫用:使用者明確告知 Google 助理要使用你的動作。您可以充分控管使用者明確叫用動作的方式,但必須讓使用者知道哪些片語會啟動與動作的對話。在動作的目錄清單中,詢問 Google 助理部分是向使用者傳達這項資訊的好地方。
例如:「Ok Google,與 Wayne's Bikes 對話。」
隱含叫用是指 Google 助理選擇叫用你的動作,但使用者並未呼叫動作名稱。最常見的隱含叫用例子是,使用者告訴 Google 助理他們想完成某項工作 (透過叫用詞),而 Google 助理選擇叫用您的動作來完成該工作,因為該動作可以滿足使用者的意圖。隱含叫用功能可讓使用者在日常生活中瞭解及使用你的動作,但設計動作時若能遵循最佳做法,就能提高動作的曝光率。
例如:「Ok Google,預約維修單車的服務。」
叫用詞組
呼叫詞會說明動作的特定功能。使用者叫用動作時,可能會加入叫用詞組,藉此深層連結至動作的特定功能。
以下列舉一些喚醒詞:
「我今天該穿什麼衣服」
「when's the next bus to $location」(下一班前往 $location 的公車何時抵達?)
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-24 (世界標準時間)。"],[[["\u003cp\u003eUsers can engage with your Action through explicit invocation by directly calling its name or implicit invocation where the Assistant suggests it based on user needs.\u003c/p\u003e\n"],["\u003cp\u003eDesigning your Action for specific tasks improves the chances of the Google Assistant recommending it to users, increasing its discoverability.\u003c/p\u003e\n"],["\u003cp\u003eInvocation phrases that describe the Action's functions can be used by users for either explicit or implicit invocation.\u003c/p\u003e\n"],["\u003cp\u003eUsing clear and specific invocation phrases is crucial for enhancing your Action's visibility and ensuring it is easily discovered by users.\u003c/p\u003e\n"],["\u003cp\u003eAssistant links offer an alternative way for users to access your Action by clicking a link in a web or mobile browser to initiate a conversation with the Assistant.\u003c/p\u003e\n"]]],[],null,[]]