Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trang này mô tả cách xác định và liên kết hành trình của người dùng trong ứng dụng Google Chat. Hành trình của người dùng là một tập hợp các hành động và lượt tương tác giữa người dùng và ứng dụng Chat, giúp người dùng đạt được mục tiêu. Xác định các hành trình này trước khi tạo ứng dụng Chat để xác định những điều sau:
Thời điểm cung cấp thông báo lỗi.
Thời điểm đề xuất các lệnh để giúp người dùng sử dụng ứng dụng Chat.
Trường hợp có thể đơn giản hoá luồng người dùng.
Tạo sơ đồ quy trình của tất cả hành trình của người dùng
Sơ đồ quy trình là công cụ hữu ích để vừa hình dung vừa suy nghĩ về tất cả các hoạt động tương tác của người dùng với ứng dụng Chat. Nếu ứng dụng Chat của bạn hoạt động với các dịch vụ khác của Google hoặc các dịch vụ bên ngoài Google, hãy nhớ thêm cả các lượt tương tác này. Lý tưởng nhất là sơ đồ quy trình của bạn mô tả mọi lượt tương tác có thể xảy ra hoặc đối với các quy trình công việc phức tạp hơn, sơ đồ quy trình cho mọi hành trình của người dùng.
Sơ đồ quy trình sau đây cho thấy hành trình của người dùng trong một ứng dụng Chat giúp mọi người quản lý Lịch Google từ Chat:
Sơ đồ trước cho thấy các bước sau đây của một người dùng muốn sử dụng ứng dụng Chat để kiểm tra Lịch:
Người dùng thêm ứng dụng Chat vào một không gian.
Ứng dụng Chat sẽ gửi một thông báo chào mừng nhắc người dùng uỷ quyền truy cập.
Nếu người dùng từ chối uỷ quyền truy cập, thì thông báo chào mừng trước đó sẽ được gửi lại.
Nếu đồng ý cho phép truy cập, người dùng sẽ nhấp vào Đăng nhập.
Nếu người dùng không thể đăng nhập, hệ thống sẽ gửi thông báo lỗi yêu cầu người dùng thử đăng nhập lại.
Nếu người dùng đăng nhập thành công, hệ thống sẽ gửi một thông báo giới thiệu mô tả cách sử dụng ứng dụng Chat.
Người dùng nhập /checkCalendarlệnh gạch chéo
để lấy lịch biểu hôm nay từ Lịch.
Nếu ứng dụng Chat không thể truy xuất lịch của người dùng, thì một thông báo lỗi sẽ được gửi.
Nếu thành công, ứng dụng Chat sẽ gửi lịch biểu của ngày hôm nay trong một thông báo dạng thẻ.
Viết câu chuyện người dùng để hướng dẫn hành trình của người dùng
Câu chuyện người dùng thể hiện mục tiêu của người dùng và được viết để người dùng, tác vụ và mục đích của câu chuyện được rõ ràng. Câu chuyện người dùng phải có kết thúc mở vì thường có nhiều cách để đáp ứng các yêu cầu mà câu chuyện mô tả. Câu chuyện người dùng giúp bạn thiết lập lộ trình để người dùng làm theo khi họ làm việc với ứng dụng Chat.
Câu chuyện người dùng có định dạng như sau: Là một người dùng, tôi muốn thực hiện một nhiệm vụ để có thể đạt được một mục tiêu. Trong ví dụ trước, câu chuyện người dùng là: Là một nhân viên đa chức năng, tôi muốn kiểm tra lịch của mình để có thể cộng tác với người khác trong các dự án.
Hầu hết ứng dụng Chat đều có nhiều câu chuyện người dùng. Ví dụ: một câu chuyện người dùng khác cho ứng dụng Chat mẫu là: Là một người quản lý, tôi muốn lên lịch một cuộc họp hằng tuần bao gồm tất cả nhân viên báo cáo trực tiếp cho tôi để chúng ta có thể cộng tác trên các dự án. Đối với mỗi câu chuyện người dùng, hãy xác định hành trình của người dùng trong ứng dụng Chat và tạo sơ đồ quy trình để xác định tất cả các lượt tương tác tiềm năng với ứng dụng Chat.
Thêm chú giải
Để giúp người khác đọc được hành trình của người dùng, hãy thêm chú giải mô tả hình dạng nào đại diện cho loại tương tác nào. Ví dụ: xác định một hình dạng duy nhất cho các điểm quyết định của người dùng, dữ liệu đầu vào của người dùng, kết quả thành công và không thành công từ ứng dụng Chat và mọi thông báo từ ứng dụng Chat.
Tính đến tất cả các trường hợp lỗi
Để đảm bảo người dùng không bao giờ gặp sự cố khi sử dụng ứng dụng Chat, hãy đưa các tình huống lỗi vào bản đồ hành trình của người dùng. Xác định cách lỗi xảy ra, viết thông báo lỗi có thể hành động được và xác định cách người dùng có thể phản hồi lỗi để đạt được mục tiêu của họ. Ví dụ: "Tên người dùng hoặc mật khẩu không chính xác. Hãy thử đăng nhập lại."
Xác định những thông báo mà ứng dụng Chat gửi cho người dùng
Mỗi lượt tương tác phải kết thúc bằng một tin nhắn từ ứng dụng Chat đến người dùng, ngay cả khi đó chỉ là tin nhắn xác nhận rằng ứng dụng Chat đã hoàn tất thành công yêu cầu của người dùng. Ví dụ: "Chào mừng bạn đến với ứng dụng lên lịch. Tôi có thể lên lịch, lên lịch lại hoặc xoá sự kiện khỏi lịch của bạn. Hãy xem lịch biểu của ngày hôm nay bằng cách nhập /checkCalendar."
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-03-06 UTC."],[[["\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)"]]