Menu
Create Condition
Create condition statement
POST
/rest/search/v1/admin/pipelines/statementsUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Create Condition action (under Search).
- Fill in the fields below, then reference the result from later steps as
{{createCondition.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"definition": "when $searchhub is \"community\"",
"description": "If the query originates from the community site..."
}
Response
Returns 201 with a any. Read it in later steps with {{createCondition.response.data.<field>}}.
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?