Hubspot integration: how to get the PandaDoc document id from a deal through the Deals API
Hi,
I posted this on the Hubspot Forum previously but the issue is still unresolved.
So I'll try to repost it here hoping to find a solution.
I've got the PandaDoc integration enabled for Hubspot so that I can associate a PandaDoc document to a specific deal.
What I need to do is to get the PandaDoc document id from the Deals API but I can't find the related field to query.
Do you know how to get this info?
Thanks!
-
Found an alternative to get the PandaDoc contract id from the Hubspot deal.
Using the PandaDoc API (List Documents) I can query using a metadata info attached to the contract itself (metadata_hubspot.deal_id). With that field, I can get the associated document.Example: https://api.pandadoc.com/public/v1/documents?metadata_hubspot.deal_id={hubspot_deal_id}
This is a workaround: instead of fetching the contract id from the deal, I use the deal id to get the associated contract.
Please sign in to leave a comment.
Comments
2 comments