Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Gunakan halaman ini untuk menemukan contoh berdasarkan fitur Actions on Google yang didukungnya.
Pilih contoh di bawah untuk melihat contoh lengkap di
repositori GitHub Actions on Google. Dari repositori GitHub, Anda dapat meng-clone atau mendownload contoh untuk membantu Anda membuat Action sendiri.
Contoh di GitHub
Tabel berikut mencantumkan project Actions contoh kami. Anda dapat memfilter tabel ini
berdasarkan fitur yang ingin Anda lihat digunakan dalam sampel.
Action yang merespons dengan komponen percakapan yang berbeda
berdasarkan permintaan pengguna. Tindakan ini berisi campuran
respons media, pemilihan visual, dan respons sederhana yang kaya.
Kartu dasar, tombol, kartu gambar, daftar, kumpulan, respons media,
respons sederhana, kartu tabel
Action yang merender segitiga berputar dalam layar penuh menggunakan
Canvas Interaktif. Project Actions ini juga berisi aplikasi web sederhana yang digunakan untuk Canvas Interaktif.
Tindakan yang menyimulasikan toko teh tempat pengguna dengan akun tertaut dapat melakukan pesanan fiktif dan menyimpan preferensi mereka.
Dalam Tindakan, pengguna dapat beralih ke alur percakapan yang
memungkinkan mereka menautkan akun.
Tindakan yang memungkinkan pengguna melakukan pemesanan menggunakan dua opsi pembayaran yang berbeda (Google Pay dan dikelola penjual) dan menerima tanda terima. Tindakan ini memeriksa persyaratan transaksi dan juga
menunjukkan berbagai aspek dalam membangun alur transaksi.
Tindakan yang memungkinkan pengguna berlangganan pembaruan harian atau notifikasi push untuk kelas gym fiktif menggunakan adegan sistem yang disediakan.
Action yang menyajikan fakta tentang Google kepada pengguna dalam
berbagai kategori berdasarkan respons pengguna. Pengguna dapat memilih
untuk mempelajari sejarah Google atau kantor pusatnya.
Actions Builder, respons kaya, respons multi-modal,
Canvas Interaktif, jenis kustom, transisi adegan, deep link
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-24 UTC."],[[["\u003cp\u003eThis page provides access to a variety of Actions on Google sample projects that demonstrate different features.\u003c/p\u003e\n"],["\u003cp\u003eYou can browse and download these samples from the Actions on Google GitHub repository to help you build your own Actions.\u003c/p\u003e\n"],["\u003cp\u003eSamples are categorized by features such as Account Linking, Transactions, Interactive Canvas, and more, allowing you to easily find relevant examples.\u003c/p\u003e\n"],["\u003cp\u003eSmart home developers can find separate samples for controlling IoT devices with Google Assistant on a dedicated smart home page.\u003c/p\u003e\n"]]],[],null,["# Sample index\n\nUse this page to find samples by the Actions on Google features they support.\nSelect a sample below to view the full sample in the\n[Actions on Google GitHub repo](https://github.com/actions-on-google). From the GitHub repo,\nyou can clone or download samples to help you build your own Actions.\n\nSamples on GitHub\n-----------------\n\nThe following table lists our sample Actions projects. You can filter this table\nby the features you'd like to see used in the sample. \n\n| Sample | Description | Highlighted features |\n|----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|\n| [Hello World](https://github.com/actions-on-google/actions-builder-hello-world-nodejs) | A simple Action that responds to the user with \"Hello world\" from both a scene condition and a webhook event handler. | Scene, webhook, simple response |\n| [Conversation components](https://github.com/actions-on-google/actions-builder-conversation-components-nodejs) | An Action that responds with a different conversation component based on what the user asks for. This Action contains a mixture of simple, rich, visual selection, and media responses. | Basic card, button, image card, list, collection, media response, simple response, table card |\n| [Interactive Canvas](https://github.com/actions-on-google/actions-builder-canvas-nodejs) | An Action that renders a spinning triangle in full screen using Interactive Canvas. This Actions project also contains a simple web app used for Interactive Canvas. | Interactive Canvas |\n| [Account linking](https://github.com/actions-on-google/actions-builder-account-linking-nodejs) | An Action that simulates a tea shop where users with linked accounts can place fictional orders and store their preferences. In the Action, users can transition to a conversation flow that allows them to link accounts. | Account linking |\n| [Transactions](https://github.com/actions-on-google/actions-builder-transactions-nodejs) | An Action that lets a user place an order using two different payment options (Google Pay and merchant-managed) and receive a receipt. The Action checks for transaction requirements and also demonstrates different aspects of building a transaction flow. | Transactions |\n| [Daily updates and push notifications](https://github.com/actions-on-google/actions-builder-updates-nodejs) | An Action that allows users to subscribe to daily updates or push notifications for a fictional gym class using provided system scenes. | Daily updates, push notifications |\n| [Facts About Google](https://github.com/actions-on-google/actions-builder-facts-about-google-nodejs) | An Action that presents a user with facts about Google in different categories based on the user's response. Users can choose to learn about Google's history or about its headquarters. | Actions Builder, rich responses, multi-modal responses, Interactive Canvas, custom types, scene transitions, deep links |\n| [Localization](https://github.com/actions-on-google/actions-builder-question-l10n-nodejs) | An Action that demonstrates supporting localization and organizing a project to support multiple languages and locales. | Localization |\n| [Custom NLU](https://github.com/actions-on-google/actions-builder-custom-nlu-nodejs) | An Action that demonstrates how to organize an Actions project to support your own custom natural language understanding (NLU) in webhook code. | Custom NLU |\n\nSmart home\n----------\n\nWant to enable users to control your IoT device with Google Assistant?\nCheck out our [smart home samples](https://developers.google.com/assistant/smarthome/samples)."]]