Kissflow DocsHelp center

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.

Video: Ways to run an agent

Choose a starting point

Your starting pointRouteWhat you configure
A person works on an app pageThe agent panel on the page named under Runs fromDescribe 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 changesJavaScript in the appUse the Custom Agent SDK from the relevant event.
A recurring taskKissflow IntegrationsUse Scheduler by Kissflow and an HTTP POST step.
A record or workflow eventKissflow IntegrationsChoose the event trigger and map its data into an HTTP POST.
An external service needs an answerAgent APIStart 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

  1. Build the agent in AI Builder. Review its inputs, outputs, and tools under Blueprint > Custom Agents.
  2. 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.
  3. 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.
  4. Check that the person or access-key owner has App Admin, Edit, or View permission on the app.
  5. 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.

On this page