# アンケート結果をCRMに連携する

immedio Boxではアンケートの回答結果をSalesforceやHubSpotのCRMに連携することが可能です。ここではその方法を順を追って解説します。

### CRM連携

[Salesforce](/immedio-box/integrations/salesforce.md)及び[HubSpot](/immedio-box/integrations/hubspot.md)との連携が完了していない場合はまずそのステップを完了して下さい。ヘルプはCRM名をクリックすると参照できます。

### アンケート設定

CRM連携が完了したら、immedio Boxのアンケート設定でCRM側の項目と紐づけをします。「アンケート管理」から、CRMに連携したい項目を選択して下さい。その下側に、紐づけを設定するCRMの選択画面が表示されます。

<figure><img src="/files/nRqCxwPBALQUPIxi2hep" alt=""><figcaption></figcaption></figure>

連携させたいCRMを設定したら、次にCRM側の連携先項目を設定します。この時Salesforceに関してはリードと取引先責任者のそれぞれでマッピングを設定することが可能です。

<figure><img src="/files/Tz9W9QYO8bNkJym0cy0A" alt=""><figcaption></figcaption></figure>

また、CRM側に既に値があった際の対応もここで設定することが可能です。上書きしない、上書きする（アンケート結果が空白でない場合）、上書きする、のいずれかから選択して下さい。

#### ワークフロー設定

マッピングが完了したらファイル側でワークフローを設定します。トリガーは「アンケート回答完了」、実行処理はSalesforceまたはHubSpotのプロパティ更新を選択して下さい。

<figure><img src="/files/PAlHUrA9C6nZko1kexLe" alt=""><figcaption></figcaption></figure>

ここまで設定が完了するとアンケート回答時（閲覧制限アンケートを含む）にCRMに情報が連携されるようになります。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.immedio.io/immedio-box/questionnaire/crm-integrations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
