WorkflowAction הוא סוג של Host שמשמש לביצוע פעולה ספציפית ב-Google Workspace Studio. הפעולה WorkflowAction יכולה להיות אחת מהפעולות הבאות:
-
SaveWorkflow Action -
ReturnOutput Variables Action -
ReturnElement Error Action -
ResourceRetrieved Action -
WorkflowValidation Error Action -
ResourceFields Definition Retrieved Action
האפשרות הזו זמינה רק לתוספים ל-Google Workspace שמרחיבים את Google Workspace Studio.
דוגמה לשימוש:
const hostAppAction = AddOnsResponseService.newHostAppAction(); hostAppAction.setWorkflowAction(AddOnsResponseService.newSaveWorkflowAction());