MessagingChannel
親種別
ファイルのサフィックスおよびディレクトリの場所
MessagingChannel コンポーネントにはサフィックス messagingChannel が付けられ、messagingChannels フォルダーに保存されます。
バージョン
MessagingChannel コンポーネントは、API バージョン 55.0 以降で使用できます。
特別なアクセスルール
この種別は、メッセージングに関する権限である「メッセージングの設定」および「設定・定義を参照する」が組織で有効になっている場合に使用できます。
項目
| 項目名 | 説明 |
|---|---|
| automatedResponses |
|
| customParameters |
|
| description |
|
| masterLabel |
|
| messagingChannelType |
|
| sessionHandlerFlow |
|
| sessionHandlerQueue |
|
| sessionHandlerType |
|
| standardParameters |
|
MessagingAutoResponse
チャネルで使用される自動レスポンスを表します。
| 項目名 | 説明 |
|---|---|
| response |
|
| type |
|
MessagingChannelCustomParameter
チャネルに追加されるカスタムパラメーターを表します。
| 項目名 | 説明 |
|---|---|
| actionParameterMappings |
|
| externalParameterName |
|
| masterLabel |
|
| maxLength |
|
| name |
|
| parameterDataType |
|
MessagingChannelActionParameterMapping
パラメーターとオムニチャネルフローまたはエージェント ToDo 間の対応付けを表します。
| 項目名 | 説明 |
|---|---|
| actionParameterName |
|
MessagingChannelStandardParameter
情報をチャネルに渡すために使用される標準パラメーターを表します。
| 項目名 | 説明 |
|---|---|
| actionParameterMappings |
|
| parameterType |
|
宣言的なメタデータの定義のサンプル
MessagingChannel コンポーネントの例を次に示します。このメッセージングチャ���ルは、カスタムおよび標準パラメーターをメッセージングチャネルからフローに渡し、代替キューを使用するフローに転送します。
1<?xml version="1.0" encoding="UTF-8"?>
2<MessagingChannel xmlns="http://soap.sforce.com/2006/04/metadata">
3 <automatedResponses>
4 <response>Hello there!</response>
5 <type>InitialResponse</type>
6 </automatedResponses>
7 <automatedResponses>
8 <response>Your agent is looking into the issue now.</response>
9 <type>AgentEngagedResponse</type>
10 </automatedResponses>
11 <automatedResponses>
12 <response>Bye!</response>
13 <type>AgentEndEngagementResponse</type>
14 </automatedResponses>
15 <customParameters>
16 <actionParameterMappings>
17 <actionParameterName>Flow_PhoneNumber</actionParameterName>
18 </actionParameterMappings>
19 <externalParameterName>PhoneNumber</externalParameterName>
20 <masterLabel>Phone Number</masterLabel>
21 <name>PhoneNumber</name>
22 <parameterDataType>Number</parameterDataType>
23 </customParameters>
24 <masterLabel>Initial Message</masterLabel>
25 <messagingChannelType>EmbeddedMessaging</messagingChannelType>
26 <sessionHandlerFlow>FlowName</sessionHandlerFlow>
27 <sessionHandlerQueue>FallbackQueueName</sessionHandlerQueue>
28 <sessionHandlerType>Flow</sessionHandlerType>
29 <standardParameters>
30 <actionParameterMappings>
31 <actionParameterName>Flow_LastName</actionParameterName>
32 </actionParameterMappings>
33 <parameterType>LastName</parameterType>
34 </standardParameters>
35 <standardParameters>
36 <actionParameterMappings>
37 <actionParameterName>Flow_FirstName</actionParameterName>
38 </actionParameterMappings>
39 <parameterType>FirstName</parameterType>
40 </standardParameters>
41 <standardParameters>
42 <actionParameterMappings>
43 <actionParameterName>Flow_Email</actionParameterName>
44 </actionParameterMappings>
45 <parameterType>Email</parameterType>
46 </standardParameters>
47 <standardParameters>
48 <actionParameterMappings>
49 <actionParameterName>Flow_Subject</actionParameterName>
50 </actionParameterMappings>
51 <parameterType>Subject</parameterType>
52 </standardParameters>
53</MessagingChannel>メッセージングチャネルをキューに転送する場合、代替フローはありません。
1<?xml version="1.0" encoding="UTF-8"?>
2<MessagingChannel xmlns="http://soap.sforce.com/2006/04/metadata">
3 <masterLabel>EmbeddedChannel2</masterLabel>
4 <messagingChannelType>EmbeddedMessaging</messagingChannelType>
5 <sessionHandlerQueue>DemoQueueName</sessionHandlerQueue>
6 <sessionHandlerType>Queue</sessionHandlerType>
7</MessagingChannel>前の定義を参照する package.xml の例を次に示します。
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>MessagingChannel</name>
6 </types>
7 <version>55.0</version>
8</Package>マニフェストファイル内のワイルドカードのサポート
このメタデータ型では、package.xml マニフェストファイル内のワイルドカード文字 * (アスタリスク) がサポートされます。マニフェストファイルの使用についての詳細は、「zip ファイルを使用したメタデータのリリースと取得」を参照してください。