Domain: hybrid

System prompt:
You are a highly capable and intelligent AI assistant designed to help users by executing tasks. You have access to a variety of tools and are expected to use them to answer questions and fulfill requests.

**Your Thought Process:**
1. **Analyze the Request:** Carefully analyze the user's latest message to understand their intent.
2. **Plan Your Actions:** If the request requires information or action that you cannot perform directly, identify the appropriate tool(s) from the provided list.
3. **Execute Tools:** Make one or more tool calls in a structured format. You can call multiple tools in parallel if needed.
4. **Observe the Results:** After I execute the tools for you, I will provide the results in a structured format.
5. **Formulate the Final Answer:** Use the tool results to construct a comprehensive, accurate, and helpful final answer to the user. If a tool fails, inform the user and ask for clarification if necessary.

**Constraints:**
- **Respond Only to the Latest Message:** The conversation history is for context only. Focus on resolving the user's most recent request.
- **Use Tools When Necessary:** Do not try to guess information that a tool can provide. If you need to know something, use a tool.
- **Stick to Available Tools:** Only use the tools provided to you in the tool list. Do not invent tools.
- **Final Response:** Once all necessary tool calls are complete and you have the information you need, provide a final, user-facing response without any further tool calls.

Task:
We've been receiving multiple employee inquiries from ServiceNow org about benefits and policy changes that need to be addressed. Search for HR cases with status 'work_in_progress' related to Total Rewards to find cases about benefits inquiries. Get the details of cases related to general benefits and 401k plans only (excluding reimbursement stuff) to understand the common themes and questions employees are asking around these. Based on these inquiries, we need to schedule a webinar to address these benefits policy questions and provide clarity to all employees. We need a resolution guide first 'Resolution Guide: Total Rewards fulfillment steps for Q1 2026 Benefits Policy Updates' with external visibility that summarizes the key policy changes and answers common questions. Mark it as live so employees can access it. Then create a virtual webinar titled 'Q1 2026 Benefits Policy Update and Q&A Session' scheduled for next month. The webinar should be open to the entire organization and include a description that mentions we'll be addressing common questions about benefits enrollment, policy changes, and answering employee questions. The event should be scheduled for 2 hours in the afternoon Eastern Standard Time and make sure it’s in draft because we need some adjustment in date and timing later on. Add a co-organizer to help manage the event  find Thomas Green in Teams and add them as a co-organizer. Also make the webinar live so users can register. After creating the webinar, link the knowledge article we just created to the benefits inquiry cases as a suggested resource. Update the worknotes on those cases to mention that a webinar has been scheduled to address these questions. Find the ServiceNow public channel we use for Official organizational announcements in Teams. Post an announcement in that channel letting everyone know about the upcoming webinar, including the event title and that it will address the benefits questions we've been receiving.

Available tools:
list_teams
create_knowledge_article
list_users
find_hr_case_by_number
get_user_using_email
send_channel_message
list_hr_cases
link_knowledge_to_hr_case
publish_virtual_event_webinar
update_hr_case
list_channels
create_virtual_event_webinar

Verification checks:
[{"verifier_type": "database_state", "name": "Verify Knowledge Article Created and Linked to Cases", "description": "Confirms knowledge article was created and linked to both HR cases", "gym_name": "sn-hr-internal", "validation_config": {"query": "SELECT COUNT(*) FROM hr_case_knowledge WHERE hr_case_id IN (31, 22) AND knowledge_id IN (SELECT knowledge_id FROM knowledge WHERE title = 'Resolution Guide: Total Rewards fulfillment steps for Q1 2026 Benefits Policy Updates' AND visibility = 'external' AND state = 'published') AND used_as = 'suggested'", "expected_value": "2", "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify HR Cases Worknotes Updated", "description": "Confirms both HR cases worknotes updated with webinar information", "gym_name": "sn-hr-internal", "validation_config": {"query": "SELECT COUNT(*) FROM hr_case WHERE hr_case_id IN (31, 22) AND worknotes LIKE '%Webinar%'", "expected_value": "2", "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify webinar Created", "description": "Confirms virtual Webinar was created", "gym_name": "gym-teams-mcp", "validation_config": {"query": "SELECT COUNT(*) FROM virtual_event_webinars WHERE display_name LIKE '%Policy Update%' AND audience = 'organization' AND status = 'published'", "expected_value": "1", "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify webinar Co-Organizer Added", "description": "Confirms co-organizer was added to the Webinar", "gym_name": "gym-teams-mcp", "validation_config": {"query": "SELECT COUNT(*) FROM virtual_event_webinar_coorganizers WHERE webinar_id IN (SELECT id FROM virtual_event_webinars WHERE display_name LIKE '%Policy Update%' AND user_id = 'thomas.green')", "expected_value": "1", "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Teams Announcement Posted", "description": "Confirms Webinar announcement was posted in HR General channel", "gym_name": "gym-teams-mcp", "validation_config": {"query": "SELECT COUNT(*) FROM channel_messages WHERE channel_id = 'sn_public_standard_02' AND team_id = 'team_servicenow_public' AND body_json LIKE '%Policy Update%' AND body_json LIKE '%Webinar%'", "expected_value": "1", "comparison_type": "equals"}}]