AWS Textract
AIExtract text, forms, tables, and query answers from documents with Amazon Textract. Runs synchronous OCR for single pages and asynchronous jobs for multi-page PDFs in S3.
What This Integration Enables
Textract reads documents structurally, not just as a wall of text. It pulls fields and their values, keeps tables as rows and columns, and can answer targeted questions like the invoice total or the due date. For multi-page PDFs it runs asynchronous jobs against S3 and returns the result when the job completes.
Extraction is only half the job. The other half is knowing when the extraction is good enough to trust. Textract returns a confidence score per field, and an orchestration layer uses those scores to decide what posts automatically and what a person checks first. FlowRunner is built for that layer, so document processing scales without quietly writing a misread total into your books.
Without FlowRunner
With FlowRunner
Flows you can build with AWS Textract
-
Scale ticket weights checked against the McLeod load
Drivers email the scale ticket to your Gmail inbox. Analyze Document runs with QUERIES, asking the ticket for its gross, tare and net weight, ticket number, scale and any load or BOL number, and the agent takes each answer with Textract's confidence. It finds the load in McLeod by the number the driver gives, files the ticket on the load, and works out the cargo weight from the net, or gross less tare. A weight within your allowed difference of McLeod's, under your gross limit and read with confidence needs nothing more. Anything else goes to ops in Slack with both weights side by side, and McLeod's weight changes only when ops clicks to set it.
-
PODs checked for OS&D before billing
Carriers email PODs. Analyze Document runs with QUERIES and SIGNATURES: it reads the BOL and PRO, the piece count, who signed and when, finds the signatures, and marks which lines on the page are handwritten. The agent finds the load in McLeod by BOL or PRO and files the POD on it. A signed POD with no handwritten short, damaged or refused notes, a piece count that matches McLeod and a delivered load moves to ready to bill with no one asked. OS&D notes go to the claims lead, who bills the load as delivered or holds billing for a claim. A missing signature or a count that doesn't match goes to the billing lead.
-
A new driver's CDL logged with its expiry
A new driver's CDL arrives by email. Analyze ID reads the front of the license and returns the name, license number, state, class, endorsements, restrictions and expiry, each with a confidence score. The agent counts the days to expiry and checks the class against the ones you hire for. An expired license, one close to expiry, the wrong class or an unclear read goes to the safety manager in Slack, who clears the driver or holds them off dispatch. Every license is then logged in a Google Sheet, and a renewal updates the driver's row instead of adding a second one.
-
Faxed lab reports read page by page into DrChrono
A lab faxes a result to your Documo line, and a fax that arrives with no readable PDF goes to intake. The fax is stored in S3 so Start Document Analysis reads every page, with TABLES for the results and QUERIES for the patient's name and birth date, the ordering provider, the lab, the accession number and the dates. The agent lines up each row as test, result, units, range and the lab's flag, copied as printed, and each value is matched back to the cells Textract read. Any value the lab flagged goes to Slack at once. The patient is matched in DrChrono on name plus birth date, and a close, double or missing match goes to the intake coordinator in Slack, who picks the chart. No patient is created from a result. Record Lab Result files the PDF and each value on the chart, and the ordering doctor gets a review task listing the flagged values, values outside the lab's printed range and the cells Textract was unsure of.
-
Healthie lab result PDFs read for provider review
Lab result PDFs land in a lab results folder in Healthie. Each new one that is not already on a lab order is read page by page with Start and Get Document Analysis. The provider gets one review task: the values the lab flagged first, then values outside the lab's printed range, then the cells Textract was unsure of and the page they are on. Lab-flagged values also go to Slack right away. When the name or birth date on the report differs from the chart, intake hears about it in Slack. Nothing is filed a second time.
-
Lab portal reports recorded on the Healthie chart
Your results clerk saves reports from lab portals into a Google Drive folder. Each new PDF or image is read page by page, and any other file type goes to the clerk in Slack with the reason. Each report is matched to the Healthie patient on name plus birth date, and recorded with Record Lab Result, which files the report and keeps each value with its units, range and the lab's flag. The ordering provider gets a review task, lab-flagged values go to Slack at once, and a close, double or missing match waits for the intake coordinator to pick the chart.
-
Pharmacy fill histories checked against the Healthie medication list
A pharmacy faxes a patient's fill history to your Phaxio line. Start Document Analysis reads every page with TABLES and QUERIES, and the agent lines up each fill as drug, strength, quantity, days supply, directions, fill date, prescriber and pharmacy, copied as printed. The patient is matched in Healthie on name plus birth date, and a close, double or missing match goes to the intake coordinator in Slack, who picks the chart. The fax is filed on the chart and the fills are compared with the Healthie medication list. The medications not on the chart go to the patient's provider as a Slack direct message, and only the ones the provider confirms are added with Add Medication. When the provider is not found in Slack, the clinical team's channel gets the list with no buttons and Healthie gets a task to review it by hand.
-
Faxed prescriptions checked before Rx review
A specialty pharmacy's Documo line receives a prescription. Textract reads it with SIGNATURES and QUERIES for the patient, birth date, drug, strength, quantity, directions, refills, prescriber NPI, DEA number and schedule, each answer with its confidence. A prescription signed on its own page, complete, read with confidence and with no schedule goes into WellSky CareTend Incoming Documents on your Rx review path. No signature on the prescription page, an unclear one, a missing field, a low-confidence answer or any schedule goes to the intake pharmacist in Slack with what is missing. The pharmacist can have the flow fax the prescriber a request, to the number in CareTend or the one the fax came from, and the prescription is filed on your held path. A controlled substance never gets a fax from the flow.
-
Hospital discharge medication lists confirmed into CareTend
A hospital faxes a multi-page discharge medication list to your SRFax line for a home health or infusion admission. Start Document Analysis takes the fax by its file URL, stages it in your S3 bucket and reads every page, and the agent lists each medication with its dose, route, frequency, directions and what the list says to do with it. The patient is matched in CareTend on name plus birth date, a close, double or missing match goes to the intake coordinator in Slack, and the list is filed on the patient. The admitting clinician named in the flow settings checks each medication in a Slack direct message, medications the list says to stop are shown and never added, and only the confirmed ones go on the patient's profile with Create Medication Profile. When nobody is named or found, the clinical team's channel gets the list with no buttons and CareTend gets a task to enter it by hand.
Human-in-Loop Highlight
The danger in document automation is not a failed extraction; it is a confident-looking wrong one. Textract returns a confidence score with every field, and FlowRunner uses it to draw the line. When a field falls below the threshold or an extracted total does not match its purchase order, the agent routes the document through a human-in-the-loop step: it pauses, shows the person the original document alongside the extracted value, and waits. They correct or confirm. The clean documents post themselves; the uncertain ones get a human read before they touch the ledger.
Agent Capabilities
8 actionsText Detection
1- Detect Document Text Runs synchronous OCR on a single-page image (JPEG, PNG, or TIFF) or single-page PDF and returns every detected line and word as Textract Block objects.
Document Analysis
3- Analyze Document Runs synchronous document analysis to extract structured data using one or more feature types: FORMS (key-value pairs), TABLES (rows and cells), QUERIES (natural-language questions answered from the document), SIGNATURES (signature locations), and LAYOUT (reading order and layout elements).
- Analyze Expense Synchronously analyzes an invoice or receipt and extracts financially relevant data. Supply the document as a FlowRunner file URL (single page, up to ~5 MB) or an S3 object.
- Analyze ID Synchronously analyzes identity documents such as U. S.
Asynchronous
4- Start Document Text Detection Starts an asynchronous OCR job over a document stored in Amazon S3 (used for multi-page PDFs and TIFFs, up to 500 MB / 3000 pages).
- Get Document Text Detection Retrieves the results of an asynchronous OCR job started by Start Document Text Detection.
- Start Document Analysis Starts an asynchronous document analysis job over a document stored in Amazon S3 (used for multi-page PDFs and TIFFs, up to 500 MB / 3000 pages).
- Get Document Analysis Retrieves the results of an asynchronous document analysis job started by Start Document Analysis.
Frequently asked questions
What can FlowRunner do with AWS Textract?
FlowRunner agents can run Detect Document Text, Analyze Document, and Analyze Expense in AWS Textract, plus 5 more actions.
Does connecting AWS Textract to FlowRunner require OAuth?
No. AWS Textract connects to FlowRunner with an API key, no OAuth flow required.
Can AWS Textract trigger a FlowRunner workflow automatically?
AWS Textract doesn't currently expose triggers in FlowRunner. It connects as an action step inside workflows started by another trigger.
Start building with AWS Textract
Free plan, no card required. Connect in minutes.