Interaktive Google Chat-App erstellen
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite finden Sie eine Übersicht über die Frameworks, die Sie zum Erstellen einer interaktiven Google Chat-App verwenden können.
Mit interaktiven Chat-Apps können Nutzer Folgendes tun:
- Chat-Apps zu Chatbereichen oder Direktnachrichten hinzufügen
- Nachrichten an Chat-Apps senden oder von Chat-Apps empfangen
- Chat-Apps mit einem Befehl auffordern
- Vorschau von Links aus einem externen Dienst oder System ansehen
- Sie senden Informationen an Chat-Apps, z. B. indem Sie Text in ein Dialogfeld oder eine Kartenmitteilung eingeben.
So finden und verwenden Nutzer interaktive Chat-Apps
Nutzer können im Marketplace veröffentlichte Chat-Apps auf verschiedene Arten finden und verwenden, z. B.:
- Chat-Apps in Google Chat oder im Marketplace suchen und installieren
- Mit einer Chat-App interagieren, die einem Chatbereich hinzugefügt wurde.
- Die Chat-App wird im Bereich für Direktnachrichten angezeigt, nachdem ein Google Workspace-Administrator die Chat-App in ihrem Namen installiert hat.
Um eine Chat-App zu verwenden, können Google Chat-Nutzer eine Direktnachricht an die Chat-App senden oder sie einem Gruppenbereich hinzufügen. Nutzer können die Chat-App auch hinzufügen, indem sie sie @erwähnen. Weitere Informationen finden Sie unter Chat-Apps verwenden.
Im folgenden Beispiel wird gezeigt, wie ein Nutzer eine Chat-App erwähnt, um sie einem Gruppenbereich hinzuzufügen:

Framework für Ihre interaktive Chat-App auswählen
Wenn Sie eine Chat-App erstellen möchten, die mit Nutzern interagiert, können Sie zwischen den folgenden Frameworks wählen:
- Google Workspace-Add-on: Damit können Sie andere Google Workspace-Anwendungen erweitern und Ihre Chat-App zusammen mit anderen App-Typen im Google Workspace Marketplace auflisten.
Weitere Informationen finden Sie in der Dokumentation zu Google Workspace-Add-ons unter Google Chat erweitern.
- Chat API-Interaktionsereignis: Damit können Sie zusätzliche Funktionen wie eine Chat-App-Startseite erstellen und andere Architekturen wie Pub/Sub und Dialogflow CX verwenden. Weitere Informationen
In der folgenden Tabelle finden Sie für jedes Framework die Dokumentation zum Konfigurieren und Erstellen einer einfachen interaktiven Chat-App für jede Google Chat-App-Architektur:
Interaktive Funktionen entwickeln
In der folgenden Tabelle finden Sie für jedes Framework die Dokumentation zum Erstellen interaktiver Funktionen:
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-08-08 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-08-08 (UTC)."],[],[],null,["# Build an interactive Google Chat app\n\nThis page provides an overview of the frameworks that you can use to build an\ninteractive Google Chat app. \n\nInteractive Chat apps let users do any of the following:\n\n- Add Chat apps to Chat spaces or direct messages.\n- Send messages to or receive messages from Chat apps.\n- Prompt Chat apps with a command.\n- Preview links from an external service or system.\n- Submit information to Chat apps, such as entering text into a dialog or card message.\n\nHow users discover and use interactive Chat apps\n------------------------------------------------\n\nUsers can discover and use Chat apps published to the\nMarketplace in many ways, including the following:\n\n- Search and install Chat apps from Google Chat or the Marketplace.\n- Interact with a Chat app that's been added to a Chat space.\n- Discover the Chat app in their direct messages panel after a Google Workspace administrator installed the Chat app on their behalf.\n\nTo start using a Chat app, Google Chat users can\nstart a direct message with the Chat app or add it to a\nspace. Users can also add the Chat app by @mentioning\nit. For more information, see\n[Use Chat apps](https://support.google.com/chat/answer/7655820).\n\nThe following example shows how a user @mentions a\nChat app to add it to a space:\n\nChoose a framework for your interactive Chat app\n------------------------------------------------\n\nTo build a Chat app that interacts with users, you\ncan choose between the following frameworks:\n\n- **Google Workspace add-on** : Lets you extend other Google Workspace applications and list your Chat app with other types of apps on the Google Workspace Marketplace. To learn more, see [Extend Google Chat](/workspace/add-ons/chat) in the Google Workspace add-on documentation.\n- **Chat API interaction event** : Lets you build additional features such as a [Chat app homepage](/workspace/chat/send-app-home-card-message) and use other architectures such as Pub/Sub and Dialogflow CX. To learn more, see [Receive and respond to interaction events](/workspace/chat/receive-respond-interactions).\n\n### Configure an interactive Chat app\n\nFor each framework, the following table shows the documentation for configuring\nand creating a basic interactive Chat app for each\n[Google Chat app architecture](/workspace/chat/structure):\n\n| Configuration | Add-on | Chat API interaction events |\n|------------------------|-----------------------------------------------------------------|-----------------------------------------------------------------------------|---|\n| Configure the Chat API | [Documentation](/workspace/add-ons/chat/configure) | [Documentation](/workspace/chat/configure-chat-api) |\n| **Quickstarts** | |||\n| Apps Script | [Documentation](/workspace/add-ons/chat/quickstart-apps-script) | [Documentation](/workspace/chat/quickstart/apps-script-app) |\n| HTTP service | [Documentation](/workspace/add-ons/chat/quickstart-http) | [Documentation](/workspace/chat/quickstart/gcf-app) |\n| Dialogflow CX | Unavailable for add-ons. | [Documentation](/workspace/chat/build-dialogflow-chat-app-natural-language) |\n| Pub/Sub | Unavailable for add-ons. | [Documentation](/workspace/chat/quickstart/pub-sub) |\n\n### Build interactive features\n\nFor each framework, the following table shows the documentation for\nbuilding interactive features:\n\n| Feature | Add-on | Chat API interaction events |\n|---------------------------------------|------------------------------------------------------------------------|-------------------------------------------------------------|\n| Send messages | [Documentation](/workspace/add-ons/chat/send-messages) | |\n| Respond to commands | [Documentation](/workspace/add-ons/chat/commands) | [Documentation](/workspace/chat/commands) |\n| Build interactive dialogs | [Documentation](/workspace/add-ons/chat/dialogs) | [Documentation](/workspace/chat/dialogs) |\n| Collect and process information | [Documentation](/workspace/add-ons/chat/collect-information) | [Documentation](/workspace/chat/read-form-data) |\n| Preview links in Chat messages | [Documentation](/workspace/add-ons/chat/preview-links) | [Documentation](/workspace/chat/preview-links) |\n| Build a homepage for your Chat app | Unavailable for add-ons. | [Documentation](/workspace/chat/send-app-home-card-message) |\n| Connect to external systems and tools | [Documentation](/workspace/add-ons/guides/connect-third-party-service) | [Documentation](/workspace/chat/connect-web-services-tools) |\n\nRelated topics\n--------------\n\n- [Build a Google Chat app as a Google Workspace add-on](/workspace/add-ons/chat)\n- [Receive and respond to interaction events](/workspace/chat/receive-respond-interactions)\n- [Choose a Google Chat app architecture](/workspace/chat/structure)"]]