Blocks
Every Lainstack automation is built from these blocks: triggers, flow, values, documents and AI, and the blocks that connect to customs, TMS, file servers, email and your own AI provider. Each one opens its docs.
14 groups shown
Built-in blocks
Triggers
Start an automation on a schedule, when an operator submits a form, when another automation calls it, or when an agent receives a chat or an assigned item.
Flow
Branch, loop and wait, run another automation, check values, and ask a person to approve or review differences before a run continues.
Values
Set and reshape values: parse JSON, select, combine and summarise rows, do date maths and run small JavaScript transforms.
Files and documents
Read CSV and Excel files and the text of documents, validate XML against a schema, and write spreadsheets, PDFs and barcodes.
Reference tables
Keep lookup data, such as customer codes, rates or references, in tables your automations read and update.
AI
Run a prompt, sort text into classes or let an agent work towards a goal, with the AI model you connect.
Connects with Anthropic-compatible AI model, Azure OpenAI-compatible model, Bedrock-compatible AI model, Gemini-compatible AI model, OpenAI-compatible AI model
Web and email
Call REST and SOAP services, start a run from a webhook, and receive, send and reply to email in a connected Outlook or Gmail mailbox.
Connects with Gmail account, Outlook email account
Freight
Find airports, ports and your own sites, measure air and sea routes, and keep each carrier's free days by container type.
UK Freight
Estimate UK CBAM charges and the emissions of freight legs, fuel and electricity with UK government factors.
Connections
BoxTop
Find and create jobs in Descartes BoxTop, read customers and shipping invoices, attach documents and add milestones.
CargoWise
Read CargoWise shipments, keep your references to them, and start a run when CargoWise sends a shipment event.
HMRC
Send CDS declarations to HMRC and follow them to a decision, answer holds with documents, check GB EORI numbers and look up UK commodity codes.
Object storage
List, read, write and delete files in S3-compatible storage or Azure Blob Storage.
Connects with Azure Blob Storage, S3-compatible object storage
SFTP and FTPS
List, read, write, move and delete files on SFTP and FTPS servers, and start a run when a file arrives.
Connects with FTP server, SFTP server
System not listed? Lainstack reaches most others over REST, SOAP, SFTP and email. Tell us which one