Skip to main content
POST
Create an app-event agentic automation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
agent_id
string
required

The ID of the agent this automation runs.

name
string
required

Human-readable name for the automation.

Maximum string length: 255
application_id
string
required

The connector that sends the event.

Maximum string length: 255
Example:

"connector.procore"

trigger_event
string
required

The event to run on, in the form resource:event.

Maximum string length: 255
Example:

"RFIs:create"

description
string | null

Optional free-text description of what this automation does.

Maximum string length: 65535
enabled
boolean | null

Whether the automation is active. When true, the app webhook is registered during this request. When false, no webhook is registered and the automation is saved paused. Defaults to true when omitted or null.

run_conditions
string | null

Optional free-text conditions an event must meet before the agent runs.

Maximum string length: 65535
output_channel_type
string | null

Optional additional delivery transport.

Maximum string length: 255
output_channel_id
string | null

Optional additional delivery address.

Maximum string length: 255

Response

Created automation

object
enum<string>
required

The object type, always 'agentic_automation'.

Available options:
agentic_automation
id
string
required

Unique identifier for the automation.

kind
enum<string>
required

What the automation is. app_event for this route.

Available options:
app_event
agent_id
string
required

The ID of the agent this automation runs.

name
string
required

Human-readable name of the automation.

description
string | null
required

Free-text description of what this automation does.

enabled
boolean
required

Whether the automation is active.

output_channel_type
string | null
required

Additional delivery transport, when one is stored.

output_channel_id
string | null
required

Additional delivery address, when one is stored.

creator_user_id
string
required

The user who created the automation.

last_updated_by_id
string
required

The user who last updated the automation.

created_at
string<date-time>
required

ISO 8601 timestamp of when the automation was created.

updated_at
string<date-time>
required

ISO 8601 timestamp of the last modification.

app_event
object
required