Contractbook
contractbookContractbook is a contract lifecycle management platform for creating, organizing, sharing, sending, and signing contracts.
Acciones disponibles (9)
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 Document From TemplateCONTRACTBOOK_CREATE_DOCUMENT_FROM_TEMPLATEAcciónCreate a draft document from a Contractbook template, optionally overriding its document fields; this does not send the draft for signature.
CONTRACTBOOK_CREATE_DOCUMENT_FROM_TEMPLATEAcciónCreate a draft document from a Contractbook template, optionally overriding its document fields; this does not send the draft for signature.
Parámetros de entrada
tagsstring[]Tags assigned to the draft; each tag must be a non-empty string.
titlestringDraft title override.
messagestringDraft message content override.
partiesobject[]Party and signee overrides for the draft.
languagestringDraft language code override.
attachmentsobject[]Attachments to put on the draft using already-hosted Contractbook-compatible URLs.
data_fieldsobject[]Template data-field values and definitions to apply; omitted conditional fields resolve as false in template conditions.
template_idstringObligatoriouuidTemplate ID used to create the draft.
dynamic_tablesobject[]Values used to fill dynamic-table placeholders in the template.
to_be_signed_bystringenumWho must sign the draft.
owner_and_othersothers_onlyowner_onlycompany_logo_urlstringuriCompany logo URL override; pass null to remove the logo.
signing_order_modestringenumDraft signing order mode override.
randomstrictgroupedattachments_signed_separatelybooleanWhether draft attachments are signed and sealed separately.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Permanently Delete DocumentCONTRACTBOOK_DELETE_DOCUMENTAcciónPermanently destroy a Contractbook document with no restore option. Signed documents cannot be deleted through this API; Contractbook rejects signed or otherwise undeletable documents rather than reporting success.
CONTRACTBOOK_DELETE_DOCUMENTAcciónPermanently destroy a Contractbook document with no restore option. Signed documents cannot be deleted through this API; Contractbook rejects signed or otherwise undeletable documents rather than reporting success.
Parámetros de entrada
document_idstringObligatorioID of the Contractbook document to permanently destroy. This cannot be undone, and signed documents cannot be deleted through this API. Retrieve the document first if its identity or state is uncertain.
Parámetros de salida
dataanyObligatorioData 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 DocumentCONTRACTBOOK_GET_DOCUMENTAcciónGet the full current Contractbook document, including the version required for a safe update.
CONTRACTBOOK_GET_DOCUMENTAcciónGet the full current Contractbook document, including the version required for a safe update.
Parámetros de entrada
document_idstringObligatoriouuidContractbook document ID.
Parámetros de salida
dataanyObligatorioData 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 Document PDF LinkCONTRACTBOOK_GET_DOCUMENT_PDF_LINKAcciónGet a short-lived PDF download URL for a document, or a not-ready message when Contractbook is still generating it.
CONTRACTBOOK_GET_DOCUMENT_PDF_LINKAcciónGet a short-lived PDF download URL for a document, or a not-ready message when Contractbook is still generating it.
Parámetros de entrada
document_idstringObligatorioContractbook document ID whose PDF link to request.
Parámetros de salida
dataanyObligatorioData 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 TemplateCONTRACTBOOK_GET_TEMPLATEAcciónGet a template's full fields, parties, attachments, and signing configuration before creating a draft from it.
CONTRACTBOOK_GET_TEMPLATEAcciónGet a template's full fields, parties, attachments, and signing configuration before creating a draft from it.
Parámetros de entrada
template_idstringObligatoriouuidContractbook template ID.
Parámetros de salida
dataanyObligatorioData 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 AutomationsCONTRACTBOOK_LIST_AUTOMATIONSAcciónList Contractbook automations for one trigger type; this only discovers automations and does not run them.
CONTRACTBOOK_LIST_AUTOMATIONSAcciónList Contractbook automations for one trigger type; this only discovers automations and does not run them.
Parámetros de entrada
trigger_typestringObligatorioenumTrigger type whose published automations to return.
webhook_triggerhubspot_contractbook_automation_triggeredhubspot_deal_stage_changedcontract_signedcontract_verified_aicontract_vieweddata_field_date_reacheddata_field_updateddraft_createddraft_updateddrafter_questionnaire_completedsent_for_signature+5
Parámetros de salida
dataanyObligatorioData 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 DocumentsCONTRACTBOOK_LIST_DOCUMENTSAcciónSearch and filter documents visible to the connected Contractbook account, returning one page and a cursor for continuation.
CONTRACTBOOK_LIST_DOCUMENTSAcciónSearch and filter documents visible to the connected Contractbook account, returning one page and a cursor for continuation.
Parámetros de entrada
fullbooleanInclude data fields and full party details in each result.
tagsstring[]Tags used to filter documents.
ownedbooleanWhen set, filter by whether the connected account owns the document.
titlestringCase-insensitive partial title to match.
cursorstringOpaque next_cursor returned by a previous call; omit for the first page.
statesstring[]Document states to include.
contextsstring[]Document areas to search; include all three values to search every available area.
page_sizeintegerMaximum documents in this page (0-100).
sort_columnstringenumField used to sort results.
created_atupdated_attitleworkspace_idstringWorkspace ID to filter when contexts includes workspace.
signed_beforestringdate-timeReturn documents signed before this timestamp, excluding the boundary.
document_typesstring[]Document types to include.
sort_directionstringenumSort direction.
ascdescupdated_beforestringdate-timeReturn documents updated before this timestamp, excluding the boundary.
signed_at_or_afterstringdate-timeReturn documents signed at or after this timestamp.
updated_at_or_afterstringdate-timeReturn documents updated at or after this timestamp.
integration_object_idstringExternal integration object ID associated with documents.
Parámetros de salida
dataanyObligatorioData 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 TemplatesCONTRACTBOOK_LIST_TEMPLATESAcciónList all Contractbook templates visible to the connected account for choosing a template ID.
CONTRACTBOOK_LIST_TEMPLATESAcciónList all Contractbook templates visible to the connected account for choosing a template ID.
Parámetros de entrada
exclude_spacesbooleanExclude templates located in spaces when true.
Parámetros de salida
dataanyObligatorioData 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 DocumentCONTRACTBOOK_UPDATE_DOCUMENTAcciónUpdate selected fields of a draft or stored contract using its current version; supplied collection fields replace their complete existing collections.
CONTRACTBOOK_UPDATE_DOCUMENTAcciónUpdate selected fields of a draft or stored contract using its current version; supplied collection fields replace their complete existing collections.
Parámetros de entrada
tagsstring[]Complete replacement tag list; fetch and merge first to preserve existing tags.
titlestringReplacement document title.
messagestringReplacement document message content.
partiesobject[]Complete replacement party and signee list; fetch and merge first to preserve parties.
versionstringObligatoriouuidCurrent document version from GET_DOCUMENT or a recent document response; stale values fail with version_mismatch.
languagestringReplacement document language code; pass null only when intentionally clearing it.
attachmentsobject[]Complete replacement attachment list using Contractbook attachment objects; fetch and merge first to preserve existing attachments. Pass null only when intentionally clearing it.
data_fieldsobject[]Complete replacement data-field list; fetch and merge first to preserve fields.
document_idstringObligatoriouuidDraft or stored-contract document ID.
dynamic_tablesobject[]Complete replacement dynamic-table definitions with attrs containing id, columns, and rows.
to_be_signed_bystringenumWho must sign the document.
owner_and_othersothers_onlyowner_onlycompany_logo_urlstringuriReplacement company logo URL; pass null only when intentionally clearing it.
signing_order_modestringenumReplacement signing order mode.
randomstrictgroupedattachments_signed_separatelybooleanWhether attachments are signed separately from the document.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not