Allocate OpenMic voice costs by agent in PostgreSQL
Record the USD cost of completed OpenMic phone calls by internal cost center, with separate speech and language-model costs.
7 stepsFinanceOperations
Free to start, no card required.
How it works

When this happens
Receive the completed call reference
OpenMic AI
Step 1 · Code
Check the OpenMic call reference
Step 2
Check for a completed call report
Follows the first path that matches
Completed call reference

Step 3 · OpenMic AI
Read itemized call costs
Step 4 · Code
Verify the call and its USD costs
Step 5
Check for an ended phone call
Follows the first path that matches
Ended phone call with costs

Step 6 · Postgres
Assign costs to the agent’s cost center
Otherwise
Nothing happens
Otherwise
Nothing happens
Before you start
Set the post-call webhook on the OpenMic agents and use a PostgreSQL connection for this OpenMic workspace. Grant read access to voice_cost_centers(agent_id text primary key, cost_center text) and add one mapping per agent. Grant SELECT and INSERT on voice_call_costs(call_id text primary key, agent_id text, cost_center text, ended_at timestamptz, total_usd numeric, llm_usd numeric, tts_usd numeric, stt_usd numeric).
Accounts to connect
Similar templates
See all 200 in Finance- Match SimplePDF lien waivers to PostgreSQL pay requestsCompare a conditional lien waiver with its progress payment request and route matching or discrepant fields to accounts payable for review.Uses SimplePDF, HTTP, Azure Blob Storage, Files Helper, Postgres12 steps · Finance
- Review disposable email claims for trial creditsRoute verified trial requests in PostgreSQL for staff review when ValidatedMails identifies a disposable email address.Uses Postgres, Storage, ValidatedMails16 steps · Finance
- Queue confirmed Quickzu COD orders after a Bolna callQueue a pending Quickzu cash-on-delivery order for dispatch review after Bolna records confirmation from the matching Indian number.Uses Bolna AI, Quickzu, Postgres10 steps · Sales
Your first automationstarts with one sentence.
Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.