[有限发布版]{class="badge informative"}

创建自定义渠道体验 create-custom-channel

在此页面上:​了解如何在Adobe Journey Optimizer中将自定义渠道添加到历程或营销活动,并使用表达式编辑器创作个性化的消息负载。

AVAILABILITY
此功能为限量发布版。 请联系 Adobe 代表获取访问权限。

在Journey Optimizer中,您可以使用营销活动和历程中的自定义渠道投放消息。 请按照以下步骤设置您的自定义渠道体验。

NOTE
在创建自定义渠道体验之前,请确保管理员已配置自定义渠道。 了解详情

通过历程或营销活动添加一个自定义操作 create-custom-channel-experience

向历程添加自定义渠道

自定义渠道显示在历程画布调色板的​ 操作 ​部分中,按其显示名称和自定义图标列出,如渠道生成器中所定义。

要向历程添加自定义渠道操作,请执行以下操作:

  1. 创建历程

  2. 通过事件读取受众活动开始您的历程。

  3. 从调色板的​ 操作 ​部分拖放​ 操作 ​活动。 了解有关操作活动的详细信息。

  4. 在​ 操作 ​下拉列表中,选择要使用的自定义渠道。 自定义渠道按渠道生成器中分配的名称和图标列出。

    历程画布中的自定义渠道操作选择 {width="80%"}

  5. 向操作添加标签,单击右侧面板中的​Configure action,然后选择要使用的​渠道配置了解如何创建自定义渠道配置

  6. 在​ 消息 ​部分中,单击​ 编辑内容 ​以打开有效负荷编辑器并创作消息。 了解如何创作内容

  7. 根据需要添加其他步骤以完成旅程流,然后发布旅程。 了解详情

创建自定义渠道营销活动

要在营销活动中使用自定义渠道,请执行以下操作:

  1. 创建营销活动

  2. 选择营销活动类型:

    • 已计划 — 营销 — 立即执行或在指定日期执行。 为营销消息而设计,通过UI进行配置。
    • API触发 — 营销/事务性 — 通过API调用执行。 专为事件触发的消息传送(例如,订单确认或密码重置)而设计。 了解详情
  3. 完成活动设置:活动属性、受众计划

  4. 在​ 操作 ​部分中,从渠道选择器中选择自定义渠道。 在您的沙盒上配置的所有自定义渠道均与本机渠道一起显示。

    Campaign自定义操作选择 {width="80%"}

  5. 选择或创建要使用的​渠道配置了解如何创建渠道配置

    自定义渠道配置选择 {width="80%"}

  6. (可选)启用​ 操作跟踪 ​以自动跟踪消息有效负载中包含的链接(需要为自定义渠道配置子域)。 了解如何委派自定义渠道的子域

  7. 在​ 优化 ​部分中,您可以:

    • 创建定位规则​以将不同的消息发送到受众的不同区段。 了解详情
    • 单击​ 创建试验 ​对自定义渠道消息运行A/B测试。 了解详情
  8. 单击​ 编辑内容 ​以打开有效负荷编辑器并创作消息。 了解如何创作内容

  9. 查看并激活营销活动。 了解详情

创作自定义渠道内容 author-content

内容编辑器可反映您在配置自定义渠道时定义的有效负载结构。 单击​ 编辑代码 ​以打开有效负载编辑器并输入消息内容。

自定义渠道有效负载编辑器 {width="80%"}

此时会显示可创作和个性化的字段。 您可以利用Journey Optimizer个性化编辑器及其所有个性化和创作功能。 了解详情

NOTE
仅支持JSON负载。 如果您的自定义渠道有效负载不是JSON,则可以使用JSON包装器来封装内容。 例如,如果您的有效负载为XML,则可以将其包装在JSON对象中,如下所示:
code language-json
{
      "payload": "<xml>...</xml>"
    }

将有效负载个性化 personalize

Journey Optimizer的完整个性化功能在有效负载编辑器中可用:

  • 配置文件属性 — 插入任何XDM配置文件属性,如{{profile.person.name.firstName}}或自定义标识,如存储在自定义命名空间中的消息传送平台用户ID。
  • 上下文属性 — 使用在发送时解析的历程事件属性或营销活动上下文数据。
  • 辅助函数 — 使用内置字符串、日期或算术函数设置值的格式。 了解详情
  • 表达式片段 — 跨多个渠道和营销活动重用共享的个性化逻辑。 了解详情
CAUTION
当前,创作时不会对有效负载进行验证。 您可以使用​ 模拟内容 ​功能来验证您的有效负载是否为格式正确的JSON,以及所有个性化表达式是否都能正确解析您的测试配置文件。 了解详情

以下示例显示了具有配置文件个性化的JSON负载:

{
  "message": {
    "template": "Limited offer just for you, {{profile.person.name.firstName}}!",
    "header": "You have a FREE drink when you buy a King menu!"
  },
  "campaign_ref": {
    "id": "2grjya",
    "type": "loyalty",
    "url": "/companies/wNmRsLbu/campaigns/wallet/2grjya"
  }
}
{
  "messaging_product": "mess",
  "recipient_type": "individual",
  "to": "{{profile.mobilePhone.number}}",
  "zipCode": 4001,
  "type": "image",
  "image": {
    "id": "1479537139650973",
    "caption": "The best succulent ever?"
  }
}

要在自定义渠道有效载荷中包含跟踪链接,以便自动在渠道的报表功能板中跟踪和显示点击,请使用以下手柄栏语法来换行URL:

{{url trackedUrl='' originalUrl='https://example.com/' type='TRACKED'}}
  • originalUrl — 要将收件人重定向到的目标URL。
  • trackedUrl — 将此留空;Journey Optimizer在发送时自动使用启用跟踪的重定向URL填充它。
  • type — 必须设置为TRACKED
NOTE
链接跟踪需要为自定义渠道配置子域。 了解如何委派自定义渠道的子域

示例 — 有效负载中的跟踪链接:

{
  "receiver": "{{profile.mobilePhone.number}}",
  "min_api_version": 1,
  "sender": {
    "name": "Luma Rewards",
    "avatar": "https://avatar.example.com"
  },
  "tracking_data": "{{profile.person.name.firstName}}",
  "type": "text",
  "text": "Hello {{profile.person.name.firstName}}! Discover our new collection: {{url trackedUrl='' originalUrl='https://luma.com/collection' type='TRACKED'}}"
}

激活您的自定义渠道体验 activate

IMPORTANT
在激活之前,预览和测试自定义渠道有效负载。 了解如何操作
如果您的营销活动或历程受批准政策的约束,则必须在激活之前请求批准。 了解详情
  • 从历程 — 单击右上角区域中的​发布。 历程将上线并开始调用您的外部端点来获取符合条件的用户档案。 了解有关发布历程的更多信息。
  • 从营销活动 — 单击​查看以激活,查看您的设置,然后单击​激活。 营销活动采用​ 实时 ​状态(或者​已计划,如果已定义未来开始日期)。 了解有关激活营销活动的详细信息。
AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: This page explains how a marketer delivers messages through a custom channel by adding a custom channel action to a journey or a campaign, authoring and personalizing the JSON payload, optionally tracking links, and then activating the experience.

Intents:

  • Add a custom channel action to a journey using the Action activity
  • Use a custom channel in a Scheduled or API-triggered campaign
  • Select a channel configuration for the custom channel action
  • Author and personalize the JSON message payload in the payload editor
  • Track links included in the payload
  • Activate the custom channel experience from a journey or a campaign

Glossary:

  • Custom channel action: An action that delivers a message to profiles when they reach that step of the journey, referencing a custom channel configuration (product-specific)
  • Channel configuration: The named preset, selected when configuring the action, that defines the endpoint, payload, and credentials used to deliver the message (product-specific)
  • Payload editor: The content editor, opened with Edit content or Edit code, that reflects the payload structure defined for the custom channel (product-specific)
  • Simulate content: The feature used to validate that the payload is well-formed JSON and that all personalization expressions resolve correctly for your test profiles (product-specific)
  • Action tracking: A campaign option that automatically tracks links included in the message payload and requires a subdomain configured for custom channels (product-specific)
  • Expression fragments: Shared personalization logic that can be reused across multiple channels and campaigns (product-specific)

Guardrails:

  • This capability is available in Limited Availability; contact your Adobe representative to gain access.
  • A custom channel must be configured by your administrator before you create a custom channel experience.
  • Only JSON payloads are supported; non-JSON content such as XML can be wrapped in a JSON object.
  • There is currently no validation of the payload at authoring time; use Simulate content to validate that the payload is well-formed JSON and that personalization expressions resolve correctly for your test profiles.
  • Action tracking and link tracking require a subdomain configured for custom channels.
  • For a tracked link, leave trackedUrl empty and set type to TRACKED; Journey Optimizer populates trackedUrl at send time.
  • If your campaign or journey is subject to an approval policy, you must request approval before activation.

Terminology:

  • Canonical name: custom channel experience — Acronym: n/a — variants: custom channel action
  • Synonyms: “Edit content” = “Edit code” (both open the payload editor)
  • Do not confuse: “Scheduled - Marketing” ≠ “API-triggered - Marketing/Transactional” (the two campaign types)
  • Do not confuse: “Publish” (journey activation) ≠ “Review to activate” and “Activate” (campaign activation)
  • Do not confuse: “Live” ≠ “Scheduled” (campaign statuses after activation)

FAQ:

  • Q: What payload format can I author? — Only JSON; wrap non-JSON content such as XML in a JSON object.
  • Q: How do I check my payload before activating? — Use Simulate content to confirm the payload is well-formed JSON and that all personalization expressions resolve correctly for your test profiles.
  • Q: How do I track links in the payload? — Wrap the URL with the handlebar syntax, leaving trackedUrl empty and setting type to TRACKED; link tracking requires a delegated subdomain.
  • Q: How do I activate the experience? — From a journey, click Publish; from a campaign, click Review to activate and then Activate.
  • Q: Can I run A/B tests on custom channel messages? — Yes, in the Optimization section click Create experiment.
recommendation-more-help
journey-optimizer-help