When a HubSpot deal reaches Contract sent, sends the contact your PandaDoc MSA to sign and tells the deal owner.

UsesGmailHubSpotPandaDoc

Send the PandaDoc MSA when a HubSpot deal reaches Contract sent

Once a deal is ready for paperwork, nobody should have to build the contract by hand. When a HubSpot deal reaches Contract sent, this creates your Master Services Agreement in PandaDoc for the deal's main contact, fills in their company and the deal amount, and sends it for signature. The deal owner gets an email with a link to the document.

If the deal has no contact linked, nothing is sent and the owner is asked to add one. The PandaDoc template's signer role and its Client.Company and Deal.Amount variables must match what the workflow fills in.

HubSpotHubSpotWhen a deal reaches Contract sent. Save it as deal.When a deal reaches Contract sent. Save it as deal.
Signer's role in the templateSet signer_role to “Client”.
HubSpotFind the deal's main contactGet who deal is for. Save it as deal_contacts.HubSpot
No contact linked to the dealIf deal_contacts.count is 0
Yes
GmailTell the owner no contact is linkedSend an email to deal.owner_email. Subject: Contract not sent: no contact on deal.dealnameHi deal.owner_name, The deal "@deal.dealname" moved to Contract sent, but it has no contact linked in HubSpot, so no contract was sent. Link the customer's contact to the deal and send the Master Services Agreement from PandaDoc.Gmail
No
PandaDocPandaDocCreate document 'Master Services Agreement - deal_contacts.company'. Save it as contract.Create document 'Master Services Agreement - deal_contacts.company'. Save it as contract.
PandaDocPandaDocSend document contract.Send document contract. Subject: Master Services Agreement for deal_contacts.companyHi deal_contacts.first_name, Please find our Master Services Agreement for deal_contacts.company ready for your review and signature. Let us know if you have any questions. Best regards, deal.owner_name
GmailLet the deal owner knowSend an email to deal.owner_email. Subject: Contract sent for signature: deal.dealnameHi deal.owner_name, The Master Services Agreement for deal_contacts.company (deal.amount_display) has been sent to deal_contacts.first_name deal_contacts.last_name (deal_contacts.email) for signature. Open it in PandaDoc: https://app.pandadoc.com/a/#/documents/@contract....Gmail