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:
Please check the installed product with serial number P55-940931-6065 to confirm whether its warranty extends beyond 2025. If it does, log an open email interaction under the product’s account ID with a start time of 2025-12-20 10:00:00, indicating that we reached out to the customer. Then, immediately schedule a ‘Warranty Discussion’ event on my calendar for sales activities. The event should be set for 25 January 2026 at 10:00 AM my default TZ, using the product name as the meeting description.

Available tools:
find_product_by_id
list_settings
get_calendar_list
register_new_interaction
create_event
find_installed_product_by_serial

Verification checks:
[{"verifier_type": "database_state", "name": "Interaction added", "description": "Verifies James Stevenson was added as attendee.", "gym_name": "sn-csm-server", "validation_config": {"query": "SELECT COUNT(*) FROM interaction WHERE account_id = '1' AND status='open' AND channel = 'email' AND strftime('%Y-%m-%d %H:%M:%S', started_at) = '2025-12-20 10:00:00' ", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Event created", "description": "Verifies event was created with correct description.", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) FROM events WHERE summary = 'Warranty Discussion' AND strftime('%Y-%m-%d %H:%M:%S', start_datetime) = '2026-01-25 10:00:00' AND  start_timezone = 'America/Chicago'", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Event description", "description": "Verifies the correct meeting URL and description.", "gym_name": "gym-calendar", "validation_config": {"query": "SELECT COUNT(*) FROM events WHERE event_id = (SELECT event_id FROM events WHERE summary = 'Warranty Discussion' AND calendar_id = 'dave-sales') AND description = 'Docker Enterprise Variant 35'", "expected_value": 1, "comparison_type": "equals"}}]