Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Rutyny Asystenta Google wykonują wiele działań za pomocą jednego polecenia, co jest idealnym rozwiązaniem w przypadku, gdy użytkownik budzi się rano, wychodzi z domu, przygotowuje się do snu lub wykonuje wiele innych zadań w ciągu dnia. Gdy ktoś wejdzie w interakcję z Twoim akcją, zaoferuj sugerowaną rutynę, która pozwoli im dodać akcję do rutyn.
Konfigurowanie sugestii rutyn
Aby skonfigurować jedną z intencji akcji na potrzeby sugestii dotyczących rutyn, wykonaj te czynności:
Przygotowywanie intencji aktywującej
Skonfiguruj jedną z intencji akcji jako intencję aktywującą. Ta intencja jest dodawana do rutyn użytkowników po zastosowaniu Twojej sugestii. Gdy użytkownik uruchamia rutynę, intencja się wyzwala i tam działa.
Aby zdefiniować intencję aktywującą w Dialogflow, wykonaj te czynności:
Wybierz intencję aktywującą. Jeśli intencji nie ma na liście,
sprawdź, czy jest ona skonfigurowana jako intencja wyzwalająca, a integracja Asystenta Dialogflow jest ustawiona na automatyczny podgląd zmian.
Przewiń w dół do sekcji Zaangażowanie użytkowników i włącz opcję Czy chcesz oferować użytkownikom rutynowe sugestie.
Wpisz tytuł treści.
Kliknij Zapisz.
Akcja została skonfigurowana tak, aby sugerowała intencję rutyny.
Przetestuj sugestie dotyczące rutyn
Przetestuj sugestie dotyczące rutyn na urządzeniu mobilnym z Asystentem Google. Aby to zrobić:
Upewnij się, że korzystasz z konta Google użytego do utworzenia akcji.
Wywołaj akcję.
Wejdź w interakcję z akcją, a potem zakończ rozmowę.
Wybierz element sugestii rutyny. Jeśli nie widzisz tego elementu, spróbuj ponownie użyć akcji, ale w trakcie rozmowy wywołuj inne intencje.
Postępuj zgodnie z wyświetlanymi instrukcjami, aby dodać działanie do rutyny.
Uruchom rutynę na urządzeniu i upewnij się, że została wywołana.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eGoogle Assistant Routines let users execute multiple actions with a single command, streamlining daily tasks.\u003c/p\u003e\n"],["\u003cp\u003eYou can configure your Action to suggest itself to users for inclusion in their Routines, increasing user engagement.\u003c/p\u003e\n"],["\u003cp\u003eSetting up Routine suggestions involves preparing a triggering intent in Dialogflow or the Actions SDK and enabling updates in the Actions console.\u003c/p\u003e\n"],["\u003cp\u003eRoutine suggestions are currently only available for Google Assistant users in the en-US locale.\u003c/p\u003e\n"],["\u003cp\u003eTest your implementation thoroughly on a mobile device to ensure the Routine suggestion chip appears and the Action is invoked correctly within the Routine.\u003c/p\u003e\n"]]],["Google Assistant Routines allow users to execute multiple actions with a single command. Developers can configure their Actions to suggest integration with these Routines. This is done by setting a triggering intent within the Action that will be added to users' Routines. To configure this, developers must define a triggering intent in Dialogflow or the Actions SDK, enable Routine suggestions for that intent in the Actions console, set a content title and then test using a mobile device.\n"],null,["# Routine suggestions (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| **Note:** Your triggering intent's fulfillment should provide the response then end the conversation without any additional user interaction. When calling an intent as part of a Routine, the Assistant will automatically trim its response to end the conversation.\n\nTo define a triggering intent in Dialogflow, do the following:\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, do the following:\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\nTest your Routine suggestions using a mobile device with the Google Assistant\nby following 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, try using 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."]]