Host
App
Action
A HostAppAction is a type of Action that is handled by individual host apps. Host Apps include Gmail, Chat, Drive, Calendar, Editor, Sheets, Studio, DuetAI.
Only available for Google Workspace add-ons that extend Google Workspace Studio.
Sample usage:
const hostAppAction = AddOnsResponseService . newHostAppAction () . setWorkflowAction ( AddOnsResponseService . newWorkflowAction ());
Methods
| Method | Return type | Brief description |
|---|---|---|
Host
|
Sets the host app action to Workflow action. |
Detailed documentation
set
Workflow
Action(workflowAction)
Sets the host app action to Workflow action.
Parameters
| Name | Type | Description |
|---|---|---|
workflow
|
Workflow
|
The Workflow action. |
Return
Host
— This object, for chaining.

