When a PandaDoc proposal sent from a HubSpot deal is signed, moves the deal to Closed Won and tells its owner in Slack.
Uses
HubSpot
PandaDoc
Slack
Close HubSpot deals when PandaDoc proposals are signed
A signed proposal is a won deal, but someone still has to go and update HubSpot. This does it the moment the last person signs in PandaDoc: it finds the HubSpot deal the document was sent from and moves it to Closed Won.
The deal's owner then gets a Slack message with the deal name, the amount and a link to the signed proposal. Documents that weren't sent from a HubSpot deal, such as an NDA, are left alone.
proposal.When a document is fully signed. Save it as proposal.proposal. Save it as proposal_details.PandaDocIs the proposal linked to a HubSpot deal?If
proposal_details.hubspot_deal_id is blankYes
Finish the run: This document was not sent from a HubSpot deal, so there is no deal to close.Finish the run: This document was not sent from a HubSpot deal, so there is no deal to close.
No
proposal_details.hubspot_deal_id. Save it as won_deal.HubSpotDoes the deal have an owner?If
won_deal.owner_email isn't blankYes
won_deal.owner_email. Save it as owner_told.:tada: The proposal was signed and your deal *won_deal.properties.dealname* is now Closed Won.
Amount: won_deal.amount_display
Signed proposal: proposal.urlSlackNo
No steps