This page provides an overview of the frameworks that you can use to build an interactive Google Chat app.
Interactive Chat apps let users do any of the following:
- Add Chat apps to Chat spaces or direct messages.
- Send messages to or receive messages from Chat apps.
- Prompt Chat apps with a command.
- Preview links from an external service or system.
- Submit information to Chat apps, such as entering text into a dialog or card message.
To learn more about the types of Chat apps you can build, see Choose a Google Chat app architecture.
Choose a framework for your interactive Chat app
To build a Chat app that interacts with users, you can choose between the following frameworks:
- Google Workspace add-on (Developer Preview): 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 in the Google Workspace add-on documentation.
- Chat API interaction event: Lets you build additional features such as a Chat app homepage and use other architectures such as Pub/Sub and Dialogflow CX. To learn more, see Receive and respond to interaction events.
Build interactive features
For each framework, the following table shows the documentation for creating a basic Chat app and its interactive features:
Feature | Add-on | Chat API interaction events | |
---|---|---|---|
Quickstarts | |||
Apps Script | Documentation | Documentation | |
HTTP service | Documentation | Documentation | |
Dialogflow CX | Unavailable for add-ons. | Documentation | |
Pub/Sub | Unavailable for add-ons. | Documentation | |
Features | |||
Send messages | Documentation | ||
Respond to commands | Documentation | Documentation | |
Build interactive dialogs | Documentation | Documentation | |
Collect and process information | Documentation | Documentation | |
Preview links in Chat messages | Documentation | Documentation | |
Build a homepage for your Chat app | Unavailable for add-ons. | Documentation | |
Connect to external systems and tools | Documentation | Documentation |
Related topics
- Build a Google Chat app as a Google Workspace add-on
- Receive and respond to interaction events
- Choose a Google Chat app architecture