تحديد جميع رحلات المستخدم
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
توضّح هذه الصفحة كيفية تحديد وربط تجارب المستخدِمين في
تطبيق Google Chat. ورحلة المستخدِم هي مجموعة من الإجراءات والتفاعلات بين المستخدِم وتطبيق Chat التي تساعده في تحقيق هدف معيّن. حدِّد هذه المسارات قبل إنشاء
تطبيق Chat لتحديد ما يلي:
- حالات تقديم رسائل الخطأ
- حالات اقتراح أوامر لمساعدة المستخدمين على استخدام
تطبيق Chat
- الأماكن التي يمكن فيها تبسيط مسار المستخدِم
إنشاء مخطّط تدفق لجميع رحلات المستخدِمين
المخططات البيانية هي أدوات مفيدة لكل من التمثيل البصري والتفكير في جميع تفاعلات مستخدمي
تطبيق Chat. إذا كان تطبيق
Chat يعمل مع خدمات أخرى من Google أو
خدمات خارج Google، احرص على تضمين هذه التفاعلات أيضًا. من الأفضل أن يوضّح المخطّط البياني كل تفاعل ممكن، أو أن يوضّح مخطّطًا بيانيًا لكل رحلة مستخدم في حال كانت سير العمل أكثر تعقيدًا.
يوضِّح المخطّط البياني التالي رحلة المستخدِم في أحد
تطبيقات Chat التي تساعد المستخدمين في إدارة
تقويم Google من Chat:

يوضِّح المخطّط البياني السابق الخطوات التالية التي يتّبعها المستخدم الذي يريد استخدام تطبيق
Chat للاطّلاع على "تقويمه":
يضيف مستخدم تطبيق Chat إلى مساحة.
يُرسِل تطبيق Chat رسالة ترحيب تطلب
من المستخدم منح الإذن بالوصول.
- إذا رفض المستخدم تفويض الوصول، تتم إعادة إرسال رسالة الترحيب السابقة.
- إذا وافق المستخدم على تفويض الوصول، عليه النقر على تسجيل الدخول.
يُطلب من المستخدم تسجيل الدخول من رسالة مربّع حوار.
- إذا تعذّر على المستخدم تسجيل الدخول، يتم إرسال رسالة خطأ تطلب منه محاولة تسجيل الدخول مرة أخرى.
- إذا تمكّن المستخدم من تسجيل الدخول بنجاح، يتم إرسال رسالة ترحيب توضّح كيفية استخدام تطبيق Chat.
يكتب المستخدم /checkCalendar
الأمر slash
للحصول على جدول اليوم من "تقويم Google".
- إذا تعذّر على تطبيق Chat استرداد تقويم
المستخدم، يتم إرسال رسالة خطأ.
- في حال نجاح العملية، يرسل تطبيق Chat جدول أعمال اليوم في رسالة بطاقة.
كتابة قصص المستخدمين لتوجيه رحلاتهم
تمثّل قصة المستخدم هدف المستخدم، ويتم كتابتها بحيث يكون المستخدم والمهمة
والغرض من القصة واضحًا. من المفترض أن تكون قصص المستخدمين مفتوحة
لأنّه عادةً ما تكون هناك أكثر من طريقة واحدة لتلبية المتطلبات التي تصفها. تساعدك قصص المستخدمين في تحديد مسارات ليتبعها المستخدمون أثناء عملهم مع
تطبيق Chat.
تتّبع قصص المستخدم التنسيق التالي: بصفتي مستخدمًا، أريد تنفيذ مهمة، كي تتمكّن
من تحقيق هدف. في المثال السابق، تكون قصة المستخدم على النحو التالي: بصفتي
عاملاً في وظائف متعددة، أريد الاطّلاع على تقويمي حتى أتمكّن من
التعاون في المشاريع مع الآخرين.
تحتوي معظم تطبيقات Chat على قصص مستخدمين متعدّدة. على سبيل المثال، هناك قصة مستخدم أخرى
لتطبيق Chat، وهي: بصفتي مديرًا،
أريد تحديد موعد اجتماع أسبوعي يشمل جميع تقاريري المباشرة، حتى تتمكّن
من التعاون في المشاريع. لكل قصة مستخدم، حدِّد رحلة المستخدمين
في تطبيق Chat وأنشئ مخطّطًا بيانيًا لتوضيح
جميع التفاعلات المحتمَلة مع تطبيق Chat.
تضمين تسمية توضيحية
لمساعدة الآخرين في قراءة تجارب المستخدِمين، أدرِج توضيحًا يصف شكل كل نوع من أنواع التفاعل. على سبيل المثال، حدِّد شكلًا فريدًا
لنقاط قرار المستخدم ومدخلات المستخدم والنتائج الناجحة وغير الناجحة من
تطبيق Chat وأي رسائل من
تطبيق Chat.
مراعاة جميع سيناريوهات الأخطاء
لضمان عدم مواجهة المستخدمين لأي مشاكل أثناء استخدام
تطبيق Chat، يجب تضمين سيناريوهات الأخطاء في
خريطة رحلة المستخدِم. حدِّد كيفية حدوث الخطأ،
اكتب رسالة خطأ قابلة للتنفيذ،
وحدِّد كيفية ردّ المستخدم على الخطأ لتحقيق
هدفه. على سبيل المثال، "اسم المستخدم أو كلمة المرور غير صحيحَين. يُرجى محاولة تسجيل الدخول مرة أخرى".
تحديد الرسائل التي يرسلها تطبيق Chat إلى المستخدمين
يجب أن تنتهي كل تفاعل برسالة من
تطبيق Chat إلى المستخدم، حتى لو كانت رسالة
تؤكّد من أنّ تطبيق Chat أكمل بنجاح طلب العميل. على سبيل المثال، "مرحبًا بك في تطبيق تحديد المواعيد. يمكنني تحديد مواعيد الأحداث أو
إعادة تحديدها أو إزالتها من تقويمك. يمكنك الاطّلاع على جدول أعمالك اليوم
من خلال كتابة /checkCalendar
."
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-03-06 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-03-06 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eDefine user journeys with flowcharts to visualize user interactions and potential pain points within your Google Chat app.\u003c/p\u003e\n"],["\u003cp\u003eUtilize user stories (As a \u003cem\u003euser\u003c/em\u003e, I want to \u003cem\u003edo a task\u003c/em\u003e, so I can \u003cem\u003eachieve a goal\u003c/em\u003e) to guide the development of user journeys and ensure alignment with user needs.\u003c/p\u003e\n"],["\u003cp\u003eAccount for all error scenarios within user journeys, crafting actionable error messages to help users recover and continue their workflow.\u003c/p\u003e\n"],["\u003cp\u003eEnsure each user interaction within the journey concludes with a message from the Chat app, providing feedback or guidance to the user.\u003c/p\u003e\n"],["\u003cp\u003eInclude a legend with your user journey flowcharts to clarify the meaning of different shapes and symbols, making them easier to understand.\u003c/p\u003e\n"]]],["Define user journeys as sets of actions between users and a Chat app to achieve goals. Create flowcharts to visualize all interactions, including those with external services. Write user stories in the format: \"As a *user*, I want to *do a task*, so I can *achieve a goal*.\" Include a legend for the flowchart. Map out error scenarios, defining the error, message, and user response. Detail each interaction with a message from the Chat app.\n"],null,["# Define all user journeys\n\nThis page describes how to define and map the user journeys of your\nGoogle Chat app. A *user journey* is a set of actions and\ninteractions between a user and a Chat app that helps\nthe user achieve a goal. Define these journeys before building the\nChat app to identify the following:\n\n- When to provide error messages.\n- When to suggest commands to help users use the Chat app.\n- Where the user flow might be simplified.\n\nCreate a flowchart of all user journeys\n---------------------------------------\n\nFlowcharts are useful tools for both visualizing and thinking through all user\nChat app interactions. If your\nChat app works with other Google services, or\nservices outside of Google, be sure to include these interactions too. Ideally,\nyour flowchart depicts every possible interaction, or for more complicated\nworkflows, a flowchart for every user journey.\n\nThe following flowchart shows the user journey for a\nChat app that helps people manage their\nGoogle Calendar from Chat:\n\nThe preceding diagram shows the following steps of a user wanting to use a\nChat app to check their Calendar:\n\n1. A user adds the Chat app to a space.\n\n2. The Chat app sends a welcome message that prompts\n the user to [authorize access](/workspace/chat/authenticate-authorize).\n\n - If the user refuses to authorize access, the previous welcome message is resent.\n - If the user agrees to authorize access, they click **Sign in**.\n3. The user is asked to sign in from a\n [dialog message](/workspace/chat/dialogs).\n\n - If the user is unable to sign in, an error message is sent asking the user to try signing in again.\n - If the user is able to successfully sign in, an onboarding message is sent that describes how to use the Chat app.\n4. The user types the `/checkCalendar`\n [slash command](/workspace/chat/commands)\n to get today's schedule from Calendar.\n\n - If the Chat app is unable to retrieve the user's calendar, an error message is sent.\n - If successful, the Chat app sends today's schedule in a card message.\n\nWrite user stories to guide your user journeys\n----------------------------------------------\n\nA *user story* represents a user goal, and is written so that the user, task,\nand purpose of the story is clear. User stories are meant to be open-ended\nbecause there's usually more than one way to satisfy the requirements that they\ndescribe. User stories help you set paths for users to follow as they work with\nChat app.\n\nUser stories have the following format: As a *user* , I want to *do a task* , so I\ncan *achieve a goal* . In the previous example, the user story is: As a\n*cross-functional worker* , I want to *check my calendar* so I can\n*collaborate on projects with others*.\n\nMost Chat apps have multiple user stories. For example, another\nuser story for the example Chat app is: As a *manager* ,\nI want to *schedule a weekly meeting that includes all my direct reports* , so we\ncan *collaborate on projects*. For each user story, identify the users' journey\nfor your Chat app and create a flowchart to identify\nall potential interactions with your Chat app.\n\nInclude a legend\n----------------\n\nTo help others read your user journeys, include a legend that describes which\nshape represents which type of interaction. For example, identify a unique shape\nfor user decision points, user input, successful and unsuccessful results from\nyour Chat app, and any messages from the\nChat app.\n\nAccount for all error scenarios\n-------------------------------\n\nTo ensure users never get stuck while working with your\nChat app, include error scenarios in your user journey\nmap. Define how the error occurs,\n[write an actionable error message](/workspace/chat/write-error-messages),\nand identify how the user might respond to the error in order to achieve their\ngoal. For example, \"Wrong username or password. Try signing in again.\"\n\nIdentify the messages your Chat app sends to users\n--------------------------------------------------\n\nEach interaction should end with a message from your\nChat app to the user, even if it's only a message\nconfirming that the Chat app successfully completed the\nuser's request. For example, \"Welcome to the scheduling app. I can schedule,\nreschedule, or remove events from your calendar. Take a look at today's schedule\nby typing `/checkCalendar`.\"\n\nRelated topics\n--------------\n\n- [Set up slash commands to interact with Google Chat users](/workspace/chat/slash-commands)\n- [Write an actionable error message](/workspace/chat/write-error-messages)\n- [Design user interactions](/workspace/chat/interactivity)"]]