> 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> 除了你所选细分中的合作伙伴外，再添加 1 个抄送或密送电子邮件收件人。</p><p>• 你可以在 <strong>抄送</strong> 字段中添加 1 个电子邮件地址，并在 <strong>密送</strong> 字段中。</p><p>• 任何作为 CC 或 BCC 添加的电子邮件地址都将收到发送给所选细分中合作伙伴的每封电子邮件副本。电子邮件数量可能会因细分规模而异。</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 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.
