Menu
Post Classify Preview
Request classifications preview
POST
/rest/organizations/{organizationId}/caseassists/preview/classifyUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Post Classify Preview action (under Customer Service).
- Fill in the fields below, then reference the result from later steps as
{{postClassifyPreview.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"configuration": {
"name": "myCaseAssistConfiguration",
"classificationConfigurations": [
{
"fieldsToPredict": [
{
"name": "opportunitytype"
},
{
"name": "issuetype"
}
],
"filter": "@objecttype==case",
"strategy": "Some"
}
]
},
"allOf": null
}
Response
Returns 200 with an object. Read it in later steps with {{postClassifyPreview.response.data.<field>}}.
{
"fields": {
"issuetype": {
"predictions": [
{
"confidence": 0.8325673948382833,
"id": "7ac53b91-afd2-5472-8f6d-e829a0a8232f",
"value": "Ignition"
},
{
"confidence": 0.5364940382730438,
"id": "7cf52516-3dc6-5a1a-ba2e-d05b0c255c1c",
"value": "Controller"
}
]
},
"opportunitytype": {
"predictions": [
{
"confidence": 0.9178082346916199,
"id": "c38dec1f-349e-5dc1-bc24-4de96dc53bbd",
"value": "Propane"
}
]
}
},
"responseId": "123e4567-e89b-12d3-a456-426614174000"
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?