Run Script Function
run_script_functionExecute a function in your deployed Google Apps Script project by providing script ID, function name, and optional parameters. Run scripts directly from Google Workspace workflows.
Instructions
Executes a function in a deployed script.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dev_mode | No | Whether to run latest code vs deployed version | |
| script_id | Yes | The script project ID | |
| parameters | No | Optional list of parameters to pass | |
| deployment_id | No | Optional API Executable deployment ID. When supplied, skips the automatic deployment lookup. When omitted, the versioned API Executable deployment with the highest version number is used. | |
| function_name | Yes | Name of function to execute | |
| user_google_email | Yes | User's email address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |