Skip to main content

Contract Desk

The Contract Desk gathers the open work of your contract apps in one list: values where the documents and the CRM disagree or are missing, missing documents, site checks, key dates and process steps. With these tools an agent works that list the way a person does: pick a batch from the To do list, open an item's evidence, record a decision, and undo it if it was wrong. A decision is recorded at the item's source app and in the desk's log, under your connection.

These tools are listed only when the Contract Desk is available to your connection. Every call is checked against your role in the workspace, exactly as in the app: reading needs an active membership, deciding needs the edit permission and the app switched on, changing the team setup needs an Admin.
  1. talonic_contract_desk_todo — sections and batches of open work.
  2. talonic_contract_desk_todo_items — the items of one batch.
  3. talonic_contract_desk_get_decision — one item's evidence and the actions it offers.
  4. talonic_contract_desk_decide — record the decision (preview with dry_run first).
  5. talonic_contract_desk_undo — take a decision back while it is the item's latest.
Accepting a colleague's suggestion is done by a person in the app; there is no tool for it.

talonic_contract_desk_status

Whether the desk is ready: when it was last refreshed, whether a refresh is running, and how many sites, contracts and open items it holds.

talonic_contract_desk_refresh

Start a refresh of the desk from its source apps. Answers at once; the status tool shows it running. Needs the run permission.

talonic_contract_desk_sites

One page of sites with their open work.

ParameterTypeDescription
qstringWords that must each occur in the site's number, name, contracts or partners.
filterstring`all`, `now` (work due now) or `nodoc` (no documents).
pageintegerPage number, from 1.
limitintegerRows per page; the desk caps it.

talonic_contract_desk_get_site

One site with its contracts and site-level items.

ParameterTypeDescription
key *stringThe site key.

talonic_contract_desk_contracts

One page of contracts, searchable, for one partner or one site.

ParameterTypeDescription
qstringSearch words.
partnerstringA `partner_key`, matched exactly.
sitestringA site key, matched exactly.
pageintegerPage number, from 1.
limitintegerRows per page; the desk caps it.

talonic_contract_desk_get_contract

One contract with its items and values: where the documents and the CRM agree or differ, and what is open.

ParameterTypeDescription
id *stringThe contract's `crm_key`.

talonic_contract_desk_dashboard

Work due now and this month, open work by team, due dates by week, the busiest sites and the history.

ParameterTypeDescription
teamstringOne team's work only; all teams when left out.

talonic_contract_desk_quality

Required values and how many are still open, the attributes with most open values, and how well documents link to contracts.

talonic_contract_desk_todo

The To do list: per section (now, this month, later, no date) its count and first batches of similar items, plus today's decisions.

ParameterTypeDescription
teamstringOne team's work only; all teams when left out.

talonic_contract_desk_todo_items

One page of the open items of a batch.

ParameterTypeDescription
batch *stringThe batch key from `talonic_contract_desk_todo`, unchanged.
pageintegerPage number, from 1.
limitintegerRows per page; the desk caps it.

talonic_contract_desk_get_decision

Everything the decision screen shows for one item: for a value, what each document and the CRM say and the values to pick; for a key date, its day and the outcomes offered; for a process step, mark it handled. can_decide says whether your connection may decide it; mode: suggest means your decision becomes a suggestion a colleague accepts.

ParameterTypeDescription
id *UUIDThe item id.

talonic_contract_desk_decide

Decide one item at its source app. Run with dry_run first. Returns the decision_id to undo it with.

ParameterTypeDescription
id *UUIDThe item id.
action *string`set`, `crm_add`, `handled`, `notice_sent`, `renewal_declined` or `terminated`; only those the item offers.
valuestringThe value to record; with `set` only.
notestringWhy, in a few words; recorded at the source.
dry_runbooleanPreview only; nothing is recorded.

talonic_contract_desk_decisions

The decisions newest first, with who decided what and whether each can still be undone.

ParameterTypeDescription
minebooleanOnly your own decisions.
crm_keystringOne contract's decisions.
pageintegerPage number, from 1.
limitintegerRows per page; the desk caps it.

talonic_contract_desk_undo

Undo a decision at its source and put the item back on the list. Only an item's latest decision can be undone.

ParameterTypeDescription
id *UUIDThe decision id.

talonic_contract_desk_settings

Which team gets which items: the team per item kind and per attribute, and the choices.

talonic_contract_desk_save_settings

Replace the whole team setup and refresh the desk. Read the current setup first and send it back complete. Needs an Admin.

ParameterTypeDescription
teams *object`{ kinds: { <kind>: <team> }, fields: { <field_key>: <team> } }`.