uipath-automationhub
Publish and read business processes in UiPath Automation Hub via the Open API, using the user's cloud login — no admin OpenAPI token needed. PUBLISH an approved process and its PDD/SDD documents (schema-driven payload, base64 file upload or link) to AH as the system of record — e.g. a process captured/approved by Process Scribe. GET a process back by id or search, list its attached documents, and DOWNLOAD their file bytes (e.g. for dedup / related-idea lookups or retrieving a published PDD). Authenticates with the user's cloud bearer token and NEVER sends the admin `x-ah-openapi-auth` header. Routes by intent to `references/publish-process.md` (publish/create/upload) or `references/get-process.md` (get/read/fetch/list), over the shared auth + endpoint catalog in `references/api-endpoints.md`. Structured to extend to more Automation Hub Open API operations.
NPX Install
npx skill4agent add uipath/skills uipath-automationhubTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →UiPath Automation Hub — Open API Assistant
Step 0: Read the API reference
references/api-endpoints.mdAuthentication (shared — both flows)
- Runtime env-auth (preferred — how UiPath Delegate provides it). If is set (with
UIPATH_CLI_AUTH_TOKEN), use it as the bearer and take org/tenant fromUIPATH_CLI_ENABLE_ENV_AUTH=true/UIPATH_CLI_ORGANIZATION_NAME(and theUIPATH_CLI_TENANT_NAMEvariants). Base URL defaults to..._ID. (If a parenthttps://cloud.uipath.comprocess instead exporteduip+UIPATH_ACCESS_TOKEN— theUIPATH_URLshape — use those.){base}/{org}/{tenant} - Logged-in session. Otherwise, if the user has run
uip, readuip login(JSON:~/.uipath/.auth,accessToken,baseUrl,organizationName).tenantName - User-provided (last resort). Ask the user to paste a cloud bearer token plus their org and tenant slugs (the two path segments after the host in their AH URL).
$ACCESS_TOKEN$BASE_URL$ORG$TENANT{baseUrl}/{org}/{tenant}/automationhub_/api/v1/openapi{org}/{tenant}- Send on every request (and
Authorization: Bearer <cloud access token>on POSTs).Content-Type: application/json - NEVER send or
x-ah-openapi-auth. Those route to the admin-token path and reject a cloud token with 401 — never add them to "fix" a 401.x-ah-openapi-app-key - Never fall back to an admin OpenAPI token. If no token resolves, stop and explain the skill needs the user's cloud session () or a host-provided token.
uip login - Cloud tokens are short-lived. On a 401, if the token came from , tell the user to run
~/.uipath/.authagain, re-resolve, and retry.uip login
Routing — pick the flow by intent
references/api-endpoints.md| The user wants to... | Follow |
|---|---|
| Publish / create / upload a process (+ its PDD/SDD documents) to AH | |
| Get / read / fetch / list a process (+ its documents) from AH | |
| Shared auth + endpoint catalog (base URL, headers, every endpoint, error codes) | |
| (future AH Open API operation — add a row here) <!-- uip-check-skip --> | add |
uipreferences/<operation>.mdNotes
- Cloud token only — authorization is the user's real AH permissions; you see and can do exactly what their AH role allows.
- The publish flow fetches the idea-flow schema live, so it adapts automatically if fields change on the tenant.
- Open dependency: in a hosted runtime (e.g. Process Scribe/Delegate) the cloud token is expected via the environment (Authentication, option 1). Confirm the runtime provides (or an equivalent) before relying on it in production.
UIPATH_CLI_AUTH_TOKEN