Review Workflow Rules: List
Retrieve the Review Workflow Rules configured for the account.
path Parameters
| accountId required | string |
query Parameters
| v required | string A date in |
| pageSize | integer <= 25 Default: 25 The maximum number of workflow rules to return. Defaults to 25. |
| pageToken | string If a response to a previous request contained the |
| filter | string CEL expression used to filter workflow rules. Filtering is supported on assignee, type, and enabled. |
Responses
Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "workflowRules": [
- {
- "assignee": "string",
- "assigneeUserGroup": "string",
- "displayName": "string",
- "enabled": true,
- "domainConfiguration": {
- "filterCriteria": "string",
- "ruleApplication": "NEW_REVIEWS",
- "automaticResponseAssetIds": [
- 0
], - "autoPublishGenerativeResponse": true
}, - "ruleType": "REVIEW_RESPONSE",
- "dueDate": {
- "value": 0,
- "unit": "HOUR"
}, - "name": "string",
- "createTime": "string"
}
], - "nextPageToken": "string"
}
}Review Workflow Rules: Create
Creates a Review Workflow Rule.
path Parameters
| accountId required | string |
query Parameters
| v required | string A date in |
Request Body schema: application/json
| assignee | string Resource name of the user assigned to tasks created by this workflow rule. Format: |
| assigneeUserGroup | string Resource name of the user group assigned to tasks created by this workflow rule. When this is set, tasks are assigned to the user in the group with the fewest open tasks. Format: |
| displayName required | string The name of the workflow rule. |
| enabled | boolean Whether the workflow rule is enabled. |
required | object Domain-specific configuration for the workflow rule. The supported keys depend on
Supported keys:
|
| ruleType required | string Enum: "REVIEW_RESPONSE" "AUTOMATIC_REVIEW_RESPONSE" "GENERATIVE_REVIEW_RESPONSE" The type of workflow rule. |
object Relative due date applied to tasks created by the workflow rule. |
Responses
Request samples
- Payload
{- "assignee": "string",
- "assigneeUserGroup": "string",
- "displayName": "string",
- "enabled": true,
- "domainConfiguration": {
- "filterCriteria": "string",
- "ruleApplication": "NEW_REVIEWS",
- "automaticResponseAssetIds": [
- 0
], - "autoPublishGenerativeResponse": true
}, - "ruleType": "REVIEW_RESPONSE",
- "dueDate": {
- "value": 0,
- "unit": "HOUR"
}
}Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "assignee": "string",
- "assigneeUserGroup": "string",
- "displayName": "string",
- "enabled": true,
- "domainConfiguration": {
- "filterCriteria": "string",
- "ruleApplication": "NEW_REVIEWS",
- "automaticResponseAssetIds": [
- 0
], - "autoPublishGenerativeResponse": true
}, - "ruleType": "REVIEW_RESPONSE",
- "dueDate": {
- "value": 0,
- "unit": "HOUR"
}, - "name": "string",
- "createTime": "string"
}
}