> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/email-experiences/import-an-advocate-email-template.md).

# Advocateメールテンプレートをインポートまたはエクスポートする

既存のメールテンプレートをインポートできます。また、新しいテンプレートをインポートする前に、置き換えるメールを保存しておきたい場合は、メールテンプレートをエクスポートできます。

<div data-with-frame="true"><figure><img src="https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fz4VPe4ItfBpeEtsjaVcb%2Fimage1.jpg?alt=media&amp;token=99f3900a-f93b-4214-9f90-a6eb5f792a64" alt="" width="563"><figcaption></figcaption></figure></div>

#### メールテンプレートをインポートする

メールエディターでは、HTML形式のメールコードを使用できます。作成済みのHTML形式のメールをインポートすることもできます。

1. 左側のナビゲーションメニューから ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[エンゲージ] → \[コンテンツ]**.
2. 「 *メール* 」カードで「 **メールを編集** 」を選択し、既存のテンプレートを編集します。
3. カスタム作成したメールをインポートする対象のメールを選択します。
   * 「 ![](https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FYaEYpaDDip5FxDbF8lnO%2Fclose.svg?alt=media\&token=da6580c0-a38f-4bf9-a34a-619921f19e9e) **［終了アイコン］** 」を選択して、サイドメニューを最小化します。
4. 横向きのツールバーで「 **テンプレートをインポート** 」を選択し、インポートウィンドウを開きます。
5. 「 *テンプレートをインポート* 」ウィンドウにスクリプトを追加します。コピーしたコードが正確で、不足がないことを確認します。
6. 「 **インポート** 」を選択して、カスタムコードをメールエディターのキャンバスに読み込みます。
7. 更新が完了したら、自分宛てにテストメールを送信します。
   * 「 **アクション** ![](https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c2cb550b55c51ea1eeff0acbd6f437a03b621a2c%2F60d033ae8a04c14498d5229c3c0160ac05feea7f605dbd770741793c900469f0.svg?alt=media) **［ドロップダウンメニュー］** 」を選択して、自分宛てにテストメールを送信します。
8. 画面の右上にある「 **保存** 」を選択します。
9. プログラムが公開中の場合、変更を参加者に反映するには、 [プログラムの下書きを公開](https://help.impact.com/brand/ja/what-would-you-like-to-learn-about/advocate-program/getting-started-with-advocate/create-and-publish-a-program-draft-for-advocate.md) する必要があります。

#### メールテンプレートをエクスポートする <a href="#export-an-email-template-0-1" id="export-an-email-template-0-1"></a>

1. 左側のナビゲーションメニューから ![](https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[エンゲージ] → \[コンテンツ]**.
2. 「 *メール* 」カードで「 **メールを編集** 」を選択し、既存のテンプレートを編集します。
3. カスタム作成したメールをインポートする対象のメールを選択します。
   * 「 ![](https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FYaEYpaDDip5FxDbF8lnO%2Fclose.svg?alt=media\&token=da6580c0-a38f-4bf9-a34a-619921f19e9e) **［終了アイコン］** 」を選択して、サイドメニューを最小化します。
4. 横向きのツールバーで「 **メールテンプレートをエクスポート** 」を選択し、インポートウィンドウを開きます。
5. 「 *テンプレートをエクスポート* 」ウィンドウでコードを確認します。
6. 「 **HTMLをコピー** 」を選択して、HTMLをコピーして貼り付けます。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.impact.com/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/email-experiences/import-an-advocate-email-template.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
