Skip to content

Instantly share code, notes, and snippets.

@shinsaka
Last active August 2, 2022 02:52
Show Gist options
  • Save shinsaka/d51cd2f95983e85538a142f8a3325d51 to your computer and use it in GitHub Desktop.
Save shinsaka/d51cd2f95983e85538a142f8a3325d51 to your computer and use it in GitHub Desktop.
onConnecting CTI FLOW for CTI Adapter for Salesforce
{
"actions": [
{
"id": "uid-start",
"type": "SE_Start",
"meta": {},
"controls": {},
"ports": {
"done": "uid-001"
},
"position": [
0,
0
]
},
{
"id": "uid-001",
"type": "SE_ContactProperties",
"meta": {},
"controls": {},
"ports": {
"done": "uid-002"
},
"position": [
144,
0
]
},
{
"id": "uid-002",
"type": "SE_CoreFormatPhoneNumber",
"meta": {
"title": "電話番号のフォーマット"
},
"controls": {
"phoneNumber": "$.actions.uid-001.results.formattedPhoneNumberE164",
"countryCode": "$.actions.uid-001.results.country"
},
"ports": {
"done": "uid-003"
},
"position": [
480,
0
]
},
{
"id": "uid-003",
"type": "SE_TextStringTemplate",
"meta": {},
"controls": {
"variables": {
"phonenumber": "$.actions.uid-002.results.value"
},
"template": "0${phonenumber}"
},
"ports": {
"done": "uid-011"
},
"position": [
800,
0
]
},
{
"id": "uid-011",
"type": "SE_SFSearchAndScreenpop",
"meta": {},
"controls": {
"searchParams": "$.actions.uid-003.results.value",
"queryParams": "",
"defaultFieldValues": {},
"callType": "inbound",
"deferred": false
},
"ports": {
"success": "uid-end",
"failure": "uid-end"
},
"position": [
1120,
0
]
},
{
"id": "uid-end",
"type": "SE_End",
"meta": {},
"controls": null,
"ports": {},
"position": [
1456,
96
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment