Organizations

Change the settings for a team's members' agents

Changed on

Changes any subset of how members' agents work for one team's members, with the same body and the same checks as PUT /v1/org/workbot-settings/proactive: policy fields, sources (only the organization's own connections, each where it can serve; a core source's default must stay allowed), brief, responsibilities and instructions. The change is merged onto the team's own policy. A team that followed the organization starts from the organization's policy, sources, brief and template as they are now, and this first save makes that copy the team's own: from then on it no longer follows the organization's changes. A change to responsibilities or instructions adds one to the team's template version. The team's members follow it from their next check, including when agents are off for everyone and on for this team; a member on several teams whose own policies differ follows the organization's. Members' own choices are kept. To follow the organization again, send agent: { inherit: true } to PUT /v1/org/workbot-settings/teams/{teamId}. Returns the team's policy with inherit: false. Requires Workbot on this deployment and Manage OpenWork Models.

put/v1/org/workbot-settings/teams/{teamId}/agent

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

teamId, string typeid required

Den TypeID with 'tem_' prefix and a 26-character base32 suffix.

Request body

WorkbotProactiveSettingsInput required
enabled, boolean
leadMinutes, integer
workingDays, 'weekdays' | 'everyday'
startHour, integer
endHour, integer
dailyCap, integer
membersStart, 'opted_in' | 'opted_out'
destination, 'workbot_dm' nullable
sources, object
brief, object
checkGate, boolean
checkGateThreshold, number
sendCheck, boolean
sendCheckThreshold, number
responsibilities, object
instructions, string

Response

The team's agent settings saved.

WorkbotTeamAgentSettings required
settings, object required
template, object required
slackReady, boolean required
runnerReady, boolean required
sourceConnections, object nullable required
brief, object required
checkGate, object
sendCheck, object
inherit, boolean required

Changes

    • info

      the response property brief became required for the status

    • breaking

      removed the required property settings/sources/chat from the response with the status

    • breaking

      removed the required property settings/sources/email from the response with the status

    11 more changes in this revision