Quick replies

Quick replies

quick_replies property of server response is optional. Quick replies cannot be used in dynamic block of a content node if there are other blocks exist afterwards. Quick reply description format is the same for buttons, it supports content, node, dynamic_block_callback types.

{
  "version": "v1",
  "content": {
    "messages": [
      {
        "type": "text",
        "text": "simple text with button",
        "buttons": [
          {
            "type": "url",
            "caption": "External link",
            "url": "https://alendei.com"
          }
        ]
      }
    ],
    "actions": [],
    "quick_replies": [
      {
        "type": "node",
        "caption": "Show",
        "target": "My Content"
      }
    ]
  }
}
target key should be linked to a node existing within executed flow. Node name can be found in its header, you need to use unique name for node connected with link. If there are multiple nodes with similar names inside of the same flow, transition behaviour would not meet expectations. Go to node quick replies are not supported in Public API.

Dynamic block callback quick reply

The "headers", "payload" properties are optional.

{ "version": "v1", "content": { "messages": [ { "type": "text", "text": "simple text with button", "buttons": [ { "type": "url", "caption": "External link", "url": "https://alendei.com" } ] } ], "actions": [], "quick_replies": [ { "type": "dynamic_block_callback", "caption": "Dynamic content", "url": "https://your-service.com/dynamic", "method": "post", "headers": { "x-header": "value" }, "payload": { "key": "value" } } ] } }

 


    • Related Articles

    • Messages format

      Sending text Use this response for sending text messages. url, node and call buttons can be used with text message. The "buttons", "actions", "quick_replies" properties are optional. { "version": "v1", "content": { "messages": [ { "type": "text", ...
    • Buttons

      You can use buttons with each types: call, url, node. { "version": "v1", "content": { "messages": [ { "type": "text", "text": "simple text", "buttons": [ { "type": "url", "caption": "External link", "url": "https://alendei.com", }, { ...Another ...
    • Actions format

      Action add tag Use this response to add a tag to a subscriber. Tag with the same name must exist in your bot: { "version": "v1", "content": { "messages": [ { "type": "text", "text": "simple text with button", "buttons": [ { "type": "url", "caption": ...
    • How does a Bot User Limit works?

      If a standard plan has 1000 bot users limit, This includes people who interact with your chatbot via DM messages and comments. This limit is shared between all the chatbots created in a workspace. The limit of 1000 bot users is on workspace level ...
    • How to get help?

      In this help document, you will learn how to get help and also how to submit a support ticket. OCP Knowledge base has very good documented help documents, you can find most of your answers here: More and more content is added frequently. YouTube ...