> For the complete documentation index, see [llms.txt](https://docs.immedio.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.immedio.io/immedio-forms/guides/new-editor/conditional-thanks-mail.md).

# お礼メールを出し分ける

お礼メールを出し分ける

immedio Formsではフォーム内のある項目の回答結果に応じてお礼メールを出し分けることが可能です。ここではその手順を説明します。

### メールの雛形を作成する

まず、ヘッダーの「メールの雛形」をクリックして下さい。

<figure><img src="https://1692208878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvP51wq1pHb6dYs2kqpky%2Fuploads%2Fa3L5aDHLsXY0IsLvyAxc%2F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-03-13%2018.20.04.png?alt=media&amp;token=83a96076-b37f-49ad-90fd-44579266a1bb" alt=""><figcaption></figcaption></figure>

ここで作成を押すと、雛形の作成画面に遷移します。雛形においては、以下の内容を設定します。

| 項目          | 備考                                                                                                                                                                                                                                                                |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 表示名         | 内部管理用の名称                                                                                                                                                                                                                                                          |
| 送付元の名前      | メールの送信者として表示される社名・氏名                                                                                                                                                                                                                                              |
| 送付元のメールアドレス | お客様が返信を押した際に宛先に入るメールアドレス。メールが不達になった場合はこのアドレスに通知が届きます                                                                                                                                                                                                              |
| BCCメールアドレス  | BCCに追加するメールアドレス。カンマで区切って複数指定することが可能です                                                                                                                                                                                                                             |
| タイトル        | メールタイトル                                                                                                                                                                                                                                                           |
| 内容          | <p>メール本文。フォーム内で取得した項目については{‌識別子}の形式で挿入することで、パーソナライズすることが可能です。</p><p>文中にハイパーリンクを挿入する場合、該当文字列を選択して「URLに変換」をクリックして下さい。</p><p>また、文中に画像を挿入する場合、「画像を挿入」から画像または画像が入ったURLをアップロードして下さい。 （Windowsの改行コードが正しく反映されない場合があります。その場合には改行の代わりに\<br/>という文字列を入れて頂ければ改行される仕様になります）</p> |

### フォーム側で設定する

メールの出し訳をする場合、「条件付きメール送信を使用する」にチェックを入れて下さい。次に「条件を選ぶ」で分岐に使いたい項目を指定します。その際に表示された各選択肢に対し、どのメールを送る化を指定して下さい。

<figure><img src="https://1692208878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvP51wq1pHb6dYs2kqpky%2Fuploads%2F8wlrKbEDMBXvkdQN9ci1%2F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-03-13%2018.26.44.png?alt=media&amp;token=2bee826f-95f4-47dc-8adf-a0b087b2e106" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.immedio.io/immedio-forms/guides/new-editor/conditional-thanks-mail.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
