Build Scalable Document Workflows Into Your Product With Document Automation API
Trigger a Docupilot Workflow from your application.
-H "Authorization: Bearer YOUR_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"order_number": "ORD-1001",
"order_total": 350,
"customer": {
"name": "Jane Smith",
"email": "[email protected]"
},
"items": [
{ "name": "Desk", "quantity": 1, "price": 200 },
{ "name": "Chair", "quantity": 2, "price": 75 }
]
}'
What this request means
Sends the workflow input
Runs the configured document steps
Uses the resulting output and status
Choose how your application connects to Docupilot.
Trigger a Docupilot Workflow
Configure the document steps visually in Docupilot, then send data from your application to start the published Workflow.
Use this when: You need conditions, one or more documents, PDFprocessing, signing delivery, or status handling.
You send:Business data for the workflow run.
Docupilot runs:The document-specific steps configured in the Workflow.
More Consistent Processes
Use an API when your application needs Docupilot to perform one specific document action without running a multi-step Workflow.
Use this when:You only need a specific document operation.
Examples:Generate a document, convert a file, append files or transform a PDF.
View API overview:OpenAPI-based interactive documentation.
Other supported ways to connect:
Keep document-specific workflow logic out of your application code.
render one or more documents
Go beyond basic field replacement.
Nested, repeating & array data
Map nested objects and arrays, loop over repeating records, and sort, filter, group, join, or aggregate array data.
Conditional document logic
Include, exclude, or change content based on incoming values and conditions.
Calculations & variables
Use date, number, string, mathematical, comparison, logical operations, and dynamic variables.
Dynamic content
Insert images, rich text, maps, QR codes, barcodes, and links from structured input.
Reusable content blocks
Create and reuse shared content blocks across supported document templates.
eSignature fields & roles
Configure signing fields and recipient roles that can be resolved from document data.
Separate application logic from document logic.
Own the application contract
Maintain document-specific behavior
Build repeatable document workflows around your data.
Start from your application
Send application data to Docupilot, generate the required document, and return the output to your product.
data
document
product
Assemble conditional document packets
Choose the required path from data, generate the relevant documents, and combine supported files into a packet.
generate
packet
Create operational reports
Use structured records and repeating data to generate operational or customer-facing documents automatically.
report
Start from your application
Send application data to Docupilot, generate the required document, and return the output to your product.
data
generate
/ sign
Security controls you can verify.
Build with technical support when you need it.
API setup
Choose the right API surface, authentication approach, and workspace setup for your integration.
Workflow design
Map document generation, processing, signing, and delivery requirements into a workable Docupilot Workflow.
Solution architecture
Design the end-to-end automation across your application, Docupilot, and connected systems.
Complex cases
Work through advanced template logic, payload structures, rendering requirements, and delivery edge cases.
Start with one API request. Build from there.
delivery, and signing as needed.

