تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
لكي يتفاعل المستخدمون مع الإجراء، عليهم استدعاؤه. في كثير من الحالات، يكون لدى المستخدمين مهمة محدّدة في أذهانهم، لذا يطلبون من "مساعد Google" التفاعل معها. بالإضافة إلى ذلك، طالما أنّك تصمّم "مهمّتك" لتنفيذ مهام محدّدة ومفيدة، قد يقترحها "مساعد Google" على المستخدمين عندما تكون أفضل "مهمّة" متاحة لطلب البحث الذي يجرونه.
توضّح الأقسام التالية الأنواع المختلفة من عمليات الاستدعاء، كما تصف أفضل طريقة لتصميم الإجراء مع مراعاة إمكانية العثور عليه.
أنواع الاستدعاء
هناك نوعان من استدعاء الإجراءات:
يحدث الاستدعاء الصريح عندما يطلب المستخدمون من "مساعد Google" صراحةً استخدام "مهمتك". يمكنك التحكّم بشكل كبير في الطريقة التي يستدعي بها المستخدمون مهمّتك بشكل صريح، ولكن عليك إعلامهم بالعبارات التي تبدأ محادثة مع مهمّتك. يُعدّ قسم اسأل مساعدك في بطاقة بيانات المتجر الخاصة بـ "الإجراء" مكانًا مناسبًا لنقل هذه المعلومات إلى المستخدمين.
مثال: "Ok Google، أريد التحدث إلى Wayne's Bikes."
يحدث الاستدعاء الضمني عندما يختار "مساعد Google" استدعاء الإجراء بدون أن يطلبه المستخدمون بالاسم. إنّ المثال الأكثر شيوعًا على التفعيل الضمني هو عندما يطلب المستخدمون من "مساعد Google" إنجاز مهمة معيّنة (من خلال ذكر عبارة تفعيل)، ويختار "مساعد Google" تفعيل مهمّتك لإنجاز هذه المهمة لأنّها تستطيع تلبية طلب المستخدم. تتيح ميزة "التفعيل الضمني" للمستخدمين التعرّف على الإجراء واستخدامه ببساطة من خلال ممارسة أنشطتهم اليومية، ولكن تصميم الإجراء مع مراعاة أفضل الممارسات لدينا يزيد من فرص اكتشافه.
مثال: "Ok Google، أريد حجز موعد لإصلاح دراجتي."
عبارات الاستدعاء
تصف عبارة الاستدعاء وظيفة محدّدة في مهمّتك. عندما يستدعي المستخدمون مهمّتك، قد يتضمّن طلب الاستدعاء عبارة استدعاء يمكنها الربط بموضع معيّن في إحدى وظائف مهمّتك.
تشمل أمثلة عبارات التفعيل ما يلي:
"ماذا أرتدي اليوم؟"
"متى موعد الحافلة التالية المتّجهة إلى $location"
"ما هو سعر الذهب الحالي؟"
أريد التأمّل
يمكن للمستخدمين إضافة عبارة تفعيل إلى نهاية طلب التفعيل الصريح أو استخدامها بمفردها لطلب التفعيل الضمني. في كلتا الحالتين، احرص على تصميم عبارات استدعاء مفيدة ومحدّدة الغرض من الإجراء. عبارات التفعيل العامة جدًا لا تفيد المستخدم وتؤدي إلى تقليل مدى توفّر "الإجراء" وإمكانية العثور عليه.
بالإضافة إلى التفعيل باستخدام "مساعد Google"، يمكنك أيضًا تفعيل رابط "مساعد Google" لأي من إجراءاتك. عندما ينقر المستخدمون على هذا الرابط في متصفّح ويب أو متصفّح متوافق مع الأجهزة الجوّالة، يتم توجيههم إلى "مساعد Google"، حيث يمكنهم بدء محادثة مع هذا الإجراء المحدّد.
تاريخ التعديل الأخير: 2025-07-24 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 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,["# Overview (Dialogflow)\n\nIn order for users to engage with your Action, they need to invoke it. In many\ncases users will have your specific Action in mind, so they ask the Google\nAssistant to interface with it. Additionally, as long as you design your Action\nto accomplish specific, helpful tasks, the Assistant may recommend it to users\nwhen it's the best available Action for their query.\n\nThe following sections explain the different types of invocation and\ndescribe how best to design your Action with discovery in mind.\n\nInvocation types\n----------------\n\nThere are two types of Action invocation:\n\n- **Explicit Invocation** occurs when users tell the Assistant that they\n explicitly want to use your Action. You have the most control over how your\n users explicitly invoke your Action, but you need to let your users know\n what phrases start a conversation with your Action. The **Ask Your\n Assistant** section on your Action's [directory listing](/assistant/directory) is a\n good place to relay this information to users.\n\n Example: \"*Hey Google, talk to Wayne's Bikes.*\"\n- **Implicit Invocation** occurs when the Assistant chooses to invoke your\n Action without users calling it by name. The most common example of an\n implicit invocation is when users tell the Assistant they want to accomplish\n a certain task (by stating an [invocation phrase](#invocation_phrases)), and\n the Assistant opts to invoke your Action for that task because it can\n fulfill the user's intent. Implicit invocation enables users to learn about\n and use your Action simply by going about their day, but designing your\n Action with our [best practices](/assistant/df-asdk/checklist) in mind improves the\n chances that it's discovered.\n\n Example: \"*Hey Google, book an appointment to fix my bike.*\"\n\n| **Note:** You don't have to choose between types of invocation for your Action. Users can always explicitly invoke your Action, but you should keep implicit invocation in mind during the design process so you can increase the odds that users discover your Action on their own.\n\nInvocation Phrases\n------------------\n\nAn invocation phrase describes a specific function of your Action. When users\ninvoke your Action, they may include an invocation phrase that can deep link\ninto one of your Action's specific functions.\n\nExamples of invocation phrases include:\n\n- \"*what should I wear today*\"\n- \"*when's the next bus to $location*\"\n- \"*what's the current price of gold*\"\n- \"*want to meditate*\"\n\nUsers can append an invocation phrase to the end of an explicit invocation or\nthem on their own for an implicit invocation. Either way, make sure to design\nuseful invocation phrases that are specific to your Action's purpose. Invocation\nphrases that are too generic aren't helpful to the user and reduce your Action's\nvisibility and discovery.\n\nFor more information about invocation, discovery, and invocation phrases,\nread [explicit](/assistant/df-asdk/discovery/explicit) and [implicit](/assistant/df-asdk/discovery/implicit) invocation.\n\nAssistant links\n---------------\n\nIn addition to invocation using the Assistant, you can also enable an\n[Assistant link](/assistant/engagement/assistant-links) for any of your Actions. Users who click on this link in a web\nor mobile browser are directed to the Google Assistant, where they'll start\na conversation with that specific Action."]]