Needs a DocSpring release that emails signers: older releases refuse send_email, so Create Signature Request, and
Check Data with signers, would fail on them. Self-hosted (Enterprise) servers need that release too; until then, keep
using 1.0.0.
- DocSpring emails the signers. Create Signature Request sends
send_email(true by default, as in the API): DocSpring emails each signer a link to sign, with any reminders and the signed PDF once everyone has signed. It takes the API's email options (email_subject,email_message,cc,reminders,reply_to,notification_emails,notify_when_signed) and makes a signing link only for the signers DocSpring doesn't email. To keep sending the links yourself, as in 1.0.0, setsend_emailto false (on the payload, or on a signer). signing_orderand each signer'ssigning_step.- Check Data takes the same settings with its signers.
- The help for Generate PDF, batches and Generate Submission Files lists a Word template's
docxandodtformats (the nodes already passed them on), andfiles.docxandfiles.odt. - Text of only spaces counts as empty, as
''does, and is left out: API v2 refuses blank text in some places (a search query, a signer's email). Apasswordis sent as given, spaces and all. - A signer's
emailandreply_toare trimmed,ccandnotification_emailssend each address once, andreminderswhose values are all empty are left out: the API refuses each of these otherwise.
A major version: the nodes now call DocSpring API v2, and each operation's output is API v2's. Flows saved with 0.1.0 keep most of their operations and inputs, but not the data request names (below); check the nodes that read the output (see "Upgrading from 0.1" in the README).
- API v2. Every request goes to
/api/v2. Self-hosted (Enterprise) servers need a DocSpring release with API v2: until yours has it, keep using 0.1.0. Test connection says so when the server doesn't have API v2. - Signature requests. Data requests are now signature requests, and the old names no longer work: the
createDataRequestoperation value, and thedata_requestsanddata_request_idpayload keys. Open saved Create Signature Request nodes and pick the operation again, and sendsignature_requestsandsignature_request_id. Create Signature Request returnssignature_requests[].signing_url,first_signature_request_idandfirst_signing_url. Each signer needsfields(API v2 requires them), and can have arole,auth_provider,prefilled_values_editableandignore_unknown_fields.emailis optional, and every signer is sent.signing_link_typepicksemaillinks (7 days, the default),apilinks (24 hours) or none. - Combined PDFs. Combine PDFs calls
/combined_pdfs; thecombined_submissionsource type iscombined_pdf. - Outputs. The PDF link is
files.pdf.download_url. Find Templates and Find Submissions return{ data, next_cursor }: passnext_cursorback ascursorfor the next items. Theirlimitis still how many to return, of any size (the node gets pages of up to 100), but the default is now 50. Create Signing Link returns the token, whosesignature_request_urlis the link. - New operations: Generate PDFs in a Batch, Get Submission Batch, Check Data, Get Submission, Find Submissions, Generate Submission Files, Expire Submission, Get Combined PDF, Get Signature Request, Get Template, Create Template, Replace Template PDF, Copy Template, Move Template, Publish Template Version, List, Add, Update and Remove Template Fields, Get Template Page Images, List Folders, Create Folder and Make an API Call.
- Renamed operations. Find Template is Find Templates, and Find Submission is two operations: Get Submission
and Find Submissions. The 0.1.0 values
findTemplateandfindSubmissionstill work, and so do the payload keystoken_typeandtype(liveortest). - Inputs.
versionpicks the template version (latestby default,draft, or a published version).true/falseand numbers can be strings, and objects and lists JSON strings; a value that can't be converted is an error naming its key, and so is an ID that is.or...testis only sent when it's true, so test API tokens work. Generate PDF also takesoutput_formats(pngpage images) andfield_overrides, and the operations that make a PDF takewait: false. - Errors. Errors show DocSpring's error code, message, the details, the record's ID and the request ID, and a
Catch node gets the code in
msg.error.code. A PDF that couldn't be generated (a failurestate) is an error too, and so is one that wasn't ready in time, which names the operation to get it later with. When the API rate limit is reached (a 429), a request waits as long as DocSpring asks (up to a minute) and is sent again, up to 3 times. - Test connection works with a saved Token Secret (it sent a placeholder before), and uses it only with the saved region and host. To test a different region or host, type the Token Secret again.
- Each request sends
User-Agent: docspring-node-red/1.0.0.
The first release, on DocSpring API v1: Generate PDF, Combine PDFs, Create Signature Request, Create Signing Link, Find Template and Find Submission.