0

I am sending a simple custom payload copied from official docs. Here is the payload ->

{
  "richContent": [
    [
      {
        "type": "accordion",
        "title": "Accordion title",
        "subtitle": "Accordion subtitle",
        "text": "Accordion text"
      }
    ]
  ]
} 

The intent is not attached to any previous intents, and I am not sending response through the backend. Instead, I am sending it through the "Response Section", built-in in the Dialogflow console.

The problem is that DialogFlow is not able to identify this custom payload, although the intent works alright when a text response is sent instead.

PS:- The scenario is the same when instead of using the built-in console, I send the response through the backend. Dialogflow understands simple text response but fails to process the custom payload.

Here is the screenshots ->

enter image description here

enter image description here

  • The custom payload is made mainly for Dialogflow Messenger like Ricco D mentioned not for Try it me section. – Peter Oct 11 '22 at 11:07

1 Answers1

2

Your custom payload should work if you ran your test in Dialogflow Messenger Integration as it supports accordion response type. See test below using your custom payload:

enter image description here

Intent configuration:

enter image description here

Ricco D
  • 6,873
  • 1
  • 8
  • 18