> 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) **\[互动] → 合作伙伴** → **自动化** → **消息模板**.
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>• 您可以在 <strong>抄送</strong> 字段中添加 1 个电子邮件地址，并在 <strong>密送</strong> 字段中添加 1 个。</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}`       | 填入当前日期（例如，January 19, 2038）。                                                                                                                                                                                                                                                                                                 |
| `{currentTime}`      | 填入 ISO 格式的完整日期（例如，19-Jan-2038 03:14:08 UTC）。                                                                                                                                                                                                                                                                                 |
| `{currentMonthYear}` | 填入当前月份和年份（例如，January, 2038）。                                                                                                                                                                                                                                                                                                 |
| `{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.
