UiPath Documentation
uipath-cli
latest
false
UiPath CLI user guide

uip ah automations, idea-flows, business-cases, phases, questionnaires, pipelines

Syntax and options for the Automation Hub idea-to-delivery lifecycle — submitting and reading automation ideas, phase transitions, cost-benefit analyses, the assessment catalogue, and the benefit-ranked pipeline view.

An automation (Automation Hub calls the underlying record a "process") is the core record in Automation Hub — a submitted idea that moves through configurable phases (Idea, Assessment, Analysis, Solution Design, Development, Testing, Live, …) via an idea flow. Each phase has a cost-benefit analysis (business case), and an assessment (a set of questions from the questionnaire catalogue) captures the answers that feed a submission. The pipeline view is automations plus their execution and benefit figures, ranked. See uip ah for shared concepts (projection/--all-fields, paged vs. unpaged lists, ID discovery) that apply to every verb here.

uip ah automations​

Work with automation ideas — the core Automation Hub record.

Synopsis​

uip ah automations list [--search <text>] [--sort-by <field>] [--sort-order asc|desc] [--category-id <id...>] [--application-id <id...>] [--business-unit <name>] [--phase-id <id...>] [--status-id <id...>] [--tags <tag...>] [--owner-id <id>] [--submitter-id <id>] [--updated-by-id <id>] [--submission-type <type>] [--start-date <date>] [--end-date <date>] [--plain-text] [--high-level-assessment] [--advanced-information] [--limit <n>] [--offset <n>] [--all-fields]
uip ah automations get <automation-id> [--plain-text] [--all-fields]
uip ah automations schema get [automation-id] [--source-type <type>] [--idea-flow <name> | --idea-flow-id <id>] [--category-id <id>] [--destination <local-file>]
uip ah automations create [--source-type <type>] --file <json-file> [--from-schema] [--idea-flow <name> | --idea-flow-id <id>]
uip ah automations update <automation-id> --file <json-file>
uip ah automations list [--search <text>] [--sort-by <field>] [--sort-order asc|desc] [--category-id <id...>] [--application-id <id...>] [--business-unit <name>] [--phase-id <id...>] [--status-id <id...>] [--tags <tag...>] [--owner-id <id>] [--submitter-id <id>] [--updated-by-id <id>] [--submission-type <type>] [--start-date <date>] [--end-date <date>] [--plain-text] [--high-level-assessment] [--advanced-information] [--limit <n>] [--offset <n>] [--all-fields]
uip ah automations get <automation-id> [--plain-text] [--all-fields]
uip ah automations schema get [automation-id] [--source-type <type>] [--idea-flow <name> | --idea-flow-id <id>] [--category-id <id>] [--destination <local-file>]
uip ah automations create [--source-type <type>] --file <json-file> [--from-schema] [--idea-flow <name> | --idea-flow-id <id>]
uip ah automations update <automation-id> --file <json-file>

uip ah automations list​

List automation ideas on the tenant.

Options​
LongValueDescription
--search <text>stringFree-text search, as in the Explore screen.
--sort-by <field>stringField to sort on, e.g. process_updated_epoch.
--sort-order <direction>asc|descSort direction.
--category-id <id...>repeatableOnly automations in these categories.
--application-id <id...>repeatableOnly automations using these applications.
--business-unit <name>stringOnly automations in this business unit.
--phase-id <id...>repeatableOnly automations in these phases.
--status-id <id...>repeatableOnly automations in these phase statuses.
--tags <tag...>repeatableOnly automations carrying these tags.
--owner-id <id>integerOnly automations owned by this user id.
--submitter-id <id>integerOnly automations submitted by this user id.
--updated-by-id <id>integerOnly automations last updated by this user id.
--submission-type <type>stringOnly this submission type.
--start-date <date> / --end-date <date>YYYY-MM-DDCreated on or after/before this date.
--plain-textflagConvert rich-text fields to plain text.
--high-level-assessmentflagInclude high-level assessment data.
--advanced-informationflagInclude detailed and custom question answers.
--limit <n> / --offset <n>integerPaging. Default --limit 20.
--all-fieldsflagReturn the raw payload instead of the projected fields.
Example​
uip ah automations list --limit 10 --sort-by process_updated_epoch --sort-order desc
uip ah automations list --limit 10 --sort-by process_updated_epoch --sort-order desc
Data shape (--output json)​
{
  "Code": "AhAutomationsList",
  "Data": [
    {
      "Id": 20, "Name": "Invoice intake", "Slug": "invoice-intake", "Phase": "Analysis",
      "PhaseStatus": "In Progress", "SubmissionType": "ED", "BusinessUnit": "EMEA",
      "Department": "Finance", "AutomationScore": 78, "Priority": 1, "IsPublished": 0,
      "CreatedEpoch": 1735689600000, "UpdatedEpoch": 1738368000000,
      "PhaseKey": "ANALYSIS", "Tags": ["finance"]
    }
  ],
  "Pagination": { "Returned": 1, "Limit": 10, "Offset": 0, "HasMore": false }
}
{
  "Code": "AhAutomationsList",
  "Data": [
    {
      "Id": 20, "Name": "Invoice intake", "Slug": "invoice-intake", "Phase": "Analysis",
      "PhaseStatus": "In Progress", "SubmissionType": "ED", "BusinessUnit": "EMEA",
      "Department": "Finance", "AutomationScore": 78, "Priority": 1, "IsPublished": 0,
      "CreatedEpoch": 1735689600000, "UpdatedEpoch": 1738368000000,
      "PhaseKey": "ANALYSIS", "Tags": ["finance"]
    }
  ],
  "Pagination": { "Returned": 1, "Limit": 10, "Offset": 0, "HasMore": false }
}

Tags lists the automation's tag names as a string array. PhaseKey is the value uip ah phases set --phase takes. When the record carries a phase status key, PhaseStatusKey is included too.

uip ah automations get​

Get one automation idea by id.

Arguments​
NameRequiredPurpose
<automation-id>yesAutomation id.
Options​
LongDescription
--plain-textConvert rich-text fields to plain text.
--all-fieldsReturn the raw payload.
Example​
uip ah automations get 20 --plain-text
uip ah automations get 20 --plain-text
Data shape (--output json)​
{ "Code": "AhAutomationsGet", "Data": { "Id": 20, "Name": "Invoice intake", "Phase": "Analysis" } }
{ "Code": "AhAutomationsGet", "Data": { "Id": 20, "Name": "Invoice intake", "Phase": "Analysis" } }

uip ah automations schema get​

Get an assessment schema — the document create/update consume. With an automation id it returns that automation's filled form; without one it returns a blank template for the idea flow named by --idea-flow or --idea-flow-id, or for the built-in flow of --source-type.

Arguments​
NameRequiredPurpose
[automation-id]noExisting automation id, to read its filled schema. Omit for a blank template.
Options​
LongValueDescription
--source-type <type>COE|ED|CD|PM|TMIdea source type, for the blank template of that type's built-in flow. Ignored when an idea flow is given.
--idea-flow <name>stringIdea flow by name, for that flow's blank template. Matches the whole name, case-insensitively. Reaches every flow, including flows without a source type, such as Business Process.
--idea-flow-id <id>integerIdea flow by id (from uip ah idea-flows list). Use it instead of --idea-flow when flow names on the tenant are not unique. Cannot be combined with --idea-flow.
--category-id <id>integerCategory id, to pick the active assessment.
--destination <local-file>pathWrite the schema JSON to this file instead of the output envelope.

Pass an automation id, --source-type, --idea-flow, or --idea-flow-id. --idea-flow-id alone is enough for a blank template. If --idea-flow matches more than one flow on the tenant, the command fails and lists the matching ids. Pass --idea-flow-id with the one you need.

Examples​
# Blank form of an idea flow, by name
uip ah automations schema get --idea-flow "Business Process" --destination ./process.json

# The same flow, by id
uip ah automations schema get --idea-flow-id 23 --destination ./process.json

# Blank form of the built-in CoE flow
uip ah automations schema get --source-type COE --destination ./idea.json
# Blank form of an idea flow, by name
uip ah automations schema get --idea-flow "Business Process" --destination ./process.json

# The same flow, by id
uip ah automations schema get --idea-flow-id 23 --destination ./process.json

# Blank form of the built-in CoE flow
uip ah automations schema get --source-type COE --destination ./idea.json
Data shape (--output json)​
{ "Code": "AhAutomationsSchemaGet", "Data": { "IdeaFlow": "Business Process", "IdeaFlowId": 23, "Destination": "./process.json" } }
{ "Code": "AhAutomationsSchemaGet", "Data": { "IdeaFlow": "Business Process", "IdeaFlowId": 23, "Destination": "./process.json" } }

Data echoes the selector: AutomationId for an existing automation, or the SourceType, IdeaFlow, and IdeaFlowId given for a blank template. When --destination is omitted, Data.Schema carries the schema document inline instead of Destination.

uip ah automations create​

Submit a new automation idea. Without --from-schema, the ED, COE, and PM source types submit the file to that type's fixed-shape submission form. With --from-schema, the command submits a filled schema get document through the schema endpoint instead. The CD and TM source types always go through the schema endpoint. To submit to a specific idea flow, use --from-schema with --idea-flow or --idea-flow-id.

Options​
LongValueRequiredDescription
--source-type <type>COE|ED|CD|PM|TMconditionallyIdea source type. Required unless --idea-flow or --idea-flow-id is given.
--file <json-file>pathyesRequest body — the fixed-shape JSON, or the filled user_inputs document with --from-schema.
--from-schemaflagnoSubmit through the schema endpoint using the document from automations schema get.
--idea-flow <name>stringnoTarget idea flow by name. Reaches every flow, including flows without a source type, such as Business Process. Requires --from-schema.
--idea-flow-id <id>integernoTarget idea flow by id (from uip ah idea-flows list). Use it instead of --idea-flow when flow names are not unique. Requires --from-schema. Cannot be combined with --idea-flow.

When an idea flow and --source-type are both given, the idea flow is used. A --file whose JSON already carries a user_inputs key has it unwrapped automatically; a file that's just the answers map is used as-is.

Examples​
# Employee-driven idea from a fixed-shape request body
uip ah automations create --source-type ED --file ./idea.json

# Filled schema document for a named idea flow
uip ah automations create --from-schema --idea-flow "Business Process" --file ./process.json
# Employee-driven idea from a fixed-shape request body
uip ah automations create --source-type ED --file ./idea.json

# Filled schema document for a named idea flow
uip ah automations create --from-schema --idea-flow "Business Process" --file ./process.json
Data shape (--output json)​
{ "Code": "AhAutomationsCreate", "Data": { "Id": 42, "SourceType": "ED", "Name": "..." } }
{ "Code": "AhAutomationsCreate", "Data": { "Id": 42, "SourceType": "ED", "Name": "..." } }

With an idea flow, Data carries IdeaFlow and IdeaFlowId instead of SourceType.

uip ah automations update​

Update an automation's assessment answers from a file — the same document automations schema get <automation-id> writes out.

Arguments​
NameRequiredPurpose
<automation-id>yesAutomation id.
Options​
LongValueRequiredDescription
--file <json-file>pathyesJSON with the user_inputs answers to apply.
Example​
uip ah automations update 20 --file ./20.json
uip ah automations update 20 --file ./20.json
Data shape (--output json)​
{ "Code": "AhAutomationsUpdate", "Data": { "Id": 20, "Status": "Updated" } }
{ "Code": "AhAutomationsUpdate", "Data": { "Id": 20, "Status": "Updated" } }

uip ah idea-flows​

Discover the configured idea flows and the phase/status pairs they allow.

uip ah idea-flows list​

Options​
LongDescription
--limit <n> / --offset <n>Paging, applied client-side (unpaged endpoint).
--all-fieldsReturn the raw payload.
Example​
uip ah idea-flows list
uip ah idea-flows list
Data shape (--output json)​
{
  "Code": "AhIdeaFlowsList",
  "Data": [
    { "Id": 1, "Name": "Business Process", "Phases": { "IDEA": "NEW_IDEA, AWAITING_REVIEW", "LIVE": "IN_PRODUCTION" } }
  ]
}
{
  "Code": "AhIdeaFlowsList",
  "Data": [
    { "Id": 1, "Name": "Business Process", "Phases": { "IDEA": "NEW_IDEA, AWAITING_REVIEW", "LIVE": "IN_PRODUCTION" } }
  ]
}

Phases collapses the raw response's one-column-per-phase shape (IDEA, ASSESSMENT, QUALIFICATION, ANALYSIS, SOLUTION_DESIGN, DEVELOPMENT, TESTING, TECHNICAL_REVIEW, LIVE) into a single object, only including phases the flow actually uses.

uip ah business-cases​

Read an automation's cost-benefit analysis (Automation Hub's own term is CBA) and set its project-plan baseline.

uip ah business-cases get​

Arguments​
NameRequiredPurpose
<automation-id>yesAutomation id.
Options​
LongDescription
--all-fieldsReturn the raw payload.
Example​
uip ah business-cases get 20
uip ah business-cases get 20
Data shape (--output json)​
{ "Code": "AhBusinessCasesGet", "Data": { "AutomationId": 20, "BaselineIsSet": 0, "Sections": [{ "Title": "Project Plan" }] } }
{ "Code": "AhBusinessCasesGet", "Data": { "AutomationId": 20, "BaselineIsSet": 0, "Sections": [{ "Title": "Project Plan" }] } }

uip ah business-cases set-baseline​

Freeze the project-plan baseline for an automation from a file of phase dates. Flips BaselineIsSet to 1.

Arguments​
NameRequiredPurpose
<automation-id>yesAutomation id.
Options​
LongValueRequiredDescription
--file <json-file>pathyes{ "phases": [{ "phase": "Analysis", "start_date": "09/01/2026", "end_date": "09/15/2026" }] }. Phase names come from the Baseline section of business-cases get (Analysis, Solution Design, Development, Testing, Launch Date); dates are MM/DD/YYYY; every phase except Launch Date needs an end_date.

A bare phases array is auto-wrapped in { "phases": [...] }; anything else that isn't already { "phases": [...] } is rejected client-side before the request is sent.

Example​
uip ah business-cases set-baseline 20 --file ./baseline.json
uip ah business-cases set-baseline 20 --file ./baseline.json
Data shape (--output json)​
{ "Code": "AhBusinessCasesSetBaseline", "Data": { "AutomationId": 20, "Status": "BaselineSet" } }
{ "Code": "AhBusinessCasesSetBaseline", "Data": { "AutomationId": 20, "Status": "BaselineSet" } }

uip ah phases​

Move an automation through the pipeline.

uip ah phases set​

Arguments​
NameRequiredPurpose
<automation-id>yesAutomation id.
Options​
LongValueDescription
--phase <variable>stringTarget phase variable, e.g. TECHNICAL_REVIEW. Preferred over the legacy form; pair with --status.
--status <variable>stringTarget status variable, e.g. AWAITING_REVIEW. Required together with --phase.
--phase-status-id <id>integerLegacy numeric phase-status id — alternative to --phase/--status, not combinable with them.
--submitter-id <id>integerSubmitter user id. Only applies with --phase-status-id; rejected with --phase/--status.

Exactly one style is required: --phase with --status, or --phase-status-id alone. Find valid phase/status pairs with uip ah idea-flows list.

Examples​
uip ah phases set 20 --phase TECHNICAL_REVIEW --status AWAITING_REVIEW
uip ah phases set 20 --phase TECHNICAL_REVIEW --status AWAITING_REVIEW
uip ah phases set 20 --phase-status-id 118
uip ah phases set 20 --phase-status-id 118
Data shape (--output json)​
{ "Code": "AhPhasesSet", "Data": { "AutomationId": 20, "Phase": "TECHNICAL_REVIEW", "Status": "AWAITING_REVIEW" } }
{ "Code": "AhPhasesSet", "Data": { "AutomationId": 20, "Phase": "TECHNICAL_REVIEW", "Status": "AWAITING_REVIEW" } }

With --phase-status-id, Data carries PhaseStatusId instead of Phase/Status.

uip ah questionnaires​

Read the assessment question catalogue.

uip ah questionnaires list​

Options​
LongValueRequiredDescription
--assessment <name>high-level|detailed|citizen-developmentyesAssessment to read.
--section <key>stringnoOnly this section, e.g. q1-overview.
--active-only / --no-active-onlyflagnoOnly active questions (the server default) / include inactive ones too.
--mandatory-onlyflagnoOnly mandatory questions.
--limit <n> / --offset <n>integernoPaging, applied client-side (unpaged endpoint).
--all-fieldsflagnoReturn the raw payload.
Example​
uip ah questionnaires list --assessment high-level
uip ah questionnaires list --assessment high-level
Data shape (--output json)​
{
  "Code": "AhQuestionnairesList",
  "Data": [
    {
      "Section": "Overview", "SectionKey": "q1-overview", "SectionId": 1, "QuestionCount": 6,
      "Questions": [{ "Id": 101, "Key": "q1", "Title": "...", "IsMandatory": 1, "IsActive": 1 }]
    }
  ]
}
{
  "Code": "AhQuestionnairesList",
  "Data": [
    {
      "Section": "Overview", "SectionKey": "q1-overview", "SectionId": 1, "QuestionCount": 6,
      "Questions": [{ "Id": 101, "Key": "q1", "Title": "...", "IsMandatory": 1, "IsActive": 1 }]
    }
  ]
}

uip ah pipelines​

Read the automation pipeline — automations with their phase and benefit figures. Compared with automations list, the pipeline adds per-phase benefit columns and the --department and --priority filters.

uip ah pipelines list​

Options​
LongValueDescription
--search <text>stringFree-text search.
--sort-by <field>stringField to sort on.
--sort-order <direction>asc|descSort direction.
--category-id <id...>repeatableOnly these categories.
--application-id <id...>repeatableOnly automations using these applications.
--business-unit <name> / --department <name>stringScope filters.
--phase-id <id...> / --status-id <id...>repeatableOnly these phases / phase statuses.
--tags <tag...>repeatableOnly automations carrying these tags.
--priority <priority...>repeatableOnly these priorities.
--submission-type <type>stringOnly this submission type.
--plain-textflagConvert rich-text fields to plain text.
--limit <n> / --offset <n>integerPaging. Default --limit 20.
--all-fieldsflagReturn the raw payload.
Example​
uip ah pipelines list --sort-by process_estimated_benefit_score --sort-order desc --limit 10
uip ah pipelines list --sort-by process_estimated_benefit_score --sort-order desc --limit 10
Data shape (--output json)​
{
  "Code": "AhPipelinesList",
  "Data": [
    {
      "Id": 20, "Name": "Invoice intake", "Phase": "Analysis", "PhaseStatus": "In Progress",
      "PhaseOrder": 3, "Priority": 1, "AutomationScore": 78, "EstimatedBenefitFtes": 1.5,
      "EstimatedBenefitPerYear": 42000, "EaseOfImplementation": "Medium",
      "BusinessUnit": "EMEA", "Department": "Finance", "UpdatedEpoch": 1738368000000
    }
  ],
  "Pagination": { "Returned": 1, "Limit": 10, "Offset": 0, "HasMore": false }
}
{
  "Code": "AhPipelinesList",
  "Data": [
    {
      "Id": 20, "Name": "Invoice intake", "Phase": "Analysis", "PhaseStatus": "In Progress",
      "PhaseOrder": 3, "Priority": 1, "AutomationScore": 78, "EstimatedBenefitFtes": 1.5,
      "EstimatedBenefitPerYear": 42000, "EaseOfImplementation": "Medium",
      "BusinessUnit": "EMEA", "Department": "Finance", "UpdatedEpoch": 1738368000000
    }
  ],
  "Pagination": { "Returned": 1, "Limit": 10, "Offset": 0, "HasMore": false }
}

See also​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated