> 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/zh/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="/files/d11da32fbf7570d6ebcf8a503b727ddef3f5633f" 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) **\[Engage] → 内容**.
2. 在 *电子邮件* 卡片中，选择 **编辑电子邮件** 以编辑现有模板。
3. 选择你想为其导入自定义邮件的邮件。
   * 选择 ![](/files/277b93745933d9fb379799908cda43d81cae4739) **\[退出图标]** 以最小化侧边菜单。
4. 选择 **导入模板** 在水平工具栏中打开导入窗口。
5. 将你的脚本添加到 *导入模板* 窗口中。检查复制的代码是否准确且完整。
6. 选择 **导入** 以将自定义代码加载到邮件编辑器画布中。
7. 更新完成后，给自己发送一封测试邮件。
   * 选择 **操作** ![](/files/9ee7bd3c79aae4d0667377d18611647c3469f8d1) **\[下拉菜单]** 以给自己发送一封测试邮件。
8. 选择 **保存** 在屏幕右上角。
9. 如果你的项目已上线，你必须 [发布你的项目草稿](/brand/zh/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. 从左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 内容**.
2. 在 *电子邮件* 卡片中，选择 **编辑电子邮件** 以编辑现有模板。
3. 选择你想为其导入自定义邮件的邮件。
   * 选择 ![](/files/277b93745933d9fb379799908cda43d81cae4739) **\[退出图标]** 以最小化侧边菜单。
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 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://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/email-experiences/import-an-advocate-email-template.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.
