> 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/platform-features/reach-out-to-partners/messaging-templates/create-a-messaging-template.md).

# 创建消息模板

<a href="https://pxa.impact.com/student/activity/1087847?sid=0c0e3e5c-54c9-4435-9bee-ebcdccb7f292&#x26;sid_i=0?utm_source=app.impact.com&#x26;utm_medium=owned-platform&#x26;utm_content=eng-250&#x26;utm_campaign=help-center" class="button primary">参加 PXA 课程</a>

使用 *消息模板* 作为在发送内容、动态字段和插入注册链接时联系合作伙伴的一种方式。

#### 创建消息模板

1. 从左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 合作伙伴** → **自动化** → **消息模板**.
2. 在右上角，选择 **创建消息模板**.
3. 如果您想应用现有模板， ![](/files/3980f01ba7b178cc917bfb7b270feb4fac2992c6) **\[切换为开启]** **消息模板** 并从……中选择一个现有的消息模板 ![](/files/9ee7bd3c79aae4d0667377d18611647c3469f8d1) **\[下拉菜单]** **选择模板**.
4. 输入您的消息模板详情：

   | 字段    | 说明                                                                                                                                                                                                                                                                                        |
   | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | 模板名称  | 这将是您在使用该模板时选择的名称。                                                                                                                                                                                                                                                                         |
   | 发件人   | 这是 *来自* 收件人在收到模板时看到的名称。                                                                                                                                                                                                                                                                   |
   | 回复至   | 这是合作伙伴回复此模板时联系的电子邮件地址                                                                                                                                                                                                                                                                     |
   | 抄送/密送 | <p><img src="/files/3980f01ba7b178cc917bfb7b270feb4fac2992c6" alt=""> <strong>\[切换为开启]</strong> 以在您选择的细分中的合作伙伴之外再包含一个抄送或密送电子邮件收件人。</p><p>• 您可以向 <strong>抄送</strong> 字段中添加 1 个电子邮件地址，并向 <strong>密送</strong> 字段中。</p><p>• 任何添加为抄送或密送的电子邮件地址都将收到发送给所选细分中合作伙伴的每封电子邮件的副本。电子邮件数量可能会因细分规模而异。</p> |
   | 主题    | 模板主题。                                                                                                                                                                                                                                                                                     |
   | 内容    | <p>在提供的文本编辑器中输入模板内容。</p><p>• 该 <em>内容</em> 部分将已自动填充，如果您选择添加现有模板。</p>                                                                                                                                                                                                                      |
5. 可选， **插入注册链接** 到您的模板条款之一中。这将添加一个 **加入我的计划** 按钮，它将作为您的模板条款中的注册链接。
6. 可选， **插入其他动态标记** 字段到您的通讯中。您可以通过选择 ![](/files/625e07a14c171ff6be6785c7d4209736185de81a) **\[展开]** 选项右侧的图标来查看可用的动态字段。
   * 请参阅 *动态字段参考* 下方可了解有关这些字段的更多信息。

<details>

<summary>通讯动态字段</summary>

选择 **插入** 用相关信息（例如合作伙伴姓名或当前日期）填充您的模板。

{% hint style="warning" %}
**注意：** 标记区分大小写。请勿在特殊标记中添加任何格式（例如，`{lastName}` 是有效的，但 `{LastName}` 则无效。
{% endhint %}

| 标记                   | 说明                                                                                                                                                                                                                                                                                                                         |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `{adcode_<adid>}`    | <p>填充所指定的完整广告列表 <code>\<adid></code> 值（例如， <code>{adcode\_\<replace\_with\_ad\_id>}</code>).<br></p><p><strong>广告代码限制</strong><br>每个模板可使用的广告代码数量受构成该模板的受众成员数量限制。<br><br><strong>广告代码数量/限制</strong></p><p>最多 1 个 — 最多 60,000 位合作伙伴<br>最多 5 个 — 最多 30,000 位合作伙伴<br>最多 10 个 — 最多 20,000 位合作伙伴<br>最多 20 个 — 最多 5,000 位合作伙伴</p> |
| `{mpid}`             | 填充合作伙伴账户的 ID 值（例如：98765）。                                                                                                                                                                                                                                                                                                  |
| `{mpname}`           | 公司名称。                                                                                                                                                                                                                                                                                                                      |
| `{firstName}`        | 填充合作伙伴的名字（例如：John）。                                                                                                                                                                                                                                                                                                        |
| `{lastName}`         | 填充合作伙伴的姓氏（例如：Doe）。                                                                                                                                                                                                                                                                                                         |
| `{currentDay}`       | 填充当前日期（例如：2038 年 1 月 19 日）。                                                                                                                                                                                                                                                                                                |
| `{currentTime}`      | 填充 ISO 格式的完整日期（例如：19-Jan-2038 03:14:08 UTC）。                                                                                                                                                                                                                                                                               |
| `{currentMonthYear}` | 填充当前月份和年份（例如：2038 年 1 月）。                                                                                                                                                                                                                                                                                                  |
| `{unsubscribeUrl}`   | 取消订阅该模板的 URL。                                                                                                                                                                                                                                                                                                              |
| `{programName}`      | 计划名称。                                                                                                                                                                                                                                                                                                                      |
| `{programLogoSrc}`   | 计划徽标的源 URL。                                                                                                                                                                                                                                                                                                                |

</details>

7. 选择 **预览** 用于细分的初步显示。预览满意后，选择 **完成** 或 **发送测试邮件**.


---

# 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/platform-features/reach-out-to-partners/messaging-templates/create-a-messaging-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.
