【问题标题】:Get HubSpot Contact From Deal从交易中获取 HubSpot 联系人
【发布时间】:2020-02-08 04:00:14
【问题描述】:

当交易移动到特定阶段时,我会从 HubSport 触发 Zap。这样 Zapier 可以在我的后端点击 WebHook,我可以获得联系信息(电子邮件、姓名、其他属性)。

我不清楚是否可以从交易中获取联系信息。

这里是交易 API:https://developers.hubspot.com/docs/methods/deals/deals_overview

这是我要传递给 Webhook 的交易结构:

{
    'closedate': '1575154955284', 
    'createdate': '1573686155284', 
    'days_to_close': '17', 
    'dealId': 'xxxxxxx', 
    'dealname': 'Jeff Chandler - New Deal', 
    'dealstage': 'decisionmakerboughtin', 
    'hs_all_owner_ids': 'xxxxxx', 
    'hs_analytics_source': 'DIRECT_TRAFFIC', 
    'hs_analytics_source_data_1': 'xxxxxxxx', 
    'hs_closed_amount': '0', 
    'hs_closed_amount_in_home_currency': '0', 
    'hs_created_by_user_id': 'xxxxxxxx', 
    'hs_createdate': '1573686157136', 
    'hs_deal_stage_probability': '0.8000000000000000444089209850062616169452667236328125', 
    'hs_is_closed': 'false', 
    'hs_lastmodifieddate': '1581127561944', 
    'hs_object_id': 'xxxxxxxxxx', 
    'hs_sales_email_last_replied': '1577566247000', 
    'hs_updated_by_user_id': 'xxxxxx', 
    'hubspot_owner_assigneddate': 'xxxxxxx', 
    'hubspot_owner_id': 'xxxxxx', 
    'id': 'xxxxxx-decisionmakerboughtin-xxxxxxx', 
    'isDeleted': 'False', 
    'notes_last_contacted': '1577565662000', 
    'notes_last_updated': '1577566247000', 
    'num_associated_contacts': '1', 
    'num_contacted_notes': '12', 
    'num_notes': '16', 
    'pipeline': '', 
    'portalId': ''
}

【问题讨论】:

    标签: hubspot


    【解决方案1】:

    好的,我想我找到了答案。

    关联 API:https://developers.hubspot.com/docs/methods/crm-associations/crm-associations-overview

    使用关联类型 3(联系人)在我的 dealId 上调用关联 API,为我提供联系人 ID。轰隆隆!

    用于关联类型的 API:https://developers.hubspot.com/docs/methods/crm-associations/crm-associations-overview

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-23
      • 1970-01-01
      相关资源
      最近更新 更多