Playground
An invoice PDF becomes checked, structured data. Upload an invoice. The agent pulls out the supplier, number, dates and totals as JSON, checks that the line items and tax add up, and writes a one-page summary PDF.
Build it into your app
Accounts payable, expense tools and bookkeeping apps that read the documents customers send. Add the workflow to your account, change its steps in plain language if you need to, and call it from your code.
import { PulsarWorkflows } from "@starlightsearch/workflows";
const client = new PulsarWorkflows();
const run = await client.runs.create({
workflow: "invoice-summary",
files: [file], // sample-invoice.pdf
});
const done = await client.runs.wait(run);
console.log(done.output, done.files);