Run a Fin procedure
Changed onDeterministically run a specific procedure on a new conversation. Calling this endpoint guarantees that the named procedure runs — there is no non-deterministic routing.
Fin's progress is delivered asynchronously via events. If the procedure pauses for user input, the conversation status becomes awaiting_user_reply — send the user's response with /fin/reply.
{% admonition type="warning" %} To request access to the Fin Agent API, go to Settings > Integrations > Fin Agent API in your workspace and tell us about your use case. Once access is granted, Fin Agent API appears under Fin AI Agent > Deploy. {% /admonition %}
Request
- Base URLhttps://api.intercom.io
- AuthHTTP bearer
Path parameters
The ID of the procedure to run.
Headers
Intercom API version.</br>By default, it's equal to the version set in the app package.
Request body
Example request
{
"conversation_id": "ext-123",
"user": {
"id": "123456",
"name": "John Doe",
"email": "john.doe@example.com",
"attributes": {
"plan_type": "Pro",
"subscription_status": "active"
}
},
"message": {
"author": "user",
"body": "How can I see my account details?",
"timestamp": "2025-01-24T10:01:20.000Z",
"timestamp_ms": "2025-01-24T10:01:20.456Z"
},
"conversation_metadata": {
"attributes": {
"order_id": "98765"
}
},
"environment": "a1b2c3d4e5"
}Response
Procedure run started successfully
Example response
{
"conversation_id": "ext-123",
"intercom_conversation_id": "192837465",
"user_id": "user-456",
"procedure_id": "12345",
"status": "thinking",
"created_at_ms": "2025-01-24T10:00:00.123Z",
"errors": {
"user": {
"attributes": {
"invalid_attr": "User attribute 'invalid_attr' does not exist"
}
},
"conversation": {
"attributes": {
"bad_attr": "Conversation attribute 'bad_attr' does not exist"
}
}
}
}Changes
- warning
removed the optional property
from the response with the status
- warning
- info
added the new optional request property
- info