Finance and Accounting

Capture receipts on WhatsApp into a categorised expense ledger

Employees send a receipt photo on WhatsApp. AI reads and categorises it, they confirm, and big or doubtful ones go to a manager before Sheets.

Included in Pro and aboveStarter workspaces can read this template but not deploy it.

Setup
About 40 min
Level
Intermediate
Type
Agentic workflow
Region
GCC
Updated
By
The Cadrix team
Workflow diagram for Capture receipts on WhatsApp into a categorised expense ledger: Agent → OpenRouter → Condition → Custom Function → Direct Reply → Google Sheets → and more. Branches are labelled where the flow splits.
The workflow as it appears on the Cadrix canvas. The full workflow is deployed into your workspace, not offered as a download.

About this template

Receipts get lost in pockets and chat threads. With this workflow an employee simply sends a photo or PDF of a receipt to your WhatsApp Business number. A vision model reads the merchant, date, currency, tax and total from the image, in English or Arabic, and picks one category from a list you define. It copies only what is printed: if the total is unreadable the employee is asked for a clearer photo and nothing is saved.

Code then checks the result: arithmetic, future or very old dates, a category that is not on your list, low confidence and possible duplicates (same merchant, date and total already in the ledger). The employee confirms the entry with a Save or Cancel button on WhatsApp. Receipts at or above an approval limit you set, low-confidence reads and suspected duplicates also wait for a manager in the Cadrix approval inbox. Only confirmed entries are appended to your Google Sheet.

Only phone numbers on your allow-list can submit expenses, so the number can be shared safely in a team. The flow needs a WhatsApp Business Cloud API setup (Meta) and one access token to download the pictures; there is no separate accounting-system connector, the ledger is a plain Google Sheet you can import into Zoho Books, Odoo or Excel.

How it works

  1. Receive the message

    The WhatsApp trigger starts the flow for each incoming message. Numbers that are not on your allow-list are ignored without a reply.

  2. Fetch the picture

    Two HTTP steps ask the WhatsApp Cloud API for the media link and download the image or PDF, authenticated with your access token credential.

  3. Read and categorise

    A vision model copies merchant, date, tax and total as printed and chooses one category from your list. Unreadable receipts are bounced back to the sender.

  4. Check

    Code verifies the numbers and dates, normalises the category, looks for duplicates in your ledger and decides whether a manager must approve.

  5. Confirm on WhatsApp

    The employee gets a summary with Save and Cancel buttons. Cancel stops everything.

  6. Manager approval when needed

    Amounts at or above your limit, low-confidence reads and possible duplicates go to a manager in the approval inbox before they are written.

  7. Write to the ledger

    Confirmed expenses are appended to your Google Sheet with the flags and who approved them, and the employee is told it was saved.

Frequently asked questions

Anyone can read this page. Deploying the template into your workspace needs a Pro, Team or Enterprise plan. Starter workspaces can browse the library but cannot deploy templates. See plans.

You will connect OpenRouter API key, WhatsApp App (for the trigger), WhatsApp API (for replies), Google Sheets OAuth and fill in a few settings. Setup takes about 40 minutes. Your credentials stay in your own workspace.

Yes. Using the template creates a normal workflow in your workspace on the visual canvas. Rename it, edit any step, add approvals, test it and run it like any other workflow. It counts toward your plan’s workflow limit.

No. This template includes a human approval step, so the workflow pauses and waits for a person before the action goes ahead. Every decision is kept in the run history.

Related templates

More workflows teams use alongside this one.

All Finance and Accounting templates

Ready to run it in your workspace?

Every template is open to read. Deploying one into your workspace needs a Pro, Team or Enterprise plan; Starter workspaces can browse the whole library.