Domain: hybrid

System prompt:
You are an integrated automation agent for a hybrid environment managing both Google Drive and ServiceNow Human Resources (HR). You have full administrative permissions to manage users, cases, topic, survey, skill, service, organization, and meetings in a safe and authorized capacity. Do not ask for confirmation before taking action.

Task:
Conducting quarterly shared drive governance assessment and need to document our escalation workflows for the compliance audit before the infrastructure review meeting.

Start by confirming our Drive environment capacity and storage utilization. List all shared drives in our organization to understand the infrastructure scope. Then get the detailed metadata for the shared drive named Client Relations so I can include its configuration in the governance report.

For the HR governance section, pull the escalation rules that route to the Change Advisory Board to document the final tier escalation pathways. I need to reference case HRC0000713 which is currently awaiting approval as an example of our escalation workflow in action. Also get the details on the Change Advisory Board group since they are the final escalation tier for major decisions.

Create a governance assessment document named "Shared-Drive-Governance-Assessment-Q4-2024" and update its description with all the key findings: storage capacity, total shared drives count, the specific drive name and creation time, escalation pathways to advisory board, the referenced case status and approval workflow, and the advisory board group details.

Look up Cheryl Osborne from HR Leadership and send her a notification linked to that pending approval case letting her know the governance assessment is complete and ready for compliance review.

Available tools:
find_hr_case_by_number
update_files
get_about
get_drive
list_drives
send_notification
find_group_by_name
get_user_using_name
create_file
list_escalation_rules

Verification checks:
[{"verifier_type": "database_state", "name": "Document Description Contains Advisory Board and Timestamp", "description": "Verifies that Document Description Contains Advisory Board and Timestamp", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cab_count FROM files WHERE name = 'Shared-Drive-Governance-Assessment-Q4-2024' AND description LIKE '%Change Advisory Board%' AND description LIKE '%December 2024%' AND trashed = false", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Governance Assessment Document Created", "description": "Verifies that Governance Assessment Document Created", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS doc_count FROM files WHERE name = 'Shared-Drive-Governance-Assessment-Q4-2024' AND mime_type = 'application/vnd.google-apps.document' AND trashed = false", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Document Description Contains Storage and Drives Count", "description": "Verifies that  Document Description Contains Storage and Drives Count", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS storage_count FROM files WHERE name = 'Shared-Drive-Governance-Assessment-Q4-2024' AND description LIKE '%Storage%' AND description LIKE '%Shared Drives%' AND trashed = false", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Document Description Contains Escalation Reference", "description": "Verifies that Document Description Contains Escalation Reference", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS escalation_count FROM files WHERE name = 'Shared-Drive-Governance-Assessment-Q4-2024' AND description LIKE '%Escalation Pathway%' AND description LIKE '%HRC0000713%' AND trashed = false", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Notification Created for HR Case 3", "description": "Verifies that  Notification Created for HR Case 3", "gym_name": "sn-hr-internal", "validation_config": {"query": "SELECT COUNT(*) AS notif_count FROM notification WHERE hr_case_id = 3 AND type = 'report'", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": " Notification Sent to Cheryl Osborne Email", "description": "Verifies that  Notification Sent to Cheryl Osborne Email", "gym_name": "sn-hr-internal", "validation_config": {"query": "SELECT COUNT(*) AS email_count FROM notification WHERE email = 'cheryl.osborne@servicenow.com' AND status = 'ready'", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "HR Case 3 Exists with Awaiting Approval Status", "description": "Verifies that HR Case 3 Exists with Awaiting Approval Status", "gym_name": "sn-hr-internal", "validation_config": {"query": "SELECT COUNT(*) AS case_count FROM hr_case WHERE number = 'HRC0000713' AND status = 'awaiting_approval'", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Change Advisory Board Group Exists", "description": "Verifies that Change Advisory Board Group Exists", "gym_name": "sn-hr-internal", "validation_config": {"query": "SELECT COUNT(*) AS group_count FROM user_group WHERE name = 'Change Advisory Board' AND active = true\n", "expected_value": 1, "comparison_type": "equals"}}]