snu-form-automation

Automate live ServiceNow forms with g_form actions and UI flows.

53|38|Updated Dec 17, 2018
One-click install
npx skills add https://github.com/arnoudkooi/sn-scriptsync --skill snu-form-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: snu-form-automation
Source: https://github.com/arnoudkooi/sn-scriptsync/tree/main/agentrules/skills/snu-form-automation
Command: npx skills add https://github.com/arnoudkooi/sn-scriptsync --skill snu-form-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

ServiceNow form automation often requires repeated manual steps to verify data consistency, capture UI states, and handle native dialogs across pages.

Core Features & Use Cases

  • Live form control using g_form bridge: navigate, set_field, get_form_state, run_ui_action, click_element
  • Optimistic verification and auto-handled dialogs ensure smooth automation
  • Auto-fill mandatory reference fields and handle native prompts during UI actions

Quick Start

Start by navigating to a form, set a mandatory field with set_field, verify via get_form_state, and run a save with run_ui_action to confirm persistence.

Frequently Asked Questions about snu-form-automation

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

FAQPage Schema
How do I automate ServiceNow forms using g_form actions in an authenticated browser session?

ServiceNow form automation uses g_form actions to control live forms within an authenticated browser session. You can navigate forms, set fields, verify form state, and run UI actions to manage record creation and updates.

What is the best way to handle native dialogs during ServiceNow UI actions?

Handling native dialogs during ServiceNow UI actions is managed automatically by the automation process. The system auto-handles prompts and applies optimistic verification to ensure smooth execution when running UI actions like saving records.

How do I verify field values on a live ServiceNow form before saving?

Verifying field values on a live ServiceNow form requires using get_form_state after applying set_field actions. This validates the current form state visually across pages and widgets before you run a save action to confirm persistence.

Can I auto-fill mandatory reference fields when creating new ServiceNow records?

Auto-filling mandatory reference fields when creating new ServiceNow records is supported. The automation applies set_field operations to populate required references, ensuring form validation passes before triggering UI actions to save the record.

Does ServiceNow form automation work across different pages and widgets?

ServiceNow form automation works across different pages and widgets by visually validating form state throughout the authenticated session. It applies click_element and g_form actions to manage navigation and field interactions consistently.

Why does my ServiceNow form automation fail when setting mandatory fields?

ServiceNow form automation may fail if mandatory fields are not properly set before running UI actions. Use set_field to populate required reference fields, verify state with get_form_state, and ensure native dialogs are handled to proceed smoothly.