> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SupportAssignOnCustomerMessageRule

> SupportAssignOnCustomerMessageRule

**Required scopes:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**description** `String!` *required*

What the rule does, as shown in the app.

**enabled** `Boolean!` *required*

Whether the rule runs.

**kind** `[SupportDefaultRuleKind!](/docs/api-reference/v3/reference/support/support-default-rule-kind)` *required*

Which built-in rule this is. Unique within the store, so it identifies the rule.

**name** `String!` *required*

Name shown in the app's rules list.

**position** `Int!` *required*

Rules run in ascending position. Rules the store creates share this sequence.

**settings** `[SupportCustomerMessageAssignmentSettings!](/docs/api-reference/v3/reference/support/support-customer-message-assignment-settings)` *required*

**fields**

**maxTicketsPerTeamMember** `Int`

Skip a team member once they hold this many assigned tickets. Null means no limit.

**onShiftOnly** `Boolean!` *required*

Only pick team members who are on shift.

**strategy** `[SupportAssignmentStrategy!](/docs/api-reference/v3/reference/support/support-assignment-strategy)` *required*

How the rule picks among them.

**target** `[SupportAssignmentTarget!](/docs/api-reference/v3/reference/support/support-assignment-target)` *required*

Who the rule assigns to.

**teamMembers** `[\[TeamMember!\]!](/docs/api-reference/v3/reference/common/team-member)` *required*

Team members the rule picks from. Empty unless target is TEAM\_MEMBERS. Members no longer on the team are left out.

**fields**

**email** `String`

Email address. Null when the user has none.

**id** `ID!` *required*

m\_us\_… id, the same id the app and MCP tools use.

**name** `String`

Display name. Null when the user hasn't set one.

**supportShiftStatus** `[SupportShiftStatus!](/docs/api-reference/v3/reference/support/support-shift-status)` *required*

The agent's live shift status, worked out when the request runs.

**Requires:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**supportWorkSchedule** `[SupportWorkSchedule!](/docs/api-reference/v3/reference/support/support-work-schedule)` *required*

The agent's support working hours. An agent with no saved schedule returns enabled false.

**Requires:** [`team_members_manage`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-team_members_manage)

**userGroup** `[SupportUserGroup](/docs/api-reference/v3/reference/support/support-user-group)`

Group the rule picks from, subgroups included. Null unless target is USER\_GROUP, or when the group was deleted.

**fields**

**description** `String`

Null when none is set.

**id** `ID!` *required*

ugrp\_… id.

**members** `[TeamMemberConnection!](/docs/api-reference/v3/pagination)` *required*

Members of this group, ordered by name.

**Requires:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns members after it.

**before** `String`

Backward pagination cursor — returns members before it.

**first** `Int`

Forward pagination: returns the first N members (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N members (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**name** `String!` *required*

Group name. Unique among groups with the same parent. Top-level groups can share a name.

**parent** `[SupportUserGroup](/docs/api-reference/v3/reference/support/support-user-group)`

The group this one is nested under. Null for a top-level group.

**Requires:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.