A WorkflowAction is a type of Host that is used to perform a specific action in
Google Workspace Studio. A WorkflowAction can be one of the following actions:
-
SaveWorkflow Action -
ReturnOutput Variables Action -
ReturnElement Error Action -
ResourceRetrieved Action -
WorkflowValidation Error Action -
ResourceFields Definition Retrieved Action
Only available for Google Workspace add-ons that extend Google Workspace Studio.
Sample usage:
const hostAppAction = AddOnsResponseService.newHostAppAction(); hostAppAction.setWorkflowAction(AddOnsResponseService.newSaveWorkflowAction());