> 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="https://1186853034-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) **\[Engage] → 内容**.
2. 在……中 *电子邮件* 卡片，选择 **编辑电子邮件** 以编辑现有模板。
3. 选择您想为其导入自定义邮件的邮件。
   * 选择 ![](https://1186853034-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://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c2cb550b55c51ea1eeff0acbd6f437a03b621a2c%2F60d033ae8a04c14498d5229c3c0160ac05feea7f605dbd770741793c900469f0.svg?alt=media) **\[下拉菜单]** 以给自己发送一封测试邮件。
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. 从左侧导航菜单中选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[Engage] → 内容**.
2. 在……中 *电子邮件* 卡片，选择 **编辑电子邮件** 以编辑现有模板。
3. 选择您想为其导入自定义邮件的邮件。
   * 选择 ![](https://1186853034-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 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.
