Adobe Creative Suite · Arazzo Workflow
Adobe PDF Services Generate Document from Template
Version 1.0.0
Upload a Word template, merge JSON data into it, poll the job, get the output, and delete the template.
Provider
Workflows
generate-document-from-template
Upload a template, merge data, resolve the output, and clean up the template asset.
Registers a Word template asset, submits a document-generation operation with the supplied JSON merge data, polls the job to a terminal state, returns the download URI of the generated document on success, and deletes the template asset.
1
createUpload
uploadAsset
Request an upload asset for the Word document template, receiving an asset id and a pre-signed upload URI.
2
submitGeneration
generateDocument
Submit a document-generation operation merging the supplied JSON data into the uploaded template. The API returns a job id for polling.
3
pollOperation
getOperationStatus
Poll the document-generation operation status, repeating while it is in progress and branching once it is done or failed.
4
getOutput
getAsset
Retrieve the generated document asset metadata and a fresh temporary download URI for the output file.
5
deleteTemplate
deleteAsset
Delete the uploaded template asset now that the generated document has been retrieved, releasing storage before the automatic 24 hour expiry.
6
reportFailure
getOperationStatus
Surface the error details from the failed document-generation operation.