Pipedrive quote PDF and e-signature with DottedSign (n8n)
At a glance
- Setup estimate
- 3–5 h (ESTIMATE)
- Tools
- Industries
- General (any small business)
Problem
Building a quote document from deal data and sending it for signature is manual copy-paste
Who it's for
For small sales teams on Pipedrive who send a signed quote before work starts and want each Pipedrive quote generated from the deal itself. The trigger: building a quotation from deal, contact and product data and then sending it for signature is manual copy-paste every time a deal reaches the quote stage.
Skip it if you don't want to run your own server (PDF conversion needs a self-hosted Gotenberg instance), if you use a different e-signature tool, or if every quote needs a human check before the client sees it: as built, the signing request goes straight out.
Tools and what each does
- Pipedrive Trigger
- Fires on every deal change; an IF lets the run continue only when the deal has just entered your quotation stage.
- Pipedrive nodes + API
- Fetch the deal, its products, the person, the organization and the deal custom-field definitions; create an activity; upload the finished PDF to the deal's Files.
- Code + HTML nodes
- Map custom-field IDs to readable names, build the product table rows and fill a full HTML quotation template.
- Gotenberg (self-hosted)
- Converts the HTML file to PDF through its Chromium HTML route.
- DottedSign API
- Issues an access token, then creates a signing task with the PDF (as base64), a signature box and the contact as signer, copying the deal owner.
Browse by tool: n8n, Pipedrive, Gotenberg, DottedSign
Steps
- A deal moves into your quotation stage in Pipedrive.
- The IF checks the new stage ID equals your quotation stage (7 in the template) and the previous stage ID was lower.
- n8n pulls deal, products, person, organization and custom-field data, and logs a 'Quotation' activity.
- The data is merged, cleaned and poured into the HTML template.
- Gotenberg returns a PDF, which is renamed and uploaded to the deal.
- n8n gets a DottedSign token and creates a signing task that starts immediately.
Known problems in the source template
Found by reading the template's JSON, not by running it. Likely fails as shipped.
Problem: Both DottedSign calls go to api.sandbox.dottedsign.com, DottedSign's sandbox, and the token request has empty client_id and client_secret.
Fix: Fill in your credentials (ideally via an n8n credential, not the request body) and switch to api.dottedsign.com once you're ready to go live.
Problem: 'Get Pipedrive Custom Fields' calls the author's company domain (kdanmobile.pipedrive.com).
Fix: Replace it with your own Pipedrive company domain.
Problem: The activity type is 'Quoatation' (misspelt). Pipedrive activity types must match one that exists in your account, so this step likely fails.
Fix: Create a quotation activity type in Pipedrive and use its key.
Problem: The Gotenberg URL is a placeholder (http://gotenberggotenberg.yourhost/…).
Fix: Point it at your Gotenberg instance, over HTTPS if it isn't on the same private network.
Before you start
- Pipedrive with admin access and an API token.
- A DottedSign developer account with client ID and secret (cost UNKNOWN).
- A running Gotenberg server reachable from n8n.
- Your own quotation layout in HTML, with a fixed place for the signature.
- Setup estimate: 3–5 h (ESTIMATE).
What can go wrong
No AI involved. Requires admin access to Pipedrive, a DottedSign developer account (cost UNKNOWN) and your own self-hosted Gotenberg server for PDF conversion. You must set the trigger stage ID and adjust the signature field position to fit your template. Check a few generated quotes for pricing errors before sending to clients.
- ReliabilityThe signing task is created with start: true, so the client receives the quote immediately. A wrong price or missing product goes straight out. Consider adding an approval step (for example a Slack or email confirmation) before the DottedSign call.
- Silent failureThe stage check assumes stage IDs rise in pipeline order. Moving a deal back into the quote stage from a later stage, or using a different pipeline, won't fire. The signature box sits at fixed page and coordinates, so a layout change leaves it in the wrong place.
- Silent failureThe signer email is the first email on the Pipedrive person. Deals without a linked person or email will likely error at the DottedSign step after the PDF is already uploaded.
- Source qualityThe template's Pipedrive nodes (node version 1) call Pipedrive's API v1 deal, person, organization and activity endpoints, which Pipedrive lists as deprecated and out of support since Aug 1, 2026 (replaced by API v2). They may keep working without guarantees. The custom-field call uses /api/v1/dealFields; Pipedrive introduced a Fields API v2 in December 2025, so check that one too.
- Data privacyClient names, emails, prices and products pass through n8n, your Gotenberg server, Pipedrive and DottedSign.
How to adapt it
- Edit the HTML template for your branding, terms and tax lines; keep the signature area in a fixed position.
- Change the trigger stage to a 'Quote approved' stage so a manager signs off in Pipedrive first.
- Swap DottedSign for another e-signature API; the PDF and contact data stay the same.
- Add a step that moves the deal to the next stage, or posts a note, once the signing task is created.
Sources we checked
- Status
- Researched: Sourced and summarized, not yet run end-to-end by us
- Last checked
- Details checked
Setup estimates are rough guesses for someone comfortable with the tools who already has the accounts and API keys. Real time is unknown until tested.