• DATA
  • WORK
  • OUTPUT
  • REVIEW

How to batch generate documents with your agent

Connect HotDocs to your AI client once. From there, your agent handles the heavy lifting of mapping data to templates and running assemblies.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I use my AI to batch generate HotDocs documents?

Your agent reads your XML data sets and uses the HotDocs Connector to inject those values into your existing templates. It then triggers the assembly process for each document in your batch. You get finished files ready for review.

The results.

Where your data and files land.

Your agent manages the data flow from your source files to the final document output.

DATA

XML data mapped

Your agent reads your XML files and matches the values to your HotDocs template fields. This ensures the right information goes into the right variables.

WORK

Assembly tasks created

Each document request is turned into a specific work item. This keeps the high-volume process organized and trackable.

OUTPUT

Completed documents

Once the assembly finishes, your agent handles the final output. You receive the completed files directly through your workflow.

REVIEW

Human oversight

Your agent flags any assembly errors or missing data. You step in only when a template fails to build or needs a manual check.

The workflow

What your agent does when the data arrives.

Your agent takes over the repetitive task of mapping variables and triggering the HotDocs engine.

  1. Initialize the batch

    Your agent starts by creating a record for each document that needs to be built from your data source.

    create_work_item
  2. Inject XML data

    Your agent maps the values from your XML files directly into the HotDocs variable set.

    update_answers
  3. Run the assembly

    Your agent tells HotDocs to process the filled template and generate the final document.

    complete_assembly
  4. Verify the output

    Your agent pulls the text from the finished document so you can check the content immediately.

    get_document_content

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute HotDocs Advance tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to kick off your document assembly tasks.

Starting points

These are starting points. Swap out the bracketed text with your specific file names or template IDs.

HotDocs Advance Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_3LH8aFkSFUYBfyKkjUilqSyl7MVRZdxklYtrmoJe/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, HotDocs Advance capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "hotdocs-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_3LH8aFkSFUYBfyKkjUilqSyl7MVRZdxklYtrmoJe/mcp"
    }
  }
}
Copy into chat04
  • 01

    Use the HotDocs Connector to create work items for all XML files in my 'Client_Data' folder.

  • 02

    Map the data from 'Contract_Data.xml' into the 'Master_Service_Agreement' template.

  • 03

    Run the assembly for the work items created from the 'Q3_Batch' dataset.

  • 04

    Get the content of the last completed document to check the signature block.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect HotDocs once, then ask.

Link your account once. Your credentials stay encrypted, and you can start running batch jobs immediately.

Connect HotDocs to your agent

FAQ

How this task behaves.

  • 01

    Can your agent create new HotDocs templates?

    No. Your agent uses your existing templates to inject data and run assemblies.

  • 02

    Will your agent delete my original XML files?

    No. Your agent only reads the data from your files to populate the templates.

  • 03

    Does your agent handle the final signing of documents?

    No. Your agent completes the assembly and provides the content, but you or your signing platform must handle the execution.

  • 04

    Can I run this for one document at a time?

    Yes. You can use the same tools to process a single XML file or a massive batch.

  • 05

    What happens if a variable in the XML doesn't match the template?

    The assembly will fail or result in an incomplete document, which you can then review.

  • More questions about HotDocs? The Connector page answers them. See everything the HotDocs Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from HotDocs Advance to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    HotDocs Advance plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect HotDocs Advance to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.