- Get started
- Best practices
- Capabilities
- Skills
- CLI
- Examples
- Examples overview
- Recipe: build an agent
- Recipe: automate with RPA
- Recipe: enter data into a web app
- Recipe: extract data from a desktop app
- Recipe: refactor and test a workflow
- Recipe: a queue-based process with REFramework
- Recipe: build a flow in Maestro
- Recipe: build a Maestro Case
- Recipe: coded app and API workflow
- Recipe: build a coded function
- Recipe: verify a release with Test Manager
- Recipe: extract data from documents with IXP
- Advanced
- Help
Recipe: coded app and API workflow
Build a small coded app backed by an API workflow, then run them together.
This recipe builds a small coded app with a form, backed by an API workflow that processes each submission. It shows how the interactive and integration pieces come together from a single conversation with your agent.
Prerequisites
- The
uipCLI and skills installed, and an authenticated session (see Install and set up). - An empty working folder.
- An
expensesentity in Data Fabric, and an Integration Service connection to Data Fabric that the API workflow uses to write to it. - Permission to manage external applications in your organization, or an administrator who can create one for you. The coded app signs in through an OAuth external application, which the agent creates.
Build the app and workflow
-
Open your coding agent in the empty folder.
-
Prompt it with the goal:
"Create a coded app with a form to submit a new expense, and an API workflow that validates each submission and stores it in my expenses entity."
-
Review the two pieces the agent produces — the app and its form, and the API workflow that handles submissions.
-
Ask the agent to run the app and workflow.
-
Submit a test expense through the form.
-
Confirm the workflow stored the submission in your expenses entity.
-
Refine the form fields or the validation rules in conversation.
Result: a working coded app whose submissions are validated and stored by an API workflow.
The generated structure and commands depend on your agent and prompt. Use a successful end-to-end submission as your signal of success.