> 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. 从左侧导航菜单中，选择 ![](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%2FiZjM1xY8o3v1iR3Zaysd%2FToggle.svg?alt=media\&token=b1550d48-bba9-4e81-8604-bc12370c5caa) **\[开启]** **消息模板** 并从中选择一个现有消息模板 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c2cb550b55c51ea1eeff0acbd6f437a03b621a2c%2F60d033ae8a04c14498d5229c3c0160ac05feea7f605dbd770741793c900469f0.svg?alt=media) **\[下拉菜单]** **选择模板**.
4. 输入您的消息模板详情：

   | 字段    | 说明                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
   | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
   | 模板名称  | 这将是您在使用该模板时选择的名称。                                                                                                                                                                                                                                                                                                                                                                                                                                            |
   | 发件人   | 这是 *来自* 收件人在收到模板时会看到的名称。                                                                                                                                                                                                                                                                                                                                                                                                                                     |
   | 回复至   | 这是合作伙伴在回复此模板时将联系的电子邮件地址                                                                                                                                                                                                                                                                                                                                                                                                                                      |
   | 抄送/密送 | <p><img src="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FiZjM1xY8o3v1iR3Zaysd%2FToggle.svg?alt=media&amp;token=b1550d48-bba9-4e81-8604-bc12370c5caa" alt=""> <strong>\[开启]</strong> 除了您所选细分中的合作伙伴之外，还可包含一位抄送或密送收件人。</p><p>• 您可以添加 1 个电子邮件地址到 <strong>抄送</strong> 字段，并添加 1 个到 <strong>密送</strong> 字段中。</p><p>• 作为抄送或密送添加的任何电子邮件地址，都将收到发送给所选细分中合作伙伴的每封电子邮件副本。电子邮件数量可能会因细分规模而异。</p> |
   | 主题    | 模板主题。                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
   | 内容    | <p>在提供的文本编辑器中输入您的模板内容。</p><p>• 如果您选择添加现有模板， <em>内容</em> 部分将已自动填充。</p>                                                                                                                                                                                                                                                                                                                                                                                        |
5. 可选地， **插入注册链接** 到您的某个模板条款中。这将添加一个 **加入我的计划** 按钮，该按钮会作为指向您模板条款的注册链接。
6. 可选地， **插入其他动态令牌** 字段到您的新闻通讯中。您可以通过选择右侧的 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-1693a804098684cf89dcebb8688d0cb9828ccf1a%2F37640bfd3058dfa602a03a159c08e07d5859f8edbfc079a7577a9f0192c89c48.svg?alt=media) **\[展开]** 图标来查看可用的动态字段。
   * 请参见 *动态字段参考* 下方可了解这些字段的更多信息。

<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 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/zh/what-would-you-like-to-learn-about/platform-features/reach-out-to-partners/messaging-templates/create-a-messaging-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.
