flow-designer
Installation
SKILL.md
Flow Designer Patterns for ServiceNow
Flow Designer is the modern automation engine in ServiceNow, replacing legacy Workflows for new development.
Using the Flow Designer Tool
To create and manage flows programmatically, first discover the Flow Designer tool via tool_search({query: "flow designer"}). The discovered tool handles all GraphQL mutations for the full flow lifecycle.
CRITICAL — IF/ELSE/ELSEIF placement rules:
- Actions inside an IF branch:
parent_ui_id= IF'suiUniqueIdentifier - ELSE/ELSEIF blocks: must be at the same level as IF, NOT nested inside it
parent_ui_id= the same parent you used for the IF blockconnected_to= IF'slogicId(the sysId returned when creating the IF)
- Getting this wrong causes "Unsupported flowLogic type" errors when saving the flow