Ways to run an agent
Choose an app page, integration, or API call to start a published agent and use its results.
Choose how to start your agent based on where the work begins. You can run it from an app page, start it on a schedule or business event through an integration, or call it from your own system. This article helps you choose a route and plan how you will collect the results.
Choose a starting point
| Your starting point | Route | What you configure |
|---|---|---|
| A person works on an app page | The agent panel on the page named under Runs from | Describe the page and agent to AI Builder. People fill in the inputs and click Run. |
| A page opens, a button is clicked, or a field changes | JavaScript in the app | Use the Custom Agent SDK from the relevant event. |
| A recurring task | Kissflow Integrations | Use Scheduler by Kissflow and an HTTP POST step. |
| A record or workflow event | Kissflow Integrations | Choose the event trigger and map its data into an HTTP POST. |
| An external service needs an answer | Agent API | Start a run with POST .../execute, save its ExecutionId, and read it later. |
Running from a page is the no-code route for app users. Other page and form events need JavaScript. Integrations start an agent with an HTTP connector step and read its result in a later step.
Prepare the agent
- Build the agent in AI Builder. Review its inputs, outputs, and tools under Blueprint > Custom Agents.
- Click Run the example on the agent's Instructions & example run, with data you can safely change. A test runs real tools. To test your own inputs, call the API test route.
- Click Generate. AI Builder creates and publishes agents when you click Generate; to change an agent later, see Change an app after it's generated. App users and integrations run Live.
- Check that the person or access-key owner has App Admin, Edit, or View permission on the app.
- Check each tool connection. A tool uses its connection's permissions, which can differ from the runner's permissions.
Agents run for signed-in account users or authenticated API callers. They cannot start from a portal or a public form.
Decide where results go
The person running from a page reads the answer there. Your page code, integration, or external service must read a run using its execution ID. A start response means work was accepted; it does not mean the answer is ready.
Use typed outputs to make the next step explicit. For example, return a Yes/No field for a policy check, a Number for the amount difference, and Text for a reason. Your app can display those fields or use them to choose a later step.
For unattended work, decide whether the agent will save results through a tool or your integration will read them later. An integration carries on after starting the agent. It does not wait for completion automatically.
Plan for repeat runs
Keep a link between the business item and its run ID. If a request times out, inspect the existing run before starting another. Runs do not retry automatically, and tools may already have changed data. Treat any repeat from a page as another run.

