Digital Assistant and Mobile

Get Involved. Join the Conversation.

Posts

  • Asser
    Where is the user's data stored in the DB?15.0
    Topic posted August 1, 2018 by Asser Green Ribbon: 100+ Points, tagged Analytics, API, Facebook, Messaging, OMCE 
    Title:
    Where is the user's data stored in the DB?
    Summary:
    I want to make a list of all users that have interacted with my bot, displaying their first name, last name etc.
    Content:
    I want to make a list of all users that have interacted with my bot, displaying their first name, last name etc. I want to get this data from the database.

    Info about the bot:
    My bot asks the user a few questions. After answering the questions, a custom field/property is set to true for that user.
     
    questionsend:
        component: "System.SetVariable"
        properties:
          variable: "questionsanswered"
          value: true
        transitions: {}
    save:
        component: "System.CopyVariables"
        properties:
          from: "questionsanswered"
          to: "user.questionsanswered"
        transitions: 
          return: "save"
    
    Now my question is: Where is all this data stored in the db?
     
    So far, I have found a conversation history in the BOTS schema, table BOTS_CONVERSATION_HISTORY_. 
    Here is the user's ID (under CHANNEL_USER_ID) but I can't find where it's linked to (no foreign key here, see attached image).
    I couldn't find any tables containing channel users, or all bot users in general (users interacting with bots, not users of the database).
    image1
     



     

    As I said, there's no foreign key or so that I could track it



    Where do I get the user's first name from the database? As in ${profile.firstName}. And where do I get the custom fields from? As in ${user.age}
        component: "System.CommonResponse"
        properties:
          metadata:
            responseItems:
            - type: "text"
              text: "Hey ${profile.firstName}!..."
    
  • Sikaar Keita
    Accessing userid and channel type from the dialog flow and...Answered65.0
    Topic posted November 12, 2018 by Sikaar KeitaGreen Ribbon: 100+ Points, tagged Alexa, Facebook, OMCE, Tip 
    Title:
    Accessing userid and channel type from the dialog flow and custom component
    Summary:
    I am looking ofr a proper way to access user information and channel information
    Content:

    Hi,

    I am looking for a proper way to access user information and channel information, from both Dialog Flow and Custom Component.

    My Bot is running on 3 different channels ( Alexa, Facebook Messenger, Website) and i would like :

    1) to have a switch proposing various options based on the invoking channel, thus my need to acces the channel type from the dialog flow. I have tried many things (channelType ... ) but nothing worked out. Same when trying to access it from a custom component.

    2) to have acess to userId, so i can access and store data. in the custom component i have tried body.message.channel.userId with no success

    3) For Alexa and FBM, i owuld also like to dig the account linking topic - ie capture the amazon id or facebook id of the user. So far with FBM i properly capture firstname and last name, how could i go further ? I couldn't find any details in the online documentation.

     

    Best Regards

  • Abhishek Singh
    My bot using facebook channel, not replying to general...35.0
    Topic posted August 30, 2018 by Abhishek SinghRed Ribbon: 250+ Points, tagged Bots, Facebook, Messaging 
    Title:
    My bot using facebook channel, not replying to general public, only to me(developer)
    Summary:
    My bot is working well and replies well when i am interacting with it using the developer credentials for the facebook messenger, but it is not replying to general public, not sure why?
    Content:

    My bot is working well and replies well when i am interacting with it using the developer credentials for the facebook messenger, but it is not replying to general public, not sure why?

    What further steps need to be done to make it(bot) respond to any person saying hi to my bot. My Bot name is

    "CapGstore".

    Document:
  • Ameur Baccoucha
    Translation problem with the facebook channelAnswered85.0
    Topic posted August 28, 2018 by Ameur BaccouchaGold Medal: 3,500+ Points, tagged Bots, Facebook, Messaging 
    Title:
    Translation problem with the facebook channel
    Summary:
    I use the google translation service and everything is fine in the botui tester but it does not work in the Facebook channel.
    Content:

    Hello,

    everything work on the botUI tester but in the facebook channel when I type "hi", I receive the welcome message that I put in english. but when I type "bonjour" I receive the message of the "unresolvedIntent" in english.
    any idea please.
    Thank you

  • Filip Huysmans
    Chatbot: Working with versions in production35.0
    Topic posted August 16, 2018 by Filip HuysmansRed Ribbon: 250+ Points, tagged Bots, Facebook 
    Title:
    Chatbot: Working with versions in production
    Summary:
    What is the advice way of working with chatbots in production?
    Content:

    Hi,

    what is the best approach of working with bots in production?  Once the bot is put into production and linked with facebook messenger, how can we put in place a new version without disrupting the existing conversations?  

    Do we work directly in the production bot or do we have a second bot aside ?

    Thx

  • Asser
    How to access an API without credentials?25.0
    Topic posted July 10, 2018 by Asser Green Ribbon: 100+ Points, tagged API, Bots, Facebook, OMCE, Tip 
    Title:
    How to access an API without credentials?
    Content:

    On OMCe I have made a backend, added an API, and set the endpoints. I have set the "Login Required" switch to "off" (see image api_1.png). I assume that with this it should not ask for Authorization headers, but it returns a 401 unauthorized response (see image api_2.png).

    When I add Authorization header and Oracle-Mobile-Backend-ID to the GET request, it works fine (see image api_3.png).

    Is it possible to make a simple GET request to the API without having to provide the credentials? OR, can I add the access token and backend ID as a query param?

    Image:
    Document:
    api_2.PNG (38KB)
    Document:
    api_3.PNG (39KB)
  • Taysir Shili
    chatbot developmentAnswered13.0
    Topic posted April 26, 2019 by Taysir Shili, tagged Bots, Facebook 
    Title:
    chatbot development
    Content:

    How the Bot receive image as message or attachment from a user and send the url of this image in a custom component 

  • Dharshan B
    How to use Duration In Complex Entity PropertiesAnswered5
    Topic posted October 14, 2019 by Dharshan B, tagged Bots, Facebook 
    Title:
    How to use Duration In Complex Entity Properties
    Summary:
    How to use Duration In Complex Entity Properties
  • Geetha Devi
    How to use Oracle Bot into google hangout? Anyone have any...Answered24
    Topic posted October 11, 2019 by Geetha DeviRed Ribbon: 250+ Points, tagged Alexa, Analytics, Android, API, Bots, Conversational AI, Facebook, iOS, MAX, Messaging, Mobile, Notification, OMCE, Siri, Slack, Tip, Virtual Assistant, VPA, WeChat 
    Title:
    How to use Oracle Bot into google hangout? Anyone have any doc on this?
    Summary:
    how to integrate the OMH chatbot-UI as google hangouts.
    Content:

    I  would to login  the oracle mobile hub chats using the hangout credentials.

    Dailog Flow  channel as google hangout

  • maja martinčič-kralj
    Using Oracle Digital assistant on Facebook Messenger2
    Topic posted October 8, 2019 by maja martinčič-kralj, tagged Facebook 
    Title:
    Using Oracle Digital assistant on Facebook Messenger
    Summary:
    Action buttons type postback not get any answer from Bot
    Content:

    Hay!

    We have tested our skills CBPizza bot with cards on facebook messenger. Cards are visible but vhen we select action button 'Order now' bot does not respond meanwhile when we write message 'Order now' it works ok. When we click button message is visible on facebook, but it is not send to Bot. The same thing happens in case of using list view buttons. Bot tester works just fine. Any suggestions? Thanks in advance for your help!

    Version:
    9.1.5