Document Services API Use Cases

Legal Contracts

Most organizations today have a variety of legal contracts that need to be created, edited, approved, and signed on a regular basis. In addition, many of these contracts require customization and branding to be applied. And no matter what, accurate document generation is crucial. The challenge is to automate what is now a manual process of including custom data elements to templates.

Adobe Document Services will let organizations:

  • Create templates with dynamic fields that can be automatically merged with data
  • Customize inputs and logic, for example adding clauses that only apply to specific geographies
  • Build a workflow that allows for review, approval, and electronic signatures

Relevant APIs

  • Adobe Document Generation API
  • Adobe PDF Embed API
  • Adobe Document Generation Tagger Microsoft Word Add-in
  • Adobe Sign API


A technology company is drafting a legal contract. To do so, it needs inputs from agents, legal resources, and business managers. The contract requires company branding and to include some standard legal copy. Data from various sources, such as the correct terms, conditions, and clauses, must also be added. Once all of the content is collected, the final contract needs to be shared for feedback and final approval. When finished, it will be sent to customers for digital signatures.

Building this Solution

  1. Create a basic data model in JSON that helps determine document generation, such as customer profile information from a CRM
  2. Design contract templates in Microsoft Word
  3. Use Adobe Document Generation Tagger in Word to place fields into the template based on the data model
  4. Set conditional sections in the contract template, repeating elements, as well as place fields for Adobe Sign
  5. Send both the Word template and JSON data input file to Adobe Document Generation API and receive a PDF file
  6. Embed the PDF file in the application for review and approval with Adobe PDF Embed API
  7. Once approved, send the agreement out for signature using Adobe Sign API

How to get started?

Start free trial with 1,000 PDF transactions for up to 6 months