Query sys_hub_flow via REST API
The sys_hub_flow table stores Hub Flow definitions. You can't "download" it as a file directly from the UI, but you can export records via the REST API or use the standard ServiceNow export tools.
Via REST API
code
GET /api/now/table/sys_hub_flow?sysparm_limit=1000Use code with caution.
Returns JSON of all flow records. Pipe to a file or import into another instance.
Via UI Export
- **Navigate** System Definition → Tables → search for
sys_hub_flow. - Open the table and view its records in list view.
- Select records → right-click → Export → choose XML or CSV.
- Save to your local machine.
**Note:** sys_hub_flow is the back-end table; if you want the visual flow definition, export the sys_flow table instead (Flow Designer flows). Hub Flows are a legacy feature — modern flows use Flow Designer.