Zendesk chat panel template and panel template carousel

6 Comments

  • Greg - Community Manager
    Comment actions Permalink

    HI Bradraj Kumar! Is this a feature request that you're looking for here or is this something that you are hoping a member of the community can share with you? 

    0
  • Bradraj Kumar
    Comment actions Permalink

    Hi Greg,

    I am hoping a member of community or zendesk chat developer who worked in creating Conversation API for messages can share with me. i got the examples of creating graphQL queries for simple text, Buttons and QuickReplies but i am getting problems in creating the query for these 2 message type (panel template and panel template carousel).

    FYI

    i am using chat widget hosted on one of the website.

    0
  • Greg - Community Manager
    Comment actions Permalink

    Got it, thanks for clarifying! I'll keep this open here then to see if anyone can help out!

    0
  • Bradraj Kumar
    Comment actions Permalink

    Thankyou so much Greg. Is is possible if one of the developer from your end can post my requirement ASAP?

    0
  • Greg - Community Manager
    Comment actions Permalink

    This wouldn't be something that we would necessarily be able to provide for you. If someone at Zendesk has worked on this, they can certainly chime in, but this is outside of the realm of support that we can provide in these forums.

    0
  • Bradraj Kumar
    Comment actions Permalink

    Hi Greg,

    I have waited a longer time than expected. It's really on urgent now. 

    FYI

    i am adding my code snippet here so that anyone from community member can validate my snippet and let me know if it is in correct format.

    i tried this approach but it seems like through websocket it is sending the query but i am not geeting any acknowledgement as well as it is not updating the fallback either on zendesk chat or not showing any message bubble on chatwidget.

    `mutation{
    sendPanelTemplate(
    backoff: true,
    channel_id: ID!,
    fallback: {
    msg:"This is message",
    options:"https://example.com/reschedule/1"
    },
    buttons: [{
    text: 'Reschedule',
    action: { type: 'LINK_ACTION', value: 'https://example.com/reschedule/1' }
    }]
    panel: {
    type: 'PANEL_TEMPLATE',
    panel: {
    heading: 'Your appointment today at Garden City',
    paragraph: 'You have a haircut scheduled at 5pm today with senior stylist Sharon',
    image_url: 'https://example.com/banner.png',
    action: { type: 'LINK_ACTION', value: 'https://example.com/appointment/1' }
    }
    }
    ){
    success
    }
    }`
    0

Please sign in to leave a comment.

Powered by Zendesk