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 YYYYMMDD format.

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 nextPageToken field, pass that field's value as the pageToken parameter to retrieve the next page of data.

filter
string

CEL expression used to filter workflow rules. Filtering is supported on assignee, type, and enabled.

Responses

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": {
    }
}

Review Workflow Rules: Create

Creates a Review Workflow Rule.

path Parameters
accountId
required
string
query Parameters
v
required
string

A date in YYYYMMDD format.

Request Body schema: application/json
assignee
string

Resource name of the user assigned to tasks created by this workflow rule.

Format: accounts/{account}/users/{user}

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: accounts/{account}/userGroups/{userGroup}

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 ruleType.

Supported keys:

  • filterCriteria
  • ruleApplication
  • automaticResponseAssetIds
  • autoPublishGenerativeResponse
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

Content type
application/json
{
  • "assignee": "string",
  • "assigneeUserGroup": "string",
  • "displayName": "string",
  • "enabled": true,
  • "domainConfiguration": {
    },
  • "ruleType": "REVIEW_RESPONSE",
  • "dueDate": {
    }
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": {
    }
}