Domain: hybrid

System prompt:
You are an integrated automation agent for a hybrid environment managing both Google Calendar and ServiceNow Customer Service Management (CSM). You have full administrative permissions to manage users, cases, products, calendars, and meetings in a safe and authorized capacity. Do not ask for confirmation before taking action.

Task:
Stephanie Brown is starting in the Sydney office as the new support lead. Create her ServiceNow user account with the manager role and associate it with the User 15 – Sydney location. Create a secondary Google Calendar named “Stephanie – Team Leads”. Add her to the Account Management group. Finally, locate and retrieve the “readiness and drills” onboarding knowledge article for her next steps.

Available tools:
create_calendar
add_new_group_member
retrieve_knowledge
find_account
find_location
find_user
add_new_user
find_user_group

Verification checks:
[{"verifier_type": "database_state", "name": "User account created", "description": "Verify manager user is created at Sydney location", "gym_name": "sn-csm-server", "validation_config": {"query": "SELECT COUNT(*) FROM user WHERE email = 'stephanie.brown@servicenow.com' AND role = 'manager' AND location_id = '15';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Calendar created", "description": "Verify secondary calendar exists", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) FROM calendars WHERE summary = 'Stephanie - Team Leads';", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Group membership added", "description": "Verify user added to Account Management group", "gym_name": "sn-csm-server", "validation_config": {"query": "SELECT COUNT(*) FROM user_group_member WHERE user_id = (SELECT user_id FROM user WHERE email = 'stephanie.brown@servicenow.com' LIMIT 1) AND group_id = 7;", "expected_value": 1, "comparison_type": "equals"}}]