workflow-creation

Installation
SKILL.md

Programmatic Workflow Creation

Overview

This skill enables you to create complete ServiceNow workflows entirely via API/MCP without using the visual Workflow Editor. This is essential for:

  • Automation pipelines - Create workflows as part of CI/CD deployments
  • Templated solutions - Generate standardized workflows from templates
  • Mass creation - Build multiple similar workflows programmatically
  • Version control - Store workflow definitions as code in Git
  • Environment migration - Recreate workflows across instances

Key Discovery: Activities store their logic in the input field as JavaScript code. This enables full programmatic workflow creation by:

  1. Creating the workflow structure (wf_workflow, wf_workflow_version)
  2. Creating activities with embedded scripts (wf_activity)
  3. Linking activities with transitions (wf_transition, wf_condition)
  4. Publishing the workflow version

Prerequisites

Related skills
Installs
3
GitHub Stars
23
First Seen
14 days ago