Kể từ ngày 13 tháng 6 năm 2023, Hành động trò chuyện không còn được dùng nữa. Để biết thêm thông tin, hãy xem phần Hành động trò chuyện ngừng hoạt động.
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.
Quy trình của Trợ lý Google thực thi nhiều Hành động bằng một lệnh duy nhất, phù hợp với người dùng khi họ thức dậy vào buổi sáng, ra khỏi nhà, chuẩn bị đi ngủ hoặc nhiều việc khác mà họ thực hiện trong suốt cả ngày. Sau khi ai đó tương tác với Hành động của bạn, hãy đưa ra đề xuất về Quy trình để người dùng có thể thêm Hành động của bạn vào Quy trình của họ.
Thiết lập đề xuất của Quy trình
Để định cấu hình một trong các ý định của Hành động cho các đề xuất Quy trình, hãy làm theo các hướng dẫn sau:
Chuẩn bị ý định kích hoạt
Định cấu hình một trong các ý định trong Hành động của bạn làm ý định kích hoạt. Ý định này sẽ được thêm vào Quy trình của người dùng khi họ làm theo đề xuất của bạn. Khi người dùng chạy Quy trình, ý định sẽ kích hoạt và Quy trình sẽ tiếp tục từ đó.
Việc thực hiện ý định kích hoạt của bạn sẽ đưa ra phản hồi và sau đó kết thúc cuộc trò chuyện mà không cần người dùng phải tương tác thêm. Khi gọi một ý định trong Quy trình, Trợ lý sẽ tự động cắt bớt câu trả lời để kết thúc cuộc trò chuyện.
Để xác định ý định kích hoạt trong Dialogflow, hãy làm theo các bước sau:
Chọn ý định kích hoạt. Nếu ý định của bạn không xuất hiện trong danh sách, hãy đảm bảo ý định đó được định cấu hình làm ý định kích hoạt và đặt chế độ tích hợp Trợ lý của Dialogflow thành tự động xem trước các thay đổi.
Di chuyển xuống phần Mức độ tương tác của người dùng rồi bật tuỳ chọn Bạn có muốn cung cấp đề xuất về quy trình cho người dùng không.
Nhập Tiêu đề nội dung.
Nhấp vào Lưu.
Bạn hiện đã thiết lập Hành động của mình để đề xuất ý định cho Quy trình.
Thử nghiệm các đề xuất của Quy trình
Để kiểm tra các đề xuất của Quy trình bằng thiết bị di động có Trợ lý Google, hãy làm theo các bước sau:
Hãy đảm bảo bạn đang dùng Tài khoản Google mà bạn đã dùng để tạo Hành động.
Gọi Hành động của bạn.
Tương tác với Hành động của bạn; sau đó kết thúc cuộc trò chuyện.
Chọn khối đề xuất Quy trình. Nếu bạn không thấy khối này, hãy kiểm thử lại Hành động, nhưng gọi các ý định khác nhau trong suốt cuộc trò chuyện.
Làm theo lời nhắc để thêm Hành động vào một Quy trình.
Bắt đầu Quy trình trên thiết bị của bạn và nhớ gọi Hành động đó.
[[["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-07-25 UTC."],[[["\u003cp\u003eGoogle Assistant Routines let users execute multiple Actions with a single command, streamlining daily tasks.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can set up Routine suggestions to encourage users to add their Action to their Routines for increased engagement.\u003c/p\u003e\n"],["\u003cp\u003eRoutine suggestions are currently limited to the en-US locale and require a specific triggering intent configured in Dialogflow and the Actions console.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should thoroughly test their Routine suggestions on a Google Assistant-enabled device to ensure proper functionality.\u003c/p\u003e\n"]]],["Google Assistant Routines enable users to execute multiple actions with a single command. To suggest your Action for inclusion in users' Routines, configure a \"triggering intent\" in Dialogflow or the Actions SDK. In Dialogflow's Google Assistant integration, add the intent under \"Implicit invocation\" and enable auto-preview. In the Actions console, turn on \"routine suggestions\" for the intent and add a title. Test suggestions by invoking and interacting with the Action, then add it to a Routine.\n"],null,["# Routine suggestions\n\n| **Note:** Routines are only supported in Dialogflow.\n\nGoogle Assistant Routines execute multiple Actions\nwith a single command, perfect for those times when users wake up in the morning,\nhead out of the house, get ready for bed or many of the other tasks they perform\nthroughout the day. After someone engages with your\nAction, offer a Routine suggestion that lets users add your Action to their Routines.\n| **Note:** Routine suggestions are currently only available for Google Assistant users in the [en-US locale](/assistant/console/languages-locales).\n\nSet up Routine suggestions\n--------------------------\n\nTo configure one of your Action's intents for Routine suggestions, follow these\ninstructions:\n\n### Prepare a triggering intent\n\nConfigure one of your Action's intents as a triggering intent. This intent\nis added to users' Routines when they follow your suggestion. When a user runs\ntheir Routine, the intent triggers and the Routine\ncontinues from there.\n\nYour triggering intent's fulfillment should provide the response and then end\nthe conversation without any additional user interaction. When calling an\nintent as part of a Routine, Assistant automatically trims its response\nto end the conversation.\n\nTo define a triggering intent in Dialogflow, follow these steps:\n\n1. In the [Dialogflow Console](https://console.dialogflow.com), click on **Integrations**.\n2. Under the **Google Assistant** section, click on **Integration Settings**.\n3. Under **Discovery \\\u003e Implicit invocation** , click on **Add intent** and select your triggering intent if it's not already there.\n4. Turn on **Auto-preview** changes if it's not already enabled.\n5. Click **Close**.\n\nIn the Actions SDK, define your triggering intent in the\nAction package.\n\n### Enable updates\n\nTo turn on Routine suggestions for your triggering intent, follow these steps:\n\n1. In the [Actions console](https://console.actions.google.com), navigate to **Develop \\\u003e Actions**.\n2. Select your triggering intent. If your intent doesn't appear in the list, make sure it's configured as a triggering intent and Dialogflow's Assistant integration is set to auto-preview changes.\n3. Scroll down to the **User engagement** section and turn on **Would you like to offer routine suggestions to users**.\n4. Enter a **Content title**.\n5. Click **Save**.\n\nYou've now configured your Action to suggest your intent for a Routine.\n\nTest Routine suggestions\n------------------------\n\nTo test your Routine suggestions using a Google Assistant-enabled mobile device,\nfollow these steps:\n\n1. Make sure you're using the Google account that you used to build your Action.\n2. Invoke your Action.\n3. Interact with your Action; then, end the conversation.\n4. Select the **Routine** suggestion chip. If you don't see this chip, test your Action again, but invoke different intents throughout the conversation.\n5. Follow the prompts to add the Action to a Routine.\n6. Start the Routine on your device, and make sure your Action is invoked.\n\n| **Note:** You can also test daily updates using the Actions simulator, but not all functionality is available."]]