# 【アドバイスお願いいたします】Sansanに新たな名刺が加わった場合の連携について

**URL:** <https://community.hubspot.com/t/sansan/80146>\
**Category:** CRM\
**Tags:** crm, professional\
**Created:** [April 27, 2023, 2:39am UTC](https://community.hubspot.com/t/sansan/80146 "2023-04-27T02:39:39Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![KMurota](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kmurota/32/61991_2.png) [@KMurota](https://community.hubspot.com/u/KMurota)\
**Post date:** [May 2, 2023, 10:47am UTC](https://community.hubspot.com/t/sansan/80146/6 "2023-05-02T10:47:10Z")

</div>

@NahoU  
HubSpot APIはメール被りの際にエラーを起こしますので、

- カスタムプロパティにSansan側のIDを書き込むようにする
- SanSan→HubSpot方向の更新はメールでなくIDで検索して行うようにする
- ID検索→見つからない→新規作成の際にメール被りエラーが起こった場合、ダミーメールを設定してリトライする
  - Error HandlerをCreateモジュールにつけて、Handler Routeの中で新規作成をリトライするかつResumeモジュールでシナリオが以後に通るようにする
  - メアドを@で区切って、_前者＋適当なID_ @_後者のドメイン_に構成しなおす

 ![KMurota_1-1683024267271.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/4/248b6bc8136b3b452497e55621f907a37b3a7e5f.png)

 ![KMurota_0-1683024243287.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/8/e83643f3b801ed6695a7ebe27e1bfb89362f26db.png)

というやり方で連携可能かと存じます。

---

_[View the full topic](https://community.hubspot.com/t/sansan/80146)._
