Execute an option for a specific intent
Authorizations
Cookie-based authentication
Path Parameters
The id of the intent that should be executed
Body
This field is necessary for creating new intent when we don't have intentId
"process_meter_reading"
This field is necessary for creating new intent when we don't have intentId
1010
If true, an email is being sent to the customer informing him about the outcome, and the corresponding ticket is closed (if the operation was successful)
false
If true, the execution is simulated without any write API calls triggered to the backend systems
true
Intent-specific data object that should be used to process the intent
Optional contract id. If provided, the backend verifies that the provided contractId matches the contract id associated to the intent and throws an error if it does not match
376189
Response
Shows the outcome (if the intent was already executed)
ID of the AI agent that was executed
1
true
Human-readable message, usually from the backend system. Already localized.
"Powercloud accepted meter reading"
Technical output for debugging purposes
{
"requestEndpoint": "saveReadingByContractId",
"requestParams": "readingValue=21;date=2022-12-31"
}
Date and time when intent was executed
"2022-12-13 22:18:06"
User ID of user that triggered the intent. 0 for system user
1
Was the email / chat message / etc. described in this object successfully sent?
Was the ticket closed?
true
"john@smith.com"
"We successfully processed your meter reading of 21 kWh dated Dec 31, 2022"
"<p>Dear John,</p><p>%MESSAGE%</p><i>Mike from your service team</i>"
Any sources that were used to create the result
A source that was used by an AI model / intent
Unique transaction id. Corresponds to a log entry in enneo
"c916167c94"