AI Assistant
Use the AI Command Builder to create and refine slash commands and code snippets with context-aware suggestions.
Last updated: February 2, 2026
Last updated: February 2, 2026
The AI Assistant helps you create slash commands and code snippets using natural language. Describe what you need, and it generates a complete, ready-to-save result — including the right fields, variables, URL structure, or code.

Open the AI side panel from the Manage page (available on both the Commands and Snippets tabs). Type a plain-language description of what you want to build:
The AI analyzes your request with context from your ServiceNow environment and generates a complete command or snippet. Review the result, adjust if needed, and save it directly.
When building a slash command, the AI generates:
You can refine the result by providing follow-up instructions, like "add a scope switch" or "include the assignment group in the fields".
When building a code snippet, the AI generates:
The generated code follows ServiceNow best practices and uses the appropriate API for your chosen context (client-side or server-side).