crm_collections
CRM payments: view dues and collections · Read only
See what a lead owes, who is overdue, what falls due soon, converted leads who have not paid and failed checkouts — for the people behind the leads each user can see. Admins also see money collected, by day, method, course and counsellor.
Parameters
Parameters
string
required
The action to run:
lead_dues, who_owes, due_soon, collections, converted_not_paid, abandoned_checkouts.string
The lead (lead_id from crm_leads find / list).
string
lead_dues: or the lead’s phone (matched on the last 10 digits).
string
lead_dues: or the lead’s email.
string
First day, YYYY-MM-DD (institute timezone).
string
Last day included, YYYY-MM-DD.
integer
The last N days including today (default 30); due_soon: the next N days (default 7, max 60).
string
One of:
today, yesterday, this_week, last_week, this_month, last_month, last_7_days, last_30_days, last_90_days, this_year.string
who_owes: overdue now (default) or anything still to pay. One of:
overdue, outstanding.integer
who_owes: only people overdue by at least this many days.
string
who_owes: biggest amount (default) or oldest due date. One of:
amount, days.string
collections: also total the same number of days just before (with group_by: per row too, except date rows). One of:
previous_period, none.string
collections: which day a payment counts on — paid_on (default) or recorded_on. One of:
paid_on, recorded_on.string[]
collections: 1-2 of day, week, month, method, course, counsellor, currency, source, list, state, city, list_tag:<key>.
integer
Rows per page, default 20, max 50.
integer
0-based page.
What your AI app is told about this tool
What your AI app is told about this tool
crm_payment_reminders
CRM payments: send fee reminders · Makes changes · Calls or messages leads, or sends them invites — always after you confirm. · Turned on separately (opt-in)
Let the connected AI app send fee reminders for unpaid installments or pending invoices — through your installment-due automations or the invoice reminder. Admins only; shown to you first and sent only after you confirm, at most 50 an hour. Turned on separately.
What keeps it safe: outbound, admins only, single-use confirmed: reminds at most 50 unpaid installments or pending invoices verified to belong to this institute through admin-core’s own reminder endpoints (the institute’s installment-due automations; the invoice’s in-app alert and email); refuses paid, cancelled and waived bills, inactive enrolments and opted-out people; the apply sends exactly the previewed items, re-checked; capped at 50 reminders per user per hour
Parameters
Parameters
string
required
The action to run:
send_installment_reminder, send_invoice_reminder, quota.string[]
send_installment_reminder: bill_id values from crm_collections (≤50).
string[]
send_invoice_reminder: invoice_id values from crm_collections (≤50).
string
Remind this lead’s person’s open items.
integer
Items overdue by more than this many days (0 = all overdue).
integer
send_installment_reminder: installments due in the next N days (0-60).
string
From this tool’s preview reply, to send.
What your AI app is told about this tool
What your AI app is told about this tool