Docugenerate
docugenerateDocuGenerate simplifies document generation by converting Word templates and JSON data into professional PDF files with ease. It supports automation of contracts, invoices, letters, certificates, and more, catering to both developers and non-developers. With an intuitive REST API and no-code integrations, it ensures seamless functionality for any scale.
Acciones disponibles (7)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Generate documents from templateDOCUGENERATE_DOCUMENT_GENERATEAcciónTool to generate document(s) from a template by merging JSON data or uploading a data file. Use when you need to programmatically produce one or more documents and receive metadata including a download URL.
DOCUGENERATE_DOCUMENT_GENERATEAcciónTool to generate document(s) from a template by merging JSON data or uploading a data file. Use when you need to programmatically produce one or more documents and receive metadata including a download URL.
Parámetros de entrada
dataobjectMerge data as an object (single document) or list of objects for multiple documents
fileobjectBinary file (CSV/Excel/TSV) for bulk merge when `data` is not provided
namestringLogical document name; supports merge tags when generating a single document
attachstringPDF URL(s) or Base64 data URIs to embed as attachments in the PDF
merge_withstringPDF URL(s) or Base64 data URIs to append after generated content. Ignored if invalid or unreachable. Only for PDF/PDF-A formats.
page_breakbooleanInsert a page break between combined documents when `single_file` is true
output_namestringOutput file name without extension; extension added automatically
single_filebooleanCombine multiple documents into one file (true) or return a ZIP (false)
template_idstringObligatorioID of the template to use
output_formatstringenumOutput format; defaults to .docx. PDF/A variants supported
.docx.pdf.doc.odt.txt.pdf/a-1b.pdf/a-2b.pdf/a-3b
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate documents as ZIPDOCUGENERATE_DOCUMENT_GENERATE_BULK_ZIPAcciónTool to bulk generate multiple documents into a ZIP archive. Use when you need a batch of docs packaged as ZIP.
DOCUGENERATE_DOCUMENT_GENERATE_BULK_ZIPAcciónTool to bulk generate multiple documents into a ZIP archive. Use when you need a batch of docs packaged as ZIP.
Parámetros de entrada
dataobject[]Array of data objects for bulk generation (required if no file).
fileobjectOptional data file (e.g., Excel/CSV) for bulk generation (multipart/form-data).
namestringLogical name for the generated documents.
attachstringURL(s) or data URI(s) of files to embed as attachments (PDF outputs only).
merge_withstringURL(s) or data URI(s) of PDFs to append (PDF outputs only).
page_breakbooleanInsert page breaks between documents when single_file=true.
single_filebooleanCombine outputs into a single file; omit or false for ZIP of separate docs.
template_idstringObligatorioID of the template to merge.
output_formatstringenumExport format; default is docx.
pdfdocxdocodttxt
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate document with attachmentsDOCUGENERATE_DOCUMENT_GENERATE_WITH_ATTACHMENTSAcciónTool to generate a PDF with embedded attachments. Use when you need to bundle extra files into the PDF output.
DOCUGENERATE_DOCUMENT_GENERATE_WITH_ATTACHMENTSAcciónTool to generate a PDF with embedded attachments. Use when you need to bundle extra files into the PDF output.
Parámetros de entrada
dataobjectMerge data as JSON object or list. Required unless `file` is provided.
fileobjectExcel/CSV file for bulk document generation. Required if `data` is omitted.
namestringLogical document name; defaults to template name.
attachstringURL(s) or Base64 data-URI(s) of files to embed as PDF attachments.
merge_withstringURL(s) or Base64 data-URI(s) of PDF(s) to append after generation.
page_breakbooleanInsert page breaks when `single_file` is true.
output_namestringFilename (without extension) for output document.
single_filebooleanCombine multiple documents into one file when `data` is a list.
template_idstringObligatorioID of the template to merge.
output_formatstringenumExport format. Attachments only honored for PDF formats.
pdfdocxdocodttxtpdf/a-1bpdf/a-2bpdf/a-3boutput_qualityintegerQuality parameter appearing in examples; use if needed.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate document with mergeDOCUGENERATE_DOCUMENT_GENERATE_WITH_MERGEAcciónTool to generate a PDF and append additional PDF files. Use when you need to merge extra pages into a generated document.
DOCUGENERATE_DOCUMENT_GENERATE_WITH_MERGEAcciónTool to generate a PDF and append additional PDF files. Use when you need to merge extra pages into a generated document.
Parámetros de entrada
dataobjectObligatorioData object or list of objects to merge into the template.
merge_withstring[]List of PDF URLs or Base64 data URIs to append after the generated document.
page_breakbooleanInsert page breaks between items when single_file is true.
output_namestringFilename for download; defaults to '<template_id>.pdf' or '.zip'.
single_filebooleanCombine all pages into one file if true; otherwise returns a ZIP for batch runs.
template_idstringObligatorioID of the pre-uploaded template to use.
output_formatstringenumOutput format; must be PDF variant when using merge_with.
pdfpdf/a-1bpdf/a-2bpdf/a-3b
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update DocumentDOCUGENERATE_DOCUMENT_UPDATEAcciónTool to update a document's metadata. Use when renaming an existing document after confirming the document ID.
DOCUGENERATE_DOCUMENT_UPDATEAcciónTool to update a document's metadata. Use when renaming an existing document after confirming the document ID.
Parámetros de entrada
idstringObligatorioThe unique identifier of the document to update
namestringNew name for the document (optional)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get or list templatesDOCUGENERATE_TEMPLATE_GET_OR_LISTAcciónTool to retrieve or list existing templates. Use when needing template IDs and metadata before making updates or generating documents.
DOCUGENERATE_TEMPLATE_GET_OR_LISTAcciónTool to retrieve or list existing templates. Use when needing template IDs and metadata before making updates or generating documents.
Parámetros de entrada
pageintegerPage number to retrieve (starting at 1)
per_pageintegerNumber of templates per page
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update TemplateDOCUGENERATE_TEMPLATE_UPDATEAcciónTool to update a template’s file and settings. Use after confirming the template ID and desired inputs.
DOCUGENERATE_TEMPLATE_UPDATEAcciónTool to update a template’s file and settings. Use after confirming the template ID and desired inputs.
Parámetros de entrada
idstringObligatorioTemplate identifier to update
fileobjectThe template file to upload (form field 'file')
namestringOptional new name for the template
regionstringProcessing region for the template (e.g., 'us', 'eu', 'uk', 'au')
versioning_enabledbooleanEnable version history for the template
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not