How can I send a message as the user and agent to the web widget?

4 Comments

  • Greg - Community Manager
    Comment actions Permalink

    Hi Austin! Take a look at our documentation for how to do this in Sunshine Conversations!

    0
  • Austin Jones
    Comment actions Permalink

    Hi Greg, so I am not using Sunshine Conversations. I have a custom built bot running on node.js. I was hoping to use the conversation chat API is that possible? If not, what subscription would I need for the Sunshine Conversations? Would this use the web widget for chat? Thanks.

    0
  • Greg - Community Manager
    Comment actions Permalink

    Hi Austin, yes you can definitely use the Chat Conversations API! This article will explain how you can do that. I somehow missed the part where you explicitly said widget multiple times! Sorry about that!

    At the moment, Sunshine Conversations does not interact this way, but we will be making some announcements later this quarter, so keep your eyes peeled...it'll be exciting!

    0
  • Austin Jones
    Comment actions Permalink

    No problem Greg! I should've been more concise, I already read through the article you linked to and my application gets authentication, I'm stuck at subscribing to incoming messages, inside the graphQL query there is a field named

    id: REQUEST_ID.MESSAGE_SUBSCRIPTION

    how do I get the id for and active conversation in the web widget to make this query return that specific conversation? Or am I approaching this all wrong? Sorry I guess I don't quite understand how my application can select a specific conversation.

    0

Please sign in to leave a comment.

Powered by Zendesk