# Import Report→ Registeration of input results

<div align="left"><figure><img src="/files/ejBZZeDrq5sOKCU38C1E" alt=""><figcaption></figcaption></figure></div>

## Function overview

* **Import Report → registration of input results** performs two-way linkage between kintone and i-Reporter.

| Cooperation direction      | Function description                                                                                   | Execution timing                                                                            |
| -------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------- |
| kintone→i-Reporter linkage | Automatically create i-Reporter forms based on kintone data.                                           | Clicking a button on the edit record screen of the kntone app (i-Repo Link linkage plug-in) |
| i-Reporter→kintone linkage | Register the form data entered in i-Reporter in the specified field of the original record in kintone. | Webhook notification of i-Reporter                                                          |

## Steps for mapping settings

Follow the steps below to set the mapping.

### 1. Selecting a connection pattern with kintone

* Add a new mapping by clicking the **Import Report → Registration of  input results** menu.

<figure><img src="/files/9sZwabz5oRagBKnS648C" alt=""><figcaption></figcaption></figure>

### 2. Mapping code/name setting

* Set the **mapping code and mapping name**.
* A mapping code is the **key that uniquely identifies all mapping configurations** within the i-Repo Link environment.

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

### 3. Selection kintone apps for two-way linkage

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

### 4. Selection of Forms for two-way linkage

<figure><img src="/files/14bMB8fFmoxOcsYfZTng" alt=""><figcaption></figcaption></figure>

### 5. Mapping the kintone app and i-Reporter report

* The kintone app information is displayed on the left side of the screen, and the i-Reporter report information is displayed on the right side of the screen.
* &#x20;Fields in the kintone app that are light gray are fields not subject to linkage.&#x20;
* If the mapping is not possible, an error message is displayed.

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

### 6. Mapping operation

* Mapping the **fields of the kintone app** and the **clusters of the i-Reporter report**.&#x20;
* Set the **linkage direction** of the mapped field.

<figure><img src="/files/3PwIDEWwHPQdCnKqYuJ4" alt=""><figcaption></figcaption></figure>

### 7. File mapping

* Configure settings to link Documents PDF and Excel files to kintone. \
  ※Set only when necessary.

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

{% hint style="info" %}
File linking is possible only for i-Reporter → kintone mapping settings.
{% endhint %}

### 8. Select key item

* Store the **record ID of the kintone app** linked with kintone → i-Reporter in the report remarks. The stored record ID will be used in linking i-Reporter → kintone.

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

{% hint style="warning" %}
The key item settings are essential settings required for two-way linkage.
{% endhint %}

### 9. Token settings

* Set the **API token of the linked kintone app**.&#x20;
* Used when connecting to kintone.

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

{% hint style="info" %}
If you are mapping the kintone lookup field, add the API token of the kintone app referenced by the lookup field with a comma separated value.

\*If you have multiple references, set all API tokens.
{% endhint %}

{% hint style="warning" %}
If you don't have enough kintone API token access rights, you will fail to connect to kintone.&#x20;

Make sure to grant permission to view records, add records, and edit records.
{% endhint %}

### 10. Setting Webhook URL

#### Webhook URL for kintone settings

* Set the **Webhook URL for kintone settings** to the **i-Repo Link Linking kintone plugin**.
* Displays the URL used for webhook notifications from kintone to i-Repo Link.\
  Via i-Repo Link, i-Reporter can automatically create reports.
* Please refer to the following page for the i-Repo Link Linkage kintone plug-in settings.

{% content-ref url="/pages/NVgAxOdH3zWYoaeDRvqr" %}
[i-Repo Link Linkage kintone Plugin Settings](/i-repo-link-manual/english/kintone/1/2.md)
{% endcontent-ref %}

#### Webhook URL for i-Reporter settings

* **Webhook URL for i-Reporter setting** is set to **i-Reporter's Webhook notice**.
* Displays the URL used for Webhook notice from i-Reporter to i-Repo Link.\
  You can update or add kintone records via i-Repo Link.
* Save in editing notification, completion notification, change notification, etc. can be used for i-Reporter's Webhook notice settings.\
  Please set the Webhook notification used for the target Forms.
* For i-Reporter Webhook notice settings, refer to the following page.

{% content-ref url="/pages/yr3Dpb5eC5N0GTxKzFq5" %}
[i-Reporter Webhook Notice Settings](/i-repo-link-manual/english/kintone/1/3.md)
{% endcontent-ref %}

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


---

# 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://cimtops.gitbook.io/i-repo-link-manual/english/kintone/2/1.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.
