Recipe: process an inbox
Turn a shared mailbox into a process: every document that arrives is read, checked, sent to the right person to sign when needed, and passed on. For operations and finance teams whose agent can build processes.
Before you start
- Your role can see and build processes (the process tools are listed in your session).
- The mailbox is connected in the Talonic web app. Connecting a mailbox and storing passwords happen in the web app, never through the agent.
Tell your agent
"Set up a process for ap@ourcompany.com: read each invoice, check the total against the purchase order, have Finance sign anything over 10,000 EUR, and send approved invoices to accounting@ourcompany.com. Test it on last week's invoices before it goes live."
What the agent does
- See what's available.
talonic_process_setuplists connected mailboxes, who steps can wait for, and the data a look-up step can read. - Draft.
talonic_process_createwith your description. Nothing runs yet. The answer lists what a person still has to choose (stillOpen,questions); the agent asks you. - Adjust.
talonic_process_changefor each answer ("Finance means the Finance group"). If a change means fewer checks, the agent must ask you before it confirms. - Check.
talonic_process_checkshows what the draft still needs and what publishing would change. - Test.
talonic_process_test_runon a few real invoices (document_ids) in a test copy: nothing is sent.talonic_process_statuson the test copy shows each item's path. - Publish. Only when you say so:
talonic_process_publishwith areason. From now on new mail starts runs.
Test on real documents
{
"process_id": "<from talonic_process_create>",
"document_ids": ["<invoice 1>", "<invoice 2>", "<invoice 3>"]
}Every day after
- "What's waiting for me?" →
talonic_process_waiting_for_me, thentalonic_process_statusto see the items. - "Approve the Acme ones, send the other back: PO number missing." →
talonic_process_signwithitems,talonic_process_send_backwith areason. - "Anything stuck?" →
talonic_process_runswith statestuck,talonic_process_itemfor why, andtalonic_process_retryonce the cause is fixed.
Limits and cost
- Drafting, checking and reading status are free; each document a run reads uses credits, including test runs.
- Signing and sending back are allowed only where you are assigned to the step, exactly as in the web app.
talonic_process_rollbackmakes an earlier version live again if a change misbehaves.
Frequently asked questions
Can the agent publish a process on its own?+
It can call publish, but it is told to do so only after you say so and after showing you the check. Publishing is checked against your role every time.