Skip to content

Daily work queue

Goal: a list of what needs your team today, in your CRM or practice manager, refreshed through the day. Scope: read.

Morning work queueYour job (07:00 local)IDEALX APIYour CRM1GET /v1/firms/{firmId}/proposals2GET /v1/firms/{firmId}/invitations3GET /v1/firms/{firmId}/conversations4GET /v1/firms/{firmId}/strategies/{strategyId}5states, unread counts, drift6Create or close tasks7Webhooks through the day (approval.waiting…)
Morning work queue
  1. Your job (07:00 local) to IDEALX API: GET /v1/firms/{firmId}/proposals
  2. Your job (07:00 local) to IDEALX API: GET /v1/firms/{firmId}/invitations
  3. Your job (07:00 local) to IDEALX API: GET /v1/firms/{firmId}/conversations
  4. Your job (07:00 local) to IDEALX API: GET /v1/firms/{firmId}/strategies/{strategyId}
  5. IDEALX API to Your job (07:00 local): states, unread counts, drift
  6. Your job (07:00 local) to Your CRM: Create or close tasks
  7. IDEALX API to Your CRM: Webhooks through the day (approval.waiting…)
Queue item Source Rule
Proposals waiting for second approval GET /v1/firms/{firmId}/proposals status: "pending_approval"; canApprove is true for team members who may approve
Proposals returned to their author same status: "draft" with returnedComment
Proposals unanswered or about to expire same status sent or viewed, expiresAt within 3 days
Proposals declined or failed same declined (declineReason), failed (results)
Invitations to answer GET /v1/firms/{firmId}/invitations status: "sent", expiresAt soon
Counter-proposals the client has not answered same status: "changes_proposed"
Unread client messages GET /v1/firms/{firmId}/conversations unread > 0, newest lastMessageAt first
Portfolios past their bands GET /v1/firms/{firmId}/strategies/{strategyId} followers with outside: true
Idle cash GET /v1/accounts/{id}/detail breakdown cash share above your threshold
Transfers waiting for approvals webhook approval.waiting until the instruction leaves pending_approval
Failed withdrawals and sends webhooks withdrawal.failed, crypto.failed always
Fee statements ready GET /v1/firms/{firmId}/fee-statements status: "ready"
  1. Schedule the job early in your firm’s local morning. Read the four lists (proposals, invitations, conversations, each strategy’s followers): about 4 + number of strategies requests.
  2. Turn rows into tasks with a stable task key, for example proposal:{id}:pending_approval, so a rerun updates instead of duplicating.
  3. Close tasks whose condition no longer holds (the proposal moved on, the message was read in Console).
  4. Through the day, let webhooks add urgent tasks (approval.waiting, withdrawal.failed, crypto.failed) and re-read proposals every hour or two.
const { proposals } = await get(`/v1/firms/${firmId}/proposals`);
const soon = Date.now() + 3 * 86_400_000;
const tasks = proposals.flatMap((p) => {
if (p.status === "pending_approval")
return [{ key: `proposal:${p.id}:approve`, title: `Approve "${p.title}"`, owner: "approvers" }];
if (p.status === "draft" && p.returnedComment)
return [{ key: `proposal:${p.id}:returned`, title: `Rework "${p.title}": ${p.returnedComment}`, owner: p.author.id }];
if (["sent", "viewed"].includes(p.status) && Date.parse(p.expiresAt) < soon)
return [{ key: `proposal:${p.id}:expiring`, title: `"${p.title}" expires ${p.expiresAt.slice(0, 10)}`, owner: p.author.id }];
if (p.status === "declined")
return [{ key: `proposal:${p.id}:declined`, title: `Client declined "${p.title}"`, owner: p.author.id }];
return [];
});
{
"conversations": [
{
"id": "cnv_01937f30a1b2c3d4e5f6a7b8c9d0e1f2",
"kind": "firm",
"subject": "Question about the bond fund",
"firmId": "frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b",
"personId": "per_01937d0a5b6c7d8e9f0a1b2c3d4e5f61",
"status": "open",
"lastMessageAt": "2026-11-25T21:14:00.000Z",
"unread": 2
}
]
}