Last active
March 21, 2022 03:24
-
-
Save shinsaka/ac297e39fbe87ff3acd0737dfbd81a14 to your computer and use it in GitHub Desktop.
Considering "DoNotCall" CTI FLOW Script for Amazon Connect CTI Adapter for Salesforce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"actions": [ | |
{ | |
"id": "0", | |
"type": "SE_Start", | |
"meta": {}, | |
"controls": {}, | |
"ports": { | |
"done": "1" | |
}, | |
"position": [ | |
0, | |
0 | |
] | |
}, | |
{ | |
"id": "1", | |
"type": "SE_SFRetrieve", | |
"meta": {}, | |
"controls": { | |
"fields": "DoNotCall", | |
"type": "$.payload.objectType", | |
"id": "$.payload.recordId" | |
}, | |
"ports": { | |
"success": "2", | |
"failure": "4" | |
}, | |
"position": [ | |
160, | |
0 | |
] | |
}, | |
{ | |
"id": "2", | |
"type": "SE_Decision", | |
"meta": {}, | |
"controls": { | |
"operandA": "$.actions.1.results.record.DoNotCall", | |
"comparator": "===", | |
"operandB": "false", | |
"evaluateAs": "boolean" | |
}, | |
"ports": { | |
"true": "3", | |
"false": "4" | |
}, | |
"position": [ | |
528, | |
-32 | |
] | |
}, | |
{ | |
"id": "3", | |
"type": "SE_AgentDialNumber", | |
"meta": {}, | |
"controls": { | |
"phoneNumber": "$.payload.number", | |
"queueARN": "" | |
}, | |
"ports": { | |
"success": "5", | |
"failure": "5" | |
}, | |
"position": [ | |
864, | |
16 | |
] | |
}, | |
{ | |
"id": "4", | |
"type": "SE_CoreAlert", | |
"meta": {}, | |
"controls": { | |
"message": "電話拒否設定されています。架電できません。" | |
}, | |
"ports": { | |
"done": "5" | |
}, | |
"position": [ | |
864, | |
208 | |
] | |
}, | |
{ | |
"id": "5", | |
"type": "SE_End", | |
"meta": {}, | |
"controls": null, | |
"ports": {}, | |
"position": [ | |
1200, | |
160 | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment