How to Generate Bills of Lading from Airtable Automatically
Josh Mamroud · November 13, 2026

To generate bills of lading from Airtable, you connect your shipments table to a bill of lading template in Documint, map the shipper, consignee, carrier and freight fields, and add a button or automation that creates the PDF. The finished bill of lading is saved back to the shipment record, ready to print or email before the driver arrives.
This guide walks through the setup, from the fields your base needs to the trigger that creates the document. The same approach works for packing slips, shipping labels and delivery receipts.
What is a bill of lading?
A bill of lading (BOL) is the document that goes with a shipment from the shipper to the carrier. It records who is shipping what, to whom, and on what terms. It also serves as a receipt when the carrier picks up the freight.
A typical BOL includes:
Section | What goes in it |
|---|---|
BOL and reference numbers | BOL number, PO or order number, PRO number |
Shipper | Name, pickup address and contact |
Consignee | Name, delivery address and contact |
Carrier | Carrier name, SCAC code, trailer or seal number |
Freight lines | Package count and type, description, weight and freight class for each item |
Special instructions | Delivery appointments, liftgate, temperature or hazmat notes |
Signatures | Shipper and carrier signatures and the pickup date |
Your carrier or customer may ask for extra fields. Build the template around the version they accept.
Why generate bills of lading from Airtable?
If your shipments already live in Airtable, retyping them into a Word or PDF form is where mistakes creep in. A wrong ZIP code or package count can send freight to the wrong place or hold up billing.
Generating the BOL from the record means the document shows exactly what is in your base. Fix the data once, and every document made from it is right.
How should you set up your Airtable base?
Use two tables:
- Shipments: one record per shipment, with the shipper, consignee, carrier, pickup date, BOL number, a status field and an attachment field for the PDF.
- Freight Lines: one record per item, with package count, package type, description, weight, freight class and a hazmat checkbox. Link each line to its shipment.
Documint reads linked records, so the freight lines appear in the document as rows of a table. The documents from multiple records guide shows the same pattern with invoice line items.
How do you map Airtable fields to the bill of lading?
Here is how a Shipments record maps to the template:
Bill of lading
The freight table uses Repeat/Loop, so it grows to fit two lines or twenty. The hazmat section uses a Display Rule, so it only appears on shipments that need it. Barcode and QR code elements are listed under content elements and can take their value from a field.
How do you set up bill of lading generation in Documint?
- 1
Connect Airtable
In the template builder, open the Sources panel, connect Airtable, and choose your base and the Shipments table. Your fields appear as tokens you can drag onto the page.
- 2
Lay out the template
Build the BOL with rows and columns: reference numbers at the top, shipper and consignee side by side, then carrier details, the freight table, instructions and signature lines.
- 3
Drop in your fields
Drag each token where its value belongs. Expand the Freight Lines linked record and put its fields in one table row.
- 4
Add the rules
Set Repeat/Loop on the freight row and a Display Rule on the hazmat section. Add a barcode or QR code element for the BOL number.
- 5
Preview with real shipments
Preview a shipment with one freight line and one with many. Check that long addresses and descriptions still fit.
- 6
Add the trigger
Choose a button or an automation (below) and pick the attachment field where the PDF should go.
Which trigger should you use?
Use a Generation Link when someone checks the load before it ships.
In Documint, open your Airtable connection, click Add formula and choose Generation Link. Pick the attachment field, copy the formula, and paste it into a Button field set to Open URL. One click creates the BOL and attaches it to the record.
Use the Automation Script when the BOL should be ready without anyone clicking.
Choose Automation script under Add formula, pick the attachment field and copy the script. In Airtable, create an automation such as "When Status is Ready for pickup", add a Run script action and paste it in.
How much time could you save?
Enter how many bills of lading you make a month and how long each takes by hand, including looking up the data and checking it.
How long do your bills of lading take by hand?
13hours a month
160hours a year
Time spent producing bills of lading by hand, based only on the numbers you enter.
What other shipping documents can you generate the same way?
Once the shipment and freight data is in Airtable, the same records can fill other templates:
- Shipping labels, with addresses and a tracking barcode. See shipping label automation.
- Packing slips, listing the same freight lines without weights or classes.
- Commercial invoices for international shipments.
- Delivery receipts for the consignee to sign.
See more examples on the logistics use case page.
Frequently asked questions
Can I generate one bill of lading per shipment automatically?
Yes. Use the Automation Script in an Airtable automation that runs when a shipment reaches a status such as "Ready for pickup". The PDF is attached to that shipment's record.
Can the bill of lading have a variable number of freight lines?
Yes. Keep freight lines in a linked table and use Repeat/Loop on the table row. The table grows to fit however many lines the shipment has.
Can I add a barcode or QR code?
Yes. Documint templates include barcode and QR code elements, and their value can come from a field such as the BOL or PRO number.
Does it work with data outside Airtable?
Yes. You can send shipment data from other tools through Zapier, Make or the REST API, and use the same template.
Stop retyping shipping paperwork
Connect your Airtable base and build your bill of lading template once. Every shipment after that gets its own PDF, filled from the record.
