Sharing a recent HubSpot X Clay build.
Problem statement:
1) Companies added to segment "x" on hs should populate in clay daily automatically. Then they should be enriched for ICP score and flow back to hs.
2) Companies created on clay should get the ICP enrichment done and should flow into HubSpot.
Then two cases can happen:
a) If it already exists, then it should just update the ICP score.
b) If it doesn't exist, then we should create and update the ICP score.
3) If ICP score gets updated on clay it should reflect in hs and segment "x".
Needed to build a closed loop system without any edge cases.
https://www.linkedin.com/posts/harsh-mamgain_sharing-a-recent-hubspot-x-clay-build-problem-share-7447264891553591296-awMS/