Run an agent on schedules and events
Use an integration trigger and an HTTP call to start an agent on a schedule or business event.
Create a Kissflow integration to start an agent when a schedule or business event occurs. You will choose a trigger, map its values to the agent inputs, and start a background run with an HTTP call. Decide how the results will be saved before turning the integration on.
Choose a trigger
| Work begins when | Trigger route |
|---|---|
| A recurring date arrives | Scheduler by Kissflow |
| A record is created or submitted | Process, board, or dataform item event |
| A process reaches an approval step | Workflow step entry, exit, or approval event |
| A record changes | Board, dataform, or dataset update event |
| An external service calls Kissflow | Webhooks by Kissflow |
| Another application changes | An available connector trigger, such as an email or issue event |
The scheduler supports daily, weekly, monthly, and yearly schedules. One schedule runs at most once a day. Add separate schedules if you need more runs.
Example: run an agent every Monday
- Click + Create and select Integration. Give it a name and description.
- Search for the connector Scheduler by Kissflow and pick the Weekly trigger.
- Set Days of the week to Monday, set Hour of the day, and set when the schedule ends with Specific end date or After number of occurrences.
- Click Next to test the trigger, then Done.
- Add the HTTP connector's Make an HTTP call (POST) action that starts the agent. See the steps below.
- Switch on the toggle to activate the integration.
The time you choose uses the time zone in your My settings > Format settings. See Scheduler by Kissflow.
No person is present when a scheduled run starts, and agent tools act directly. Have the agent prepare a draft item and use an app workflow for human approval. See Responsible AI.
Configure the integration
- Prepare a published agent and note its account, app, and agent IDs. Review the required inputs under Blueprint > Custom Agents.
- Create an access key for a service account with View permission on the app. This key authorizes starting the run; each agent tool uses its own connection.
- Create an integration and choose the schedule or business-event trigger.
- Add the HTTP connector's Make an HTTP call (POST) action. Use the start address in the Agent API reference.
- Set
X-Access-Key-IdandX-Access-Key-Secretin the request headers, and setContent-Typetoapplication/json. Map trigger values inside theInputDataobject in the request body. - Plan the next step using one of the result-handling routes below. Save the returned
ExecutionIdwith the business item if your integration will read the run later. - Test with safe data, then turn the integration on.

Arrange results handling
An integration continues after the start request. The HTTP response supplies a run ID rather than finished results. Choose either route:
| Route | Setup |
|---|---|
| Agent saves or sends its findings | Add an appropriate tool, such as a dataform update or channel message, and describe when to use it in the instructions. |
| Integration reads the findings | Add a Delay step of at least one hour, then use an HTTP GET step with the saved ExecutionId. Check the run Status before using outputs. |
In an integration, read the run in a later step to get its result. A delay is a later read, not a completion signal. Handle Failed runs and any run that is still Queued, NotStarted or Running without starting a duplicate.
Prevent repeated starts
If the agent writes to the record that triggered it, add a condition that excludes records already processed. For example, use an app field to mark the review as handled and check that field before starting another run. This condition is part of your integration design.
After a first app deployment, integrations arrive switched off. Reconnect target-environment connections, test them, and enable the integration there. Later deployments also switch off integrations that are new, unarchived, or have changed triggers.

