PDFMonkey
pdfmonkeyPDFMonkey is a service that automates the generation of PDF documents from templates, allowing users to create professional PDFs programmatically.
Acciones disponibles (19)
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.
Create DocumentPDFMONKEY_CREATE_DOCUMENTAcciónTool to create a Document. Use when you need to instantiate a PDF from a template; set status='pending' to queue immediate generation. Ensure valid `document_template_id` is provided.
PDFMONKEY_CREATE_DOCUMENTAcciónTool to create a Document. Use when you need to instantiate a PDF from a template; set status='pending' to queue immediate generation. Ensure valid `document_template_id` is provided.
Parámetros de entrada
documentobjectObligatorioDocument creation parameters wrapper.
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
Create Document SyncPDFMONKEY_CREATE_DOCUMENT_SYNCAcciónTool to create a document and wait for generation to finish. Use when immediate PDF is needed.
PDFMONKEY_CREATE_DOCUMENT_SYNCAcciónTool to create a document and wait for generation to finish. Use when immediate PDF is needed.
Parámetros de entrada
documentobjectObligatorioContainer for document attributes
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
Create TemplatePDFMONKEY_CREATE_TEMPLATEAcciónTool to create a new Document Template. Use when you need to define a template with custom content, styles, and settings before generating PDF documents.
PDFMONKEY_CREATE_TEMPLATEAcciónTool to create a new Document Template. Use when you need to define a template with custom content, styles, and settings before generating PDF documents.
Parámetros de entrada
idstringObligatorioUUID of the document template
ttlintegerenumAuto-deletion TTL in seconds; allowed values: 300,1200,3600,86400,604800,2592000,31536000,0. If too high, highest allowed is used
30012003600864006048002592000315360000bodystringPublished body (HTML + Liquid) used to generate documents
app_idstringWorkspace (application) UUID. If omitted, server default workspace may be used if supported.
settingsobjectDocument printing settings for PDF generation or preview.
body_draftstringDraft body (HTML + Liquid) used to preview changes
identifierstringObligatorioHuman name of the document template
scss_stylestringPublished (S)CSS used to generate documents
sample_datastringSample data used only to allow reverting changes
edition_modestringenumEdition mode; defaults to 'code' if unset
codevisualpdf_engine_idstringPDF engine ID used to generate documents
settings_draftobjectDocument printing settings for PDF generation or preview.
scss_style_draftstringDraft (S)CSS used to preview changes
sample_data_draftstringDraft sample data used for preview/testing
pdf_engine_draft_idstringObligatorioPDF engine ID used to preview changes/test new engine
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
Delete DocumentPDFMONKEY_DELETE_DOCUMENTAcciónTool to delete a Document by its ID. Use when you need to permanently remove a document after confirming its ID. Returns 204 No Content on success.
PDFMONKEY_DELETE_DOCUMENTAcciónTool to delete a Document by its ID. Use when you need to permanently remove a document after confirming its ID. Returns 204 No Content on success.
Parámetros de entrada
idstringObligatorioUUID of the document to delete
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
Delete PDFMonkey Document TemplatePDFMONKEY_DELETE_TEMPLATEAcciónTool to delete a document template by ID. Use when you need to remove obsolete templates after validation.
PDFMONKEY_DELETE_TEMPLATEAcciónTool to delete a document template by ID. Use when you need to remove obsolete templates after validation.
Parámetros de entrada
idstringObligatorioThe ID of the document template to delete
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
Download Document FilePDFMONKEY_DOWNLOAD_DOCUMENT_FILEAcciónTool to download a generated PDF file via a presigned URL. Use after obtaining a valid download_url from the Document details endpoint. The URL expires after 1 hour; fetch a new URL upon expiry (403 Forbidden).
PDFMONKEY_DOWNLOAD_DOCUMENT_FILEAcciónTool to download a generated PDF file via a presigned URL. Use after obtaining a valid download_url from the Document details endpoint. The URL expires after 1 hour; fetch a new URL upon expiry (403 Forbidden).
Parámetros de entrada
download_urlstringObligatorioTime-limited presigned URL returned by the Documents API. Valid for 1 hour; if expired, retrieve a new URL via the Document details endpoint.
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 Current UserPDFMONKEY_GET_CURRENT_USERAcciónTool to retrieve details about the currently authenticated user. Use when you need account info (quota, plan, email, locale) after authentication.
PDFMONKEY_GET_CURRENT_USERAcciónTool to retrieve details about the currently authenticated user. Use when you need account info (quota, plan, email, locale) after authentication.
Parámetros de entrada
Sin parámetros.
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 DocumentPDFMONKEY_GET_DOCUMENTAcciónTool to fetch a Document by its ID. Use when you need the full document record including payload, meta, logs, and download URL.
PDFMONKEY_GET_DOCUMENTAcciónTool to fetch a Document by its ID. Use when you need the full document record including payload, meta, logs, and download URL.
Parámetros de entrada
idstringObligatorioUUID of the document to retrieve
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 DocumentCardPDFMONKEY_GET_DOCUMENT_CARDAcciónTool to fetch a DocumentCard by ID. Use when you have a DocumentCard ID and need its download URLs, status, and metadata. Use after generating or updating a DocumentCard.
PDFMONKEY_GET_DOCUMENT_CARDAcciónTool to fetch a DocumentCard by ID. Use when you have a DocumentCard ID and need its download URLs, status, and metadata. Use after generating or updating a DocumentCard.
Parámetros de entrada
idstringObligatorioUUID of the DocumentCard to fetch
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 Template by IDPDFMONKEY_GET_TEMPLATEAcciónTool to fetch a Document Template by ID. Use when you need the template's content, styles, settings, and preview URL.
PDFMONKEY_GET_TEMPLATEAcciónTool to fetch a Document Template by ID. Use when you need the template's content, styles, settings, and preview URL.
Parámetros de entrada
idstringObligatorioUUID of the document template to retrieve
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
List DocumentCardsPDFMONKEY_LIST_DOCUMENT_CARDSAcciónTool to list DocumentCards. Use when you need to retrieve multiple DocumentCards with optional pagination and filtering by template, status, workspace, or update time.
PDFMONKEY_LIST_DOCUMENT_CARDSAcciónTool to list DocumentCards. Use when you need to retrieve multiple DocumentCards with optional pagination and filtering by template, status, workspace, or update time.
Parámetros de entrada
q[status]stringenumFilter by document status
successfailuredraftpage[number]integerPage number to return (default 1)
q[workspace_id]stringFilter by workspace UUID
q[updated_since]integerReturn documents updated after given Unix timestamp
q[document_template_id]string[]Filter by one or more document template UUIDs
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
List PDF EnginesPDFMONKEY_LIST_PDF_ENGINESAcciónTool to list available PDF engines with deprecation metadata. Use when you need to choose a rendering engine before generating PDFs.
PDFMONKEY_LIST_PDF_ENGINESAcciónTool to list available PDF engines with deprecation metadata. Use when you need to choose a rendering engine before generating PDFs.
Parámetros de entrada
Sin parámetros.
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
List Template CardsPDFMONKEY_LIST_TEMPLATESAcciónTool to list template cards for a workspace. Use when you need to retrieve templates with optional folder filters, pagination, and sorting.
PDFMONKEY_LIST_TEMPLATESAcciónTool to list template cards for a workspace. Use when you need to retrieve templates with optional folder filters, pagination, and sorting.
Parámetros de entrada
pageintegerPage number to return (1-indexed)
sortstringenumAttribute by which to sort results
identifiercreated_atupdated_atq[folders]stringComma-separated folder IDs to filter templates; use 'none' to list only those in the root folder
q[workspaceId]stringObligatorioThe workspace ID to list templates from
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
List WorkspacesPDFMONKEY_LIST_WORKSPACESAcciónTool to list workspaces (applications). Use when you need all available workspaces for the authenticated user after login.
PDFMONKEY_LIST_WORKSPACESAcciónTool to list workspaces (applications). Use when you need all available workspaces for the authenticated user after login.
Parámetros de entrada
Sin parámetros.
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
Preview DocumentPDFMONKEY_PREVIEW_DOCUMENTAcciónTool to open a document preview via a PDF.js viewer. Use when you need to embed the PDF preview in an iframe after obtaining the document ID.
PDFMONKEY_PREVIEW_DOCUMENTAcciónTool to open a document preview via a PDF.js viewer. Use when you need to embed the PDF preview in an iframe after obtaining the document ID.
Parámetros de entrada
idstringObligatorioUUID of the document to retrieve preview for
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
Preview TemplatePDFMONKEY_PREVIEW_TEMPLATEAcciónTool to preview a template draft as a real PDF via the preview_url. Use after obtaining a template's preview_url.
PDFMONKEY_PREVIEW_TEMPLATEAcciónTool to preview a template draft as a real PDF via the preview_url. Use after obtaining a template's preview_url.
Parámetros de entrada
preview_urlstringObligatorioPreview URL for draft template fetched from the Template object's `preview_url` attribute. Use this full URL to retrieve the PDF preview.
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 DocumentPDFMONKEY_UPDATE_DOCUMENTAcciónTool to update a Document’s payload, meta, or status. Use when you need to modify a document properties or regenerate it.
PDFMONKEY_UPDATE_DOCUMENTAcciónTool to update a Document’s payload, meta, or status. Use when you need to modify a document properties or regenerate it.
Parámetros de entrada
idstringObligatorioUUID of the document to update
documentobjectObligatorioDocument update parameters wrapper.
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 Document TemplatePDFMONKEY_UPDATE_TEMPLATEAcciónTool to update a document template’s properties. Use when you need to modify an existing template’s content, styles, settings, engine, folder, or TTL.
PDFMONKEY_UPDATE_TEMPLATEAcciónTool to update a document template’s properties. Use when you need to modify an existing template’s content, styles, settings, engine, folder, or TTL.
Parámetros de entrada
idstringObligatorioUUID of the document template to update
ttlintegerAuto-deletion TTL for generated documents (seconds), e.g., 300, 1200, 3600, etc.
bodystringPublished HTML+Liquid body used to generate documents
app_idstringObligatorioWorkspace ID
settingsobjectPrinting settings for published template
body_draftstringDraft HTML+Liquid body used for preview
identifierstringObligatorioHuman-readable name of the template
scss_stylestringPublished (S)CSS used to generate documents
preview_urlstringDraft preview URL (can be embedded)
sample_datastringSample data for reverting changes
edition_modestringObligatorioenumcodevisualpdf_engine_idstringPDF engine UUID used to generate documents
settings_draftobjectPrinting settings for draft preview
scss_style_draftstringDraft (S)CSS used for preview
sample_data_draftstringDraft sample data for preview
template_folder_idstringTemplate folder UUID or null
pdf_engine_draft_idstringPDF engine UUID used to preview changes
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
View Public Share LinkPDFMONKEY_VIEW_PUBLIC_SHARE_LINKAcciónTool to download a publicly shared PDF via its permanent share link. Use when the document's public_share_link is enabled to fetch the PDF file directly.
PDFMONKEY_VIEW_PUBLIC_SHARE_LINKAcciónTool to download a publicly shared PDF via its permanent share link. Use when the document's public_share_link is enabled to fetch the PDF file directly.
Parámetros de entrada
tokenstringObligatorioPublic share token from the document's public_share_link property.
filenamestringObligatorioFilename of the PDF to retrieve, including .pdf extension.
public_share_urlstringOptional full URL to download the PDF (e.g., a time-limited download_url from a DocumentCard). When provided, this URL is used directly instead of constructing the /share/:token/:filename path.
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