Blocks
Every block you can use in a Lainstack automation, from triggers and flow control to customs and TMS actions.
| Category | What it covers |
|---|---|
| Trigger blocks | What starts an automation: a webhook, a schedule, an email, a submitted form, an agent or another automation. |
| Flow blocks | Branch, loop, wait, check values and ask a person to approve before a run continues. |
| Data blocks | Parse CSV and JSON, validate XML, read documents, select and combine rows, do date maths and keep reference tables. |
| AI blocks | Run a prompt, classify input or let an agent work towards a goal, inside limits you set. |
| API blocks | Call REST and SOAP services, and send or reply to email from a connected mailbox. |
| Object storage blocks | Read, write, list, move and delete files in S3-compatible or Azure Blob storage and on SFTP or FTPS servers. |
| TMS blocks | Find and create jobs, invoices, documents and milestones in Descartes BoxTop, and read shipments from CargoWise. |
| Customs blocks | Check GB EORI numbers, look up UK commodity codes, estimate UK CBAM charges, send CDS import, simplified, supplementary and export declarations to HMRC and check declaration status by MRN. |
| Emissions blocks | Estimate the CO₂e of freight legs, fuel burned and UK grid electricity with UK government conversion factors. |
| Freight blocks | Look up airports, ports and your own sites, and measure air and sea routes between them. |