query-generation

Convert natural language descriptions into ServiceNow queries and GlideRecord scripts.

34|13|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/Happy-Technologies-LLC/happy-servicenow-skills --skill query-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: query-generation
Source: https://github.com/Happy-Technologies-LLC/happy-servicenow-skills/tree/main/skills/reporting/query-generation
Command: npx skills add https://github.com/Happy-Technologies-LLC/happy-servicenow-skills --skill query-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Transforms plain-language requests into precise ServiceNow queries, encoded filters, and data-access scripts, reducing manual scripting and trial-and-error.

Core Features & Use Cases

  • Natural-language to encoded queries and GlideAggregate scripts for reporting
  • Automated generation of report filters and dashboards from user requirements
  • Field validation guidance via table schema checks and incremental testing

Quick Start

Describe a data need in plain English to generate encoded queries, GlideRecord scripts, and report filters.

Frequently Asked Questions about query-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert natural language to ServiceNow queries?

To convert natural language to ServiceNow queries, describe your data needs in plain English and the tool outputs ready-to-run encoded queries, GlideRecord scripts, and report filters. It enforces field validation and supports dynamic dates for ITSM incident reporting.

Can I generate GlideAggregate scripts for ServiceNow reporting from plain text?

Yes, you can generate GlideAggregate scripts for ServiceNow reporting from plain text. The tool converts natural-language descriptions into ready-to-run scripts and automated report filters, applying field validation guidance to ensure accurate data retrieval.

What is the best way to build ServiceNow report filters without scripting?

The best way to build ServiceNow report filters without manual scripting is by providing plain-language requirements. The tool automatically generates encoded queries and dashboard filters, reducing trial-and-error while guiding you to verify table schemas before execution.

Does this natural-language query generator support dynamic dates and encoded queries?

Yes, this natural-language query generator supports both dynamic dates and encoded queries. It transforms plain-language requests into precise ServiceNow data-access scripts and filters, enforcing field validation across ITSM modules like incident data retrieval.

Why should I verify table schemas before running generated GlideRecord scripts?

You should verify table schemas before running generated GlideRecord scripts to ensure field validation accuracy. The tool provides schema check guidance and recommends incremental testing to prevent errors during ServiceNow data retrieval and dashboard reporting tasks.