skills/genai/now-assist-qa/SKILL.md
Configure Now Assist Q&A for conversational AI assistance including skill configurations, knowledge source setup, response quality tuning, context management, and multi-channel deployment
npx skillsauth add happy-technologies-llc/happy-servicenow-skills now-assist-qaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill covers configuring ServiceNow Now Assist Q&A for conversational AI assistance:
When to use: When enabling AI-powered Q&A for agents, employees, or customers through Now Assist, configuring knowledge-grounded responses, or tuning conversational AI quality.
now_assist_admin, adminsn_now_assist (Now Assist), com.snc.generative_ai_controller (Generative AI Controller), sn_gen_ai (Generative AI)genai/ai-search-rag for search configuration, genai/skill-kit-custom for custom skillsQuery existing Now Assist skills and their status.
MCP Approach:
Use SN-Query-Table on sn_now_assist_skill:
- query: active=true
- fields: sys_id,name,description,skill_type,context,active,status
- limit: 20
Check existing skill configurations:
Use SN-Query-Table on sn_now_assist_skill_config:
- query: active=true
- fields: sys_id,skill,name,config_type,value
- limit: 50
REST Approach:
GET /api/now/table/sn_now_assist_skill
?sysparm_query=active=true
&sysparm_fields=sys_id,name,description,skill_type,context,active
&sysparm_limit=20
Agent-Facing Q&A Skill:
MCP Approach:
Use SN-Create-Record on sn_now_assist_skill:
- name: "IT Agent Q&A"
- description: "Provides AI-powered answers to IT agent questions from knowledge bases and resolved incidents"
- skill_type: "qa"
- context: "agent_workspace"
- active: true
- status: "draft"
- knowledge_sources: "<kb_sys_id_1>,<kb_sys_id_2>"
- enable_rag: true
- response_mode: "generative"
REST Approach:
POST /api/now/table/sn_now_assist_skill
Body: {
"name": "IT Agent Q&A",
"description": "Provides AI-powered answers to IT agent questions from knowledge bases",
"skill_type": "qa",
"context": "agent_workspace",
"active": true,
"status": "draft",
"enable_rag": true,
"response_mode": "generative"
}
Employee-Facing Q&A Skill:
Use SN-Create-Record on sn_now_assist_skill:
- name: "Employee Self-Service Q&A"
- description: "AI answers for common employee IT and HR questions"
- skill_type: "qa"
- context: "employee_portal"
- active: true
- status: "draft"
- knowledge_sources: "<it_kb_sys_id>,<hr_kb_sys_id>"
- enable_rag: true
- response_mode: "generative"
- fallback_action: "create_incident"
Context options for Now Assist skills:
| Context | Value | Description | |---------|-------|-------------| | Agent Workspace | agent_workspace | IT agents in workspace UI | | Employee Portal | employee_portal | Self-service employee portal | | Customer Portal | customer_portal | External customer-facing | | Mobile | mobile | ServiceNow mobile app | | Virtual Agent | virtual_agent | VA conversation channel | | Platform | platform | Platform-wide availability |
Link knowledge bases to the Q&A skill for grounded responses.
MCP Approach:
Use SN-Query-Table on kb_knowledge_base:
- query: active=true
- fields: sys_id,title,description,kb_version
- limit: 20
Associate knowledge bases with the skill:
Use SN-Create-Record on sn_now_assist_skill_config:
- skill: "<qa_skill_sys_id>"
- name: "knowledge_source_1"
- config_type: "knowledge_base"
- value: "<kb_sys_id>"
- active: true
- order: 100
Use SN-Create-Record on sn_now_assist_skill_config:
- skill: "<qa_skill_sys_id>"
- name: "knowledge_source_2"
- config_type: "knowledge_base"
- value: "<hr_kb_sys_id>"
- active: true
- order: 200
Configure knowledge filtering:
Use SN-Create-Record on sn_now_assist_skill_config:
- skill: "<qa_skill_sys_id>"
- name: "kb_filter"
- config_type: "knowledge_filter"
- value: "workflow_state=published^valid_to>=javascript:gs.now()"
- active: true
Set up the generative AI parameters for response generation.
MCP Approach:
Use SN-Create-Record on sn_gen_ai_config:
- name: "Now Assist Q&A LLM Config"
- description: "LLM parameters for Now Assist Q&A responses"
- active: true
- llm_provider: "now_llm"
- model: "default"
- temperature: 0.3
- max_tokens: 400
- top_p: 0.9
- frequency_penalty: 0.1
- presence_penalty: 0.1
REST Approach:
POST /api/now/table/sn_gen_ai_config
Body: {
"name": "Now Assist Q&A LLM Config",
"active": true,
"llm_provider": "now_llm",
"temperature": 0.3,
"max_tokens": 400,
"top_p": 0.9
}
Link LLM config to skill:
Use SN-Create-Record on sn_now_assist_skill_config:
- skill: "<qa_skill_sys_id>"
- name: "llm_config"
- config_type: "gen_ai_config"
- value: "<gen_ai_config_sys_id>"
- active: true
System prompts guide LLM behavior for Q&A responses.
MCP Approach:
Use SN-Create-Record on sn_now_assist_skill_config:
- skill: "<qa_skill_sys_id>"
- name: "system_prompt"
- config_type: "prompt"
- value: |
You are an IT support assistant for {company_name}. Your role is to help agents
find answers to technical questions using the provided knowledge base content.
Guidelines:
- Only answer based on the provided context. Do not make up information.
- If the context does not contain a clear answer, say "I don't have enough
information to answer this question" and suggest creating a knowledge article.
- Always cite the source knowledge article by title.
- Keep answers concise and actionable, using bullet points for steps.
- If the question involves a specific incident, reference relevant fields.
- Never reveal internal system details, credentials, or sensitive data.
- active: true
Prompt template variables:
| Variable | Description | Example | |----------|-------------|---------| | {company_name} | Customer organization name | Acme Corp | | {user_name} | Current user's name | John Smith | | {user_role} | Current user's primary role | ITIL Agent | | {context_record} | Current record being viewed | INC0012345 | | {knowledge_context} | Retrieved knowledge content | (injected by RAG) | | {conversation_history} | Previous turns in dialogue | (auto-populated) |
Set up where and how the Now Assist panel appears.
MCP Approach:
Use SN-Create-Record on sn_now_assist_panel_config:
- name: "Agent Workspace Q&A Panel"
- description: "Now Assist Q&A panel for IT agent workspace"
- active: true
- context: "agent_workspace"
- skills: "<qa_skill_sys_id>"
- position: "right_sidebar"
- auto_open: false
- show_feedback: true
- show_sources: true
- max_conversation_turns: 10
- greeting_message: "Hi! I can help you find answers from our knowledge base. What would you like to know?"
REST Approach:
POST /api/now/table/sn_now_assist_panel_config
Body: {
"name": "Agent Workspace Q&A Panel",
"active": true,
"context": "agent_workspace",
"skills": "<qa_skill_sys_id>",
"position": "right_sidebar",
"show_feedback": true,
"show_sources": true
}
Set up how conversation context is managed for multi-turn dialogues.
MCP Approach:
Use SN-Create-Record on sn_now_assist_skill_config:
- skill: "<qa_skill_sys_id>"
- name: "context_config"
- config_type: "context"
- value: '{
"max_history_turns": 5,
"include_record_context": true,
"record_fields": ["short_description", "description", "priority", "category", "assignment_group"],
"context_window_tokens": 3000,
"clear_on_record_change": true
}'
- active: true
MCP Approach:
Use SN-Create-Record on sn_now_assist_skill_config:
- skill: "<qa_skill_sys_id>"
- name: "guardrails"
- config_type: "safety"
- value: '{
"require_knowledge_grounding": true,
"min_confidence_score": 0.65,
"block_pii_in_response": true,
"max_response_length": 500,
"prohibited_topics": ["salary", "termination", "legal_advice"],
"fallback_message": "I am not able to answer this question. Please contact your IT service desk for assistance.",
"enable_content_filtering": true
}'
- active: true
MCP Approach:
Use SN-Update-Record on sn_now_assist_skill:
- sys_id: "<qa_skill_sys_id>"
- status: "published"
- active: true
Verify configuration is complete:
Use SN-Query-Table on sn_now_assist_skill_config:
- query: skill=<qa_skill_sys_id>^active=true
- fields: name,config_type,active
- limit: 20
Verify panel is active:
Use SN-Query-Table on sn_now_assist_panel_config:
- query: skills=<qa_skill_sys_id>^active=true
- fields: name,context,position,active
Query feedback data:
Use SN-Query-Table on sn_now_assist_feedback:
- query: skill=<qa_skill_sys_id>^sys_created_on>javascript:gs.daysAgo(7)
- fields: sys_id,query,response,rating,feedback_text,user
- limit: 50
- orderBy: sys_created_on
- orderDirection: desc
Analyze negative feedback patterns:
Use SN-Query-Table on sn_now_assist_feedback:
- query: skill=<qa_skill_sys_id>^rating<3
- fields: query,response,rating,feedback_text
- limit: 20
Adjust based on feedback:
Use SN-Update-Record on sn_gen_ai_config:
- sys_id: "<gen_ai_config_sys_id>"
- temperature: 0.2
- max_tokens: 500
| Tool | Purpose | When to Use | |------|---------|-------------| | SN-Query-Table | Find existing skills, configs, feedback | Discovery and monitoring | | SN-Create-Record | Create skills, configs, panel settings | Initial setup | | SN-Update-Record | Tune LLM params, activate skills | Optimization and deployment | | SN-Get-Table-Schema | Discover config table fields | Understanding available settings |
| Issue | Cause | Resolution | |-------|-------|------------| | Now Assist panel not visible | Panel config inactive or wrong context | Verify sn_now_assist_panel_config.active=true and context matches UI | | Responses are generic/unhelpful | Knowledge sources not linked or empty | Check skill_config knowledge_base entries and verify KB has published articles | | Hallucinated answers | Temperature too high or no grounding requirement | Lower temperature, set require_knowledge_grounding=true | | Response cut off mid-sentence | max_tokens too low | Increase max_tokens in sn_gen_ai_config (400-600 recommended) | | Slow response time | Too many knowledge sources or large context window | Reduce search sources, lower context_window_tokens | | Skill not triggering | Skill status is draft or inactive | Publish and activate the skill | | Feedback not collected | show_feedback disabled on panel | Set show_feedback=true in panel config | | Wrong knowledge base searched | KB filter conditions too broad or missing | Add specific kb_knowledge_base filter in knowledge_filter config |
Configure Now Assist Q&A for ITSM agents:
Configure Now Assist for employee portal self-service:
Configure Now Assist for customer service management agents:
genai/ai-search-rag - AI Search configuration that powers Q&A knowledge retrievalgenai/skill-kit-custom - Creating custom Now Assist skills beyond Q&Agenai/flow-generation - Flows that can be triggered from Q&A fallback actionsknowledge/article-management - Managing knowledge content quality for better Q&Atesting
Manage supplier onboarding, qualification, performance monitoring, and offboarding with auditable lifecycle controls
tools
Identify emerging risks, prioritize intake signals, and route candidates into formal GRC risk assessment workflows
documentation
Screen inbound documents for completeness, policy risk, and routing readiness before extraction or case workflows
testing
Generate concise task summaries with status, timeline, blockers, SLA risk, and recommended next actions