Skip to content

Cashfin actions ​

The Run a Cashfin action step, and the AI agent step, can use any of the 210 actions below. They are the same actions the AI assistant uses in the dashboard, so an automation can do anything you can ask the assistant to do.

ColumnMeaning
ActionThe name shown in the builder.
KeyThe name to give an AI agent, or to use when building an automation through the API.
KindLooks up reads data and changes nothing. Creates, Changes, Acts and Generates change something or send something.

Inside an AI agent step, "Looks up" actions run on their own. Every other kind waits for approval unless you list it under Run without approval. Deletes, refunds and sending money always wait. See AI agent.

Choose an action in the builder to see its inputs: each one has its own form.

Accounting ​

ActionKeyKindWhat it does
Accounting periodclose_accounting_periodActsClose an accounting period so it rejects all new ledger postings (locks the books for that month).
Journal entrycreate_journal_entryCreatesRecord a manual double-entry journal (e.g.
Accounting periodsget_accounting_periodsLooks upRetrieve the business accounting periods (monthly) with open/closed status.
Accounts payableget_accounts_payableLooks upRetrieve accounts payable — money the business owes vendors, from unpaid bills, expenses, and manual payable records, with balances and due dates.
Accounts receivableget_accounts_receivableLooks upRetrieve accounts receivable — money customers owe the business, from unpaid invoices, sales orders, and manual receivable records, with balances and due dates.
Balance sheetget_balance_sheetLooks upRetrieve the balance sheet as of a date: assets, liabilities, equity, and current earnings.
Cash flowget_cash_flowLooks upRetrieve the cash flow report for a date range: opening cash, inflows and outflows grouped by activity (payments, vendor payments, etc.), and closing cash across the mapped bank/wallet accounts.
Chart of accountsget_chart_of_accountsLooks upRetrieve the business chart of accounts (ledger accounts) with codes, titles, types, and categories.
Contact statementget_contact_statementLooks upRetrieve a statement of account for one customer or vendor: opening balance, every transaction with a running balance, and the closing balance for a date range.
General ledgerget_general_ledgerLooks upRetrieve posted general ledger lines (every debit and credit on the books), filterable by account, source type, and date range.
Journalsget_journalsLooks upRetrieve all accounting journals in one feed: the balanced double-entry records behind every invoice, payment, bill, expense, and manual entry (including reversals), plus draft manual entries awaiting posting.
Payables agingget_payables_agingLooks upRetrieve the accounts payable aging summary: total owed to vendors and overdue amounts bucketed by age (1-30, 31-60, 61-90, 91-120, 120+ days).
Profit and lossget_profit_and_lossLooks upRetrieve the profit & loss statement (income statement) for a date range: revenue, expenses, and net income per account.
Receivables agingget_receivables_agingLooks upRetrieve the accounts receivable aging summary: total outstanding and overdue amounts bucketed by age (1-30, 31-60, 61-90, 91-120, 120+ days).
Trial balanceget_trial_balanceLooks upRetrieve the trial balance: every ledger account with its total debits, credits, and net balance as of a date.
Journal entrypost_journal_entryActsPost a draft manual journal entry to the general ledger.
Accounting periodreopen_accounting_periodActsReopen a closed accounting period so postings dated inside it are accepted again.
Journal entryreverse_journal_entryActsReverse a posted manual journal entry by posting a new journal with the debit and credit sides swapped.
Journal entryupdate_journal_entryChangesEdit a DRAFT manual journal entry — its date, notes, reference number, or replace its line set.

Analytics and reports ​

ActionKeyKindWhat it does
Accounts reportgenerate_accounts_reportGeneratesGenerate an AI-assisted branded PDF Accounts report for the selected period.
CRM reportgenerate_crm_reportGeneratesGenerate an AI-assisted branded PDF CRM report for the selected period.
Marketing reportgenerate_marketing_reportGeneratesGenerate an AI-assisted branded PDF Marketing report for the selected period.
Payments reportgenerate_payments_reportGeneratesGenerate an AI-assisted branded PDF Payments report for the selected period.
Purchases reportgenerate_purchases_reportGeneratesGenerate an AI-assisted branded PDF Purchases report for the selected period.
Shop reportgenerate_shop_reportGeneratesGenerate an AI-assisted branded PDF Shop report for the selected period.
Accounts analyticsget_accounts_analyticsLooks upRetrieve accounts analytics (KPIs, trends, distributions) for the given date range.
CRM analyticsget_crm_analyticsLooks upRetrieve crm analytics (KPIs, trends, distributions) for the given date range.
Marketing analyticsget_marketing_analyticsLooks upRetrieve marketing analytics (KPIs, trends, distributions) for the given date range.
Payments analyticsget_payments_analyticsLooks upRetrieve payments analytics (KPIs, trends, distributions) for the given date range.
Purchases analyticsget_purchases_analyticsLooks upRetrieve purchases analytics (KPIs, trends, distributions) for the given date range.
Shop analyticsget_shop_analyticsLooks upRetrieve shop analytics (KPIs, trends, distributions) for the given date range.

Audit ​

ActionKeyKindWhat it does
Duplicate billsget_duplicate_billsLooks upScan for potential duplicate bills: groups of bills from the SAME vendor with the SAME amount within the window — double-payment risk.
Duplicate invoicesget_duplicate_invoicesLooks upScan for potential duplicate invoices: groups of invoices to the SAME customer with the SAME amount within the window.
Large stock adjustmentsget_large_stock_adjustmentsLooks upList the biggest NEGATIVE manual stock adjustments within the window (most stock written off first) — shrinkage/leakage candidates.
Off-hours transactionsget_offhours_transactionsLooks upList successful transactions recorded outside business hours (22:00-05:59 local) within the window, largest first — activity worth a second look.

Branches ​

ActionKeyKindWhat it does
Branch performanceget_branch_performanceLooks upCompare all branches (territories) over a window: money in (successful transactions), transaction count, and order count/total per branch, with branch names.

Business and workspace ​

ActionKeyKindWhat it does
API keycreate_apiCreatesCreate a new API key or integration for external service access.
Taskcreate_taskCreatesCreate a task with optional due date, status, and references to leads or customers.
Activitiesget_activitiesLooks upRetrieve business activities and timeline events with optional filtering and pagination.
Automation settingsget_automation_settingsLooks upGet the business's automation settings: customersenddailycap (how many customer-facing messages automations may send per day), its default and maximum.
Balancesget_balancesLooks upRetrieve account balances with optional filtering and pagination.
Dashboard statsget_dashboard_statsLooks upRetrieve the business dashboard headline stats: sales, collections, orders, and key metric cards with period-over-period change.
Money in and outget_money_in_outLooks upRetrieve the money-in vs money-out chart data (cash inflows and outflows over time).
Notificationsget_notificationsLooks upRetrieve in-app business notifications (orders, payments, bookings, system events) with optional filtering and pagination.
Pipelinesget_pipelinesLooks upRetrieve sales pipelines.
Stagesget_stagesLooks upRetrieve pipeline stages.
Tagsget_tagsLooks upRetrieve available tags.
Tasksget_tasksLooks upRetrieve tasks with optional filtering and pagination.
Taxesget_taxesLooks upRetrieve tax configurations.
Usersget_usersLooks upRetrieve business users with optional filtering and pagination.
Workflowget_workflowLooks upGet one automation with its flow chart (nodes and edges; simple automations are returned as an equivalent flow chart).
Automation catalogueget_workflow_catalogLooks upList what automations can use: triggers (with their typed fields and the actions each allows), step kinds (filter, if/else, switch, action), actions with their config fields, operators per field type, agent keys, and ...
Workflow runsget_workflow_runsLooks upList an automation's recent runs, newest first: status (succeeded, failed, skipped), each step's outcome, branch taken and error.
Automation step inputsget_workflow_step_inputsLooks upGet the inputs (JSON schema) of one Cashfin action for a tool step, e.g.
Workflowsget_workflowsLooks upList the business's automations: trigger event, enabled state, run count, last run time and last run status.
Automation settingsupdate_automation_settingsChangesChange the daily cap on customer-facing messages (email, SMS, WhatsApp, sent documents) from automations.
Referencesupdate_referencesChangesLink or unlink related records on a host document (invoice, quote, sales order, task, bill, expense, purchase order, booking, contract, subscription, receipt, deal, campaign...).
Taskupdate_taskChangesUpdate an existing task's title, description, status, dates, assignees, or linked records.

CRM ​

ActionKeyKindWhat it does
Leadsbulk_create_leadsCreatesBulk-create multiple leads at once from a list.
Customersbulk_import_customersCreatesImport multiple customers at once (e.g.
Leadclose_leadActsClose a lead as lost or unqualified with a close reason.
Leadconvert_leadActsConvert a won lead into a customer.
Appointmentcreate_appointmentCreatesCreate a new appointment type or booking slot.
Assignment rulecreate_assignment_ruleCreatesCreate a lead routing rule: leads arriving WITHOUT an assignee (API capture, imports, web forms) are matched against rules in priority order; the first match picks an owner from the user pool.
Bookingcreate_bookingCreatesCreate a new booking with scheduling, guests, location, billing, and customer references.
Calendar eventcreate_calendar_eventCreatesCreate a new calendar event or meeting.
Contractcreate_contractCreatesCreate a new contract with billing details, items, terms, and customer references.
Customercreate_customerCreatesCreate a new customer with contact information, company details, and assignment.
Dealcreate_dealCreatesCreate a sales deal (revenue opportunity) with a value, expected close date, and optional customer/lead links.
Leadcreate_leadCreatesCreate a new lead with contact information, company details, and assignment.
Quotecreate_quoteCreatesCreate a new quote with line items, tax calculation, customer references, and expiry date.
Sequencecreate_sequenceCreatesCreate a multi-step nurture sequence (cadence) for leads: ordered email/SMS/WhatsApp/task steps with delays between them.
Sequenceenroll_in_sequenceActsEnroll one or more leads into a nurture sequence — the first step is scheduled immediately per the sequence's delays.
Appointmentsget_appointmentsLooks upRetrieve appointment types/slots that can be booked by customers.
Assignment rulesget_assignment_rulesLooks upList the business's lead routing rules: priority, conditions, strategy, user pool, enabled state, run count, and last run time.
Bookingsget_bookingsLooks upRetrieve bookings and scheduled appointments with optional filtering and pagination.
Calendar eventsget_calendar_eventsLooks upRetrieve calendar events with optional filtering and pagination.
Contractsget_contractsLooks upRetrieve contracts with optional filtering and pagination.
Callsget_crm_callsLooks upRetrieve logged phone calls with outcome and duration.
Emailsget_crm_emailsLooks upRetrieve outbound CRM emails with optional filtering.
Messagesget_crm_messagesLooks upRetrieve outbound CRM SMS and WhatsApp messages with optional filtering.
Customersget_customersLooks upRetrieve customers with optional filtering and pagination.
Dealsget_dealsLooks upRetrieve sales deals (revenue opportunities) with amount, stage, probability and expected close date.
Close reasonsget_lead_close_reasonsLooks upList the close reasons available when closing a lead as lost or unqualified.
Leadsget_leadsLooks upRetrieve leads with optional filtering and pagination.
Projectsget_projectsLooks upRetrieve projects with optional filtering and pagination.
Quotesget_quotesLooks upRetrieve quotations with optional filtering and pagination.
Sequencesget_sequencesLooks upList the business's nurture sequences: steps, enabled state, and enrolled/completed/exited counters.
Calllog_callCreatesLog a phone call against a lead, customer or deal — outcome, duration and what was discussed.
Deallose_dealActsClose a deal as lost with a close reason.
Emailsend_crm_emailActsSend a transactional CRM email to a single recipient.
Messagesend_crm_messageActsSend an outbound SMS or WhatsApp message from the CRM.
Quotesend_quoteActsSend a quote to the customer by email.
Dealtransition_dealActsMove an open deal to a different sales stage (get_stages with type='sales' for stage IDs).
Pipelinetransition_pipelineActsMove a lead or customer to a different pipeline stage.
Appointmentupdate_appointmentChangesUpdate an appointment type's duration, availability, or settings.
Assignment ruleupdate_assignment_ruleChangesUpdate a lead routing rule — only provided fields change; sending conditions/userPool replaces the whole list.
Bookingupdate_bookingChangesUpdate a booking's status, time, or notes.
Calendar eventupdate_calendar_eventChangesUpdate a calendar event's title, dates, color, priority, description, or assignees.
Contractupdate_contractChangesUpdate an existing contract's status, dates, or value.
CRM settingsupdate_crm_settingsChangesUpdate the CRM automation thresholds: firstResponseSlaHours flags leads with no first outbound touch within N hours (lead_sla_breached event, hourly sweep); leadIdleDays flags open leads untouched for N days (lead_idl...
Customerupdate_customerChangesUpdate an existing customer's contact details, company info, or assigned users.
Dealupdate_dealChangesUpdate a deal's title, value, expected close date, forecast category or assignment.
Leadupdate_leadChangesUpdate a lead's details or status.
Projectupdate_projectChangesUpdate a project's title, description, status, dates, or assignees.
Quoteupdate_quoteChangesUpdate an existing quote's status, title, dates, or line items.
Sequenceupdate_sequenceChangesUpdate a sequence: rename, pause/resume (enabled), or replace its steps (the list is replaced whole).
Dealwin_dealActsClose a deal as won, recording the won amount (defaults to the deal value).

Data quality ​

ActionKeyKindWhat it does
Duplicate customersget_duplicate_customersLooks upScan for customer records sharing a phone number or email address — merge candidates.
Lead gapsget_lead_gapsLooks upList open leads missing a phone number or email — records outreach and deduplication cannot work with (usually imports/legacy rows).
Product gapsget_product_gapsLooks upList active products missing a SKU, cost price, or category (flags per product).

Marketing ​

ActionKeyKindWhat it does
List contactadd_list_contactCreatesAdd one contact to a marketing list.
List contactsbulk_import_list_contactsCreatesImport multiple contacts into a marketing list (e.g.
Campaigncreate_campaign_manualCreatesCreate a new marketing campaign manually with subject, type, medium, and recipient configuration.
Marketing listcreate_listCreatesCreate a new marketing list for email, SMS, or WhatsApp campaigns.
Social postcreate_social_postCreatesPublish or schedule a social media post with one image to connected Facebook, Instagram or LinkedIn accounts.
Campaignsget_campaignsLooks upRetrieve marketing campaigns with optional filtering and pagination.
Email templatesget_email_templatesLooks upRetrieve email templates with optional filtering and pagination.
List contactsget_list_contactsLooks upRetrieve the contacts on one marketing list, with optional search and pagination.
Marketing listsget_listsLooks upRetrieve marketing lists/segments with optional filtering and pagination.
Post insightsget_social_post_insightsLooks upHow a published social post is doing per account: views/impressions, reach, likes, comments, shares and saves, as last synced from the platform.
Social postsget_social_postsLooks upList the business's social media posts (drafts, scheduled, published, failed) with the accounts each was sent to.
Canva designimport_canva_designGeneratesBring a Canva design into the Content Lab as a PNG so it can be posted.
Social accountslist_social_accountsLooks upList the business's connected social accounts (Facebook pages, Instagram accounts, LinkedIn pages, and Canva).
Social commentslist_social_commentsLooks upList comments people left on the business's Facebook, Instagram and LinkedIn posts (the social inbox), newest first.
Comment moderationmoderate_social_commentActsHide, unhide or delete a comment on a Facebook or Instagram post.
Comment replyreply_to_social_commentActsPublicly reply to a comment on a social post as the business.
Send campaignsend_campaignActsQueue an existing email campaign for sending to its recipients.
Campaignupdate_campaignChangesUpdate a campaign's title, description, subject line, schedule time, or assignees.
Email campaignupdate_email_campaignChangesChange an EXISTING email campaign's email itself, in place: copy, headline, subject, title, button text and links, images, colours.
Marketing listupdate_listChangesUpdate a marketing list's name, description, or type.
List contactupdate_list_contactChangesUpdate a contact on a marketing list: name, email, phone, company, or subscribed (false unsubscribes them from campaigns and automations).

Payments ​

ActionKeyKindWhat it does
Customer creditapply_customer_creditActsUse a customer's credit balance to settle one of their unpaid invoices, or an open sales order that has no invoice (give exactly one of invoiceId / orderId).
Transactionsbulk_import_transactionsCreatesImport multiple transactions at once (e.g.
Invoicecancel_invoiceActsCancel an invoice that has NO payments and NO credit notes (draft, unpaid or overdue).
Sales ordercancel_sales_orderActsCancel a sales order that has NO payments, NO credit notes and NO invoice.
Subscriptioncancel_subscriptionActsCancel an active subscription.
Credit notecreate_credit_noteCreatesIssue a credit note that reverses all or part of an invoice.
Invoicecreate_invoiceCreatesCreate a new invoice with line items, tax calculation, payment terms, and customer details.
Credit notecreate_order_credit_noteCreatesIssue a credit note that reverses all or part of a SALES ORDER that has no invoice.
Payment linkcreate_payment_linkCreatesCreate a new payment link for collecting payments.
Receiptcreate_receiptCreatesCreate a new receipt for a payment transaction.
Subscriptioncreate_subscriptionCreatesCreate a new subscription for recurring billing.
Transactioncreate_transactionCreatesRecord a payment transaction, matching the UI transaction form.
Credit notesget_credit_notesLooks upRetrieve credit notes (reversals of all or part of an invoice, or of a sales order that has no invoice).
Invoicesget_invoicesLooks upRetrieve invoices with optional filtering and pagination.
Payment linksget_payment_linksLooks upRetrieve payment links with optional filtering and pagination.
Payment termsget_payment_termsLooks upList the business's payment terms (e.g.
POS session summaryget_pos_session_summaryLooks upRetrieve the summary for one POS session (shift): totals by payment method, refunds, discounts, cash movements, and expected vs counted cash variance.
POS sessionsget_pos_sessionsLooks upRetrieve POS register sessions (shifts) with optional filtering and pagination.
Receiptsget_receiptsLooks upRetrieve receipts with optional filtering and pagination.
Refundsget_refundsLooks upRetrieve refunds (money paid back to customers).
Subscriptionsget_subscriptionsLooks upRetrieve subscriptions with optional filtering and pagination.
Transactionsget_transactionsLooks upRetrieve payment transactions with optional filtering and pagination.
Subscriptionpause_subscriptionActsPause an active subscription temporarily.
Refundrecord_refundCreatesRecord money paid back to a customer out of their credit balance (credit comes from credit notes on money they had already paid).
Subscriptionresume_subscriptionActsResume a paused subscription.
Invoicesend_invoiceActsSend an invoice to the customer by email.
Invoicesend_invoice_whatsappActsSend an invoice to the customer via WhatsApp.
Receiptsend_receiptActsSend a receipt to the customer by email.
Invoiceupdate_invoiceChangesUpdate an existing invoice: title, due date, tax, or status.
Payment linkupdate_payment_linkChangesUpdate an existing payment link's title, description, or amount.
Receiptupdate_receiptChangesUpdate an existing receipt's details.
Subscriptionupdate_subscriptionChangesUpdate a subscription's billing cycle, dates, or other details.

Purchases ​

ActionKeyKindWhat it does
Billcreate_billCreatesCreate a new bill with line items, tax calculation, and vendor details.
Expensecreate_expenseCreatesCreate a new expense with line items, tax calculation, and vendor details.
Purchase ordercreate_purchase_orderCreatesCreate a new purchase order with line items and vendor details.
Vendorcreate_vendorCreatesCreate a new vendor with contact information and company details.
Billsget_billsLooks upRetrieve bills from vendors with optional filtering and pagination.
Expensesget_expensesLooks upRetrieve expenses with optional filtering and pagination.
Purchase ordersget_purchase_ordersLooks upRetrieve purchase orders with optional filtering and pagination.
Purchase requisitionsget_purchase_requisitionsLooks upRetrieve purchase requisitions: internal requests to buy that are approved before a purchase order is raised.
Vendorsget_vendorsLooks upRetrieve vendors and suppliers with optional filtering and pagination.
Purchase orderreceive_purchase_orderActsMark purchase order goods as received, adding them to inventory.
Purchase ordersend_purchase_orderActsSend a purchase order to the vendor by email.
Billupdate_billChangesUpdate a bill's status, amounts, or dates.
Expenseupdate_expenseChangesUpdate an expense's status, amount, or details.
Purchase orderupdate_purchase_orderChangesUpdate a purchase order's status, dates, or details.
Vendorupdate_vendorChangesUpdate a vendor's contact details or company information.

Shop ​

ActionKeyKindWhat it does
Stockadjust_stockActsAdjust the stock level of a product or one of its variants.
Productsbulk_import_productsCreatesImport multiple products at once (e.g.
Stock takecancel_stock_takeActsCancel a stock take without applying any quantity changes to inventory.
Stock takecomplete_stock_takeActsComplete a stock take, applying all counted quantities to the actual product inventory.
Discountcreate_discountCreatesCreate a new discount code or coupon with percentage or flat amount off.
Productcreate_productCreatesCreate a new product with pricing, inventory, categories, attributes, variants, and attachments.
Product categorycreate_product_categoryCreatesCreate a new product category with optional parent, tags, attachments, and assigned users.
Sale campaigncreate_saleCreatesPut products on sale: a bulk markdown (percentage or amount off each product's list price) over selected products, categories, brands or the whole catalogue, optionally scheduled and optionally labelled with a badge.
Sales ordercreate_sales_orderCreatesCreate a new sales order with line items, customer details, and payment terms.
Stock takecreate_stock_takeCreatesCreate a stock take (inventory count) listing expected vs counted quantities per product/variant.
Sale campaignend_saleActsEnd a sale campaign now: its products go back to their list price (or to another live campaign that covers them).
Discountsget_discountsLooks upRetrieve discount codes and coupons with optional filtering and pagination.
Inventoryget_inventoryLooks upRetrieve current inventory levels per product (stock on hand, reserved, and per-territory buckets).
Ordersget_ordersLooks upRetrieve sales orders with optional filtering and pagination.
POS transactionsget_pos_transactionsLooks upRetrieve point-of-sale transactions with optional filtering and pagination.
Product categoriesget_product_categoriesLooks upRetrieve product categories with optional filtering and pagination.
Productsget_productsLooks upRetrieve a list of products with optional filtering and pagination.
Sale campaignsget_salesLooks upRetrieve sale campaigns (bulk markdowns across products, categories, brands or the whole catalogue) with their rule, window, product count and status.
Stock movementsget_stock_movementsLooks upRetrieve the stock movement ledger (sales, purchases, adjustments, transfers, stock takes) with optional filtering and pagination.
Stock takesget_stock_takesLooks upRetrieve stock takes (inventory counts) with their status and counted items.
Product reviewslist_product_reviewsLooks upList the reviews customers left on products, newest first.
Review replyreply_to_product_reviewActsPublicly reply to a customer's product review as the business.
Sales ordersend_sales_orderActsSend a sales order to the customer by email.
Product variantsset_product_variantsChangesChange the variants of an EXISTING product (variants CAN be changed after creation — never recreate, copy or hide a product to change them).
Discountupdate_discountChangesUpdate a discount code's value, dates, or usage limits.
Productupdate_productChangesUpdate a product's title, description, status, price, cost price, category, brand, SKU, barcode, or reorder point.
Product categoryupdate_product_categoryChangesUpdate a product category's title or description.
Product variantupdate_product_variantChangesUpdate one variant of a product — its title, SKU, price, cost price, reorder point, or active flag.
Sales orderupdate_sales_orderChangesUpdate a sales order's status, dates, or details.

Web ​

ActionKeyKindWhat it does
Read a web pageread_web_pageLooks upRead one public web page and return its title and main text (markdown, long pages are cut).
Search the webweb_searchLooks upSearch the internet for current public information (news, prices, rates, a company's website or contacts).

Cashfin Business API Documentation