Menu
Get Suggest Document Preview
Request document suggestions preview
POST
/rest/organizations/{organizationId}/caseassists/preview/documents/suggestUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Get Suggest Document Preview action (under Customer Service).
- Fill in the fields below, then reference the result from later steps as
{{getSuggestDocumentPreview.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"configuration": {
"name": "myCaseAssistConfiguration",
"documentSuggestionConfiguration": {
"filter": "@objecttype==case",
"pipeline": "myPipelineName",
"strategy": "ITD"
}
},
"allOf": null
}
Response
Returns 200 with an object. Read it in later steps with {{getSuggestDocumentPreview.response.data.<field>}}.
{
"documents": [
{
"clickUri": "http://www.salesforce.com/org:organization/object:Solution/record:5013h000000tPmnAAE",
"excerpt": "The GC3000 series propane generators need to be started up using the following process if the ignition fails at the first try",
"fields": {
"...": "...",
"title": "GC3000 Series Propane Generator Ignition",
"urihash": "EFQOedWwU1M5af37"
},
"hasHtmlVersion": true,
"title": "GC3000 Series Propane Generator Ignition",
"uniqueId": "84.72597$http://www.salesforce.com/org:organization/object:Solution/record:5013h000000tPmnAAE:2"
}
],
"responseId": "123e4567-e89b-12d3-a456-426614174000",
"totalCount": 1
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?