This site is no longer updated.Go to new Conversational Cloud docs

Reply types for channels


The platform provides layers of adaptation to different communication channels and operator chat systems. The table contains the types of supported replies and their parameters for each channel.


Alice

Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
  "tts":"....",             // markup for speech synthesis
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   // image link
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
inlineButtons
{
  "type":"inlineButtons"    //reply type
  "buttons":[
    {
      "text":"button",      // button name
      "url":"http://example.com"  //transition link
    }
  ]
}
raw
{
  "type":"raw",            //reply type
  "body":{ ... },          //reply body
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
carousel
{
  "type": "carousel",                 //answer type
  "text": "carousel description"      //general description
  "content": [
      {
        "title": "title",             //title
        "description": "description", //description
        "image": "imageUrl",          //image url
        "url": "appUrl",              //source url
        "btnText": "button text"      //button text
      }
    ]
}

Please note several channel details:

  • Before using the carousel message type in a script, read how to use it in the Yandex documentation.
  • When connecting audio in the tts parameter for the text message type from the Alice sound library, you must specify the .opus file format for the audio.

Azure Bot

Learn more about connecting a bot in Microsoft Teams to the JAICP platform


Type Parameters
text
  "type":"text",            //reply type
  "text":"....",            //reply text
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   //image link
  "text":"description",        //picture description
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
  "audioName":"file name",        //audio file name
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
inlineButtons
{
  "type":"inlineButtons"    //reply type
  "buttons":[
    {
      "text":"button",      // button name
      "url":"http://example.com"  //transition link
    }
  ]
}
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };

Bitrix24

Learn more about Bitrix24 channel connection


Type Parameters
text
  "type":"text",            //reply type
  "text":"....",            //reply text
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   //image link
  "text":"description",        //picture description
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}

Chat2Desk

Learn more about how to connect a Chat2Desk channel


Type Parameters
text
  "type":"text",            //reply type
  "text":"....",            //reply text
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}

Chatwidget

Learn more about how to connect a bot to the chat widget


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
  "tts":"....",             // markup for speech synthesis
}
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   //image link
  "text":"description",        //picture description
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
  "audioName":"file name",        //audio file name
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
inlineButtons
{
  "type":"inlineButtons"    //reply type
  "buttons":[
    {
      "text":"button",      // button name
      "url":"http://example.com"  //transition link
    }
  ]
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}
carousel
{
  "type": "carousel",                 //answer type
  "text": "carousel description"      //general description
  "content": [
      {
        "title": "title",             //title
        "description": "description", //description
        "image": "imageUrl",          //image url
        "url": "appUrl",              //source url
        "btnText": "button text"      //button text
      }
    ]
}

Facebook

Learn more how to connect Facebook channel


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
inlineButtons
{
  "type":"inlineButtons"    //reply type
  "buttons":[
    {
      "text":"button",      // button name
      "url":"http://example.com"  //transition link
    }
  ]
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   // image link
  "text":"description",        //picture description
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
  "audioName":"audio file name",        //audio file name
}
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
raw
{
  "type":"raw",            //reply type
  "body":{ ... },          //reply body
}
location
{
  "type": "location",      //reply type
  "lat": 59.934280,        //latitude
  "lon": 30.335099         //longitude
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}
carousel
{
  "type": "carousel",                 //answer type
  "text": "carousel description"      //general description
  "content": [
      {
        "title": "title",             //title
        "description": "description", //description
        "image": "imageUrl",          //image url
        "url": "appUrl",              //source url
        "btnText": "Button text"      //button text
      }
    ]
}

Please note, before using the carousel message type in a script, read how to use it in the Facebook documentation.


Google Assistant

Learn more about how to connect a Google Assistant channel


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
  "tts":"....",             //markup for speech synthesis
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   // image link
  "text":"description",        //picture description
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
inlineButtons
{
  "type":"inlineButtons"    //reply type
  "buttons":[
    {
      "text":"button",      // button name
      "url":"http://example.com"  //transition link
    }
  ]
}
htmlResponse
{
  "type":"htmlResponse",               //reply type
  "updatedState": "some",
  "suppressMic":true|false,           //optional parameter
  "url": "appUrl"                     //optional parameter
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };

i-Digital: WhatsApp

Learn more about how to connect a bot in WhatsApp


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   // image link
  "text":"description",        //picture description
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}

JivoSite

Learn more about how to connect an incoming JivoSite channel


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   // image link
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}

Marusya


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
  "tts":"....",             // markup for speech synthesis
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
inlineButtons
{
  "type":"inlineButtons"    //reply type
  "buttons":[
    {
      "text":"button",      // button name
      "url":"http://example.com"  //transition link
    }
  ]
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };

MFMS: WhatsApp

Read more about connecting a bot in WhatsApp


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   // image link
}
video
{
  "type":"video",           //reply type
  "videoUrl":"http://..."   //video link
}
file
{
  "type":"file",                 //reply type
  "fileUrl":"http://..."         //file link
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
}
location
{
  "type": "location",      //reply type
  "lat": 59.934280,        //latitude
  "lon": 30.335099         //longitude
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"
    };

Vonage

Learn more about how to connect a Vonage channel


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   // image link
  "text":"description",        //picture description
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
  "audioName":"audio file name",        //audio file name
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}

Salut

Learn more about connecting a Salut channel

Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
image
{
  "type":"image",             //reply type
  "imageUrl":"http://..."     // image link
  "text":"description",        //picture description
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
inlineButtons
{
  "type":"inlineButtons"          //reply type
  "buttons":[
    {
      "text":"button",            // button name
      "url":"http://example.com"  //transition link
    }
  ]
}

Slack

Learn more about how to connect a Slack channel


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}

Telegram

Learn more about how to connect a Telegram channel


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
inlineButtons
{
  "type":"inlineButtons"    //reply type
  "buttons":[
    {
      "text":"button",      // button name
      "url":"http://example.com"  //transition link
    }
  ]
}
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   // image link
  "text":"description",        //picture description
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
  "audioName":"audio file name",        //audio file name
}
location
{
  "type": "location",      //reply type
  "lat": 59.934280,        //latitude
  "lon": 30.335099         //longitude
}
raw
{
  "type":"raw",            //reply type
  "body":{ ... },          //reply body
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}

Telephony

Learn more about how to connect a telephone channel


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
switch
{
  "type":"switch",                         //reply type
  "firstMessage":"..."  ,                  //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false,
  "destination":  catchAll.operatorGroup,  // группа операторов
  "phoneNumber": 88008000000,              // phone number
  "headers": {                             // SIP headers
             "Remote-Party-ID": remotePartyId ,
             testheader:"header"
             },
  "transferChannel": "237-test-237"        // botId
}
dtmf
{
  "type":"dtmf",                 //reply type
  "max":"1",                     // maximum number of typed digits
  "timeout": "15000"             //standby interval
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
}
hangup
{
  "type":"hangup"
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };

edna.chatCenter

Learn more about how to connect a edna.chatCenter channel


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   //image link
  "text":"description",        //picture description
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
  "audioName":"audio file name",        //audio file name
}
file
{
  "type":"file",                 //reply type
  "fileUrl":"http://..."         //audio link
  "mimeType":"application/vnd.openxmlformats-officedocument.wordprocessingml"
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
inlineButtons
{
  "type":"inlineButtons"    //reply type
  "buttons":[
    {
      "text":"button",      // button name
      "url":"http://example.com"  //transition link
    }
  ]
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };

Viber

Learn more about how to connect a Viber channel


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
inlineButtons
{
  "type":"inlineButtons"    //reply type
  "buttons":[
    {
      "text":"button",      // button name
      "url":"http://example.com"  //transition link
    }
  ]
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   // image link
  "text":"description",        //picture description
}
raw
{
  "type":"raw",            //reply type
  "body":{ ... },          //reply body
}
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
location
{
  "type": "location",      //reply type
  "lat": 59.934280,        //latitude
  "lon": 30.335099         //longitude
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}

VK

Learn more about how to connect an incoming VK channel


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   // image link
  "text":"description",        //picture description
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio link
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}
carousel
{
  "type": "carousel",                 //answer type
  "text": "carousel description"      //general description
  "content": [
      {
        "title": "title",             //title
        "description": "description", //description
        "image": "imageUrl",          //image url
        "url": "appUrl",              //source url
        "btnText": "button text"      //button text
      }
    ]
}

Please note, before using the carousel message type in a script, read how to use it in the VK documentation.


Webim

Learn more about how to connect an incoming Webim channel


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
switch
{
  "type":"switch",               //reply type
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };

Webim v2


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
audio
{
  "type":"audio",                 //reply type
  "audioUrl":"http://..."         //audio file link
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   //image link
}
file
{
  "type":"file",                 //reply type
  "fileUrl":"http://..."         //file link
  "mimeType":"application/vnd.openxmlformats-officedocument.wordprocessingml"
}
switch
{
  "type":"switch",               //reply type
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     //button title
    }
  ]
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };


WeChat


Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
switch
{
  "type":"switch",               //reply type
  "firstMessage":"..."  ,        //optional parameters
  "closeChatPhrases": [".."],
  "ignoreOffline":true|false,
  "oneTimeMessage": true|false
}
image
{
  "type":"image",           //reply type
  "imageUrl":"http://..."   // image link
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}

Zendesk Chat

Learn more about how to connect a Zendesk Chat channel



Type Parameters
text
{
  "type":"text",            //reply type
  "text":"....",            //reply text
}
buttons
{
  "type":"buttons"         //reply type
  "buttons":[
    {
      "text":"button",     // button name
    }
  ]
}
crmIntegration
script:
    var reply = {type:"crmIntegration"};
    reply.channelType = "BITRIX";
    reply.task = "DEAL_UPDATE";
    reply.parameters = {
            "fields[TITLE]": "Deal name"    // deal name
    };
timeout
{
  "type":"timeout",
  "interval":10,               //standby interval
  "targetState":"/timeout"    //transition state
}