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:
Set up a skill development track for 'thomas.green@servicenow.com'. 
1. Verify his user account exists using his email.
2. Retrieve his HR Profile using the User ID from the previous step.
3. Create a 'Moderate' priority HR Case for him with short description 'Skill Development Program'. Ensure you provide the COE type as 'Talent Management' and account number 'ACC-001'.
4. In Drive, create a folder 'Thomas_Skills_Dev'.
5. Inside it, create a file 'Training_Plan.txt'.
6. Add a comment to the file: 'Plan draft initiated'.
7. Update the HR Case work notes with: 'Workspace created in Drive'.

Available tools:
create_new_hr_case
get_users_hr_profile
get_user_using_email
create_file
create_comments
update_hr_case

Verification checks:
[{"verifier_type": "database_state", "name": "Verify HR Case", "description": "Checks if the HR Case exists with correct parameters.", "gym_name": "sn-hr-internal", "validation_config": {"query": "SELECT COUNT(*) FROM hr_case WHERE short_description = 'Skill Development Program' AND priority = 'moderate' AND coe_type = 'Talent Management' AND opened_for = (SELECT user_id FROM user WHERE email = 'thomas.green@servicenow.com');", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify HR Case Update", "description": "Checks if the work note was added.", "gym_name": "sn-hr-internal", "validation_config": {"query": "SELECT COUNT(*) FROM hr_case WHERE short_description = 'Skill Development Program' AND worknotes LIKE '%Workspace created in Drive%';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Drive Folder", "description": "Checks if the folder exists.", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) FROM files WHERE name = 'Thomas_Skills_Dev' AND mime_type = 'application/vnd.google-apps.folder' AND trashed = 0;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify File", "description": "Checks if the file exists inside the folder.", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(f.id) FROM files f JOIN files p ON f.parent_ids LIKE '%' || p.id || '%' WHERE f.name = 'Training_Plan.txt' AND p.name = 'Thomas_Skills_Dev';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Comment", "description": "Checks if the comment exists.", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(c.id) FROM comments c JOIN files f ON c.file_id = f.id WHERE f.name = 'Training_Plan.txt' AND c.content = 'Plan draft initiated';", "expected_value": 1, "comparison_type": "equals"}}]