uipath-coded-apps

Scaffold, build, and deploy UiPath Coded Web Apps and Action Apps with the uip CLI.

9|6|Updated Aug 25, 2017
One-click install
npx skills add https://github.com/sergueik/springboot_study --skill uipath-coded-apps-sergueik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uipath-coded-apps
Source: https://github.com/sergueik/springboot_study/tree/main/basic-uipath-skills/.github/skills/uipath-coded-apps
Command: npx skills add https://github.com/sergueik/springboot_study --skill uipath-coded-apps-sergueik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @uipath/cli, @uipath/uipath-typescript, @uipath/coded-action-app, @uipath/coded-apps-dev, @uipath/apollo-wind, @uipath/apollo-core, react-pdf, next-themes, lucide-react, tailwindcss, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Building and shipping React/TypeScript apps on UiPath Automation Cloud involves many error-prone steps — OAuth-PKCE setup, scope configuration, packaging, publishing, and folder-key deployment — where a single misstep causes silent 401s, broken redirects, or failed deploys. This Skill encodes the full correct pipeline so apps scaffold, build, and deploy reliably. ## Core Features & Use Cases - Coded Web App scaffolding: Creates Vite + React + TypeScript apps wired to the @uipath/uipath-typescript SDK with OAuth config, Apollo Vertex styling, and meta-tag-based SDK initialization. - Coded Action App scaffolding: Builds Action Center human-task forms with a validated action-schema.json data contract, outcome buttons, and optional PDF viewer via react-pdf. - Full deploy pipeline: Runs build → pack → publish → deploy via the uip codedapp CLI, including folder-key resolution, version bumping, and Action-type publishing. - Dashboard generation: Produces analytics and governance dashboards from natural-language requests, wired to tenant data through the Insights real-time API. - Use Case: Ask it to "build a dashboard showing agent health and error rates" or "scaffold an action app for loan review with Approve/Reject outcomes" and it handles scaffolding, OAuth scopes, and deployment end to end. ## Quick Start Ask the assistant to scaffold and deploy a UiPath coded web app named my-dashboard connected to your tenant.

Frequently Asked Questions about uipath-coded-apps

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a UiPath coded web app?

Run the pipeline in order: npm run build, then uip codedapp pack dist, uip codedapp publish, and uip codedapp deploy --folder-key <GUID>. Resolve the folder key with uip or folders list --output json, and never let deploy run interactively.

How do I create a UiPath Action Center form app?

Scaffold with create-vite, install @uipath/coded-action-app, and define the data contract in action-schema.json with inputs, outputs, inOuts, and outcomes. Publish with uip codedapp publish -t Action so it binds to Action Center tasks.

Why do UiPath SDK calls return 401 after login?

A 401 after login usually means the OAuth scopes in uipath.json don't cover the SDK methods being called. Add the missing scopes to uipath.json and to the External Application via uip admin external-apps update, then clear browser state and re-authenticate.

Can I use cloud.uipath.com as the SDK base URL?

No. The baseUrl must use the API subdomain, such as https://api.uipath.com for production. The portal domain cloud.uipath.com blocks browser CORS requests, causing API calls from the app to fail.

Why does my coded app return 404 after deployment?

A 404 after deploy is caused by vite.config.ts lacking base: './' or a hardcoded router basename. Set base to './' and use getAppBase() from the SDK for runtime URLs, then rebuild and redeploy.

Should I call sdk.initialize() in an action app?

Never. sdk.initialize() starts a PKCE OAuth redirect that only works in standalone web apps. Action apps run inside Action Center's iframe with a host-injected session, so construct new UiPath() with no arguments and use it directly.