Qlik Community

Ask a Question

Qlik Design Blog

All about product and Qlik solutions: scripting, data modeling, visual design, extensions, best practices, etc.

Yianni_Ververis
Employee
Employee

Qlik_BOT_Headers_Skype.jpg

Last month I talked about our new QlikBotNode, setting it up and getting it ready for Telegram Qlik Sense Bot with Node.js and Enigma.js.

Today, I will talk about the steps needed to make your bot available for Microsoft Skype as well!

Assuming that you have already forked the code from GitHub - qlik-bots/QlikBotNode: QlikBotNode is a server build in Node.js, Express.js, Enigma.js and ...and you have already went through the previous tutorial and set up the Telegram bot.


Installation


  • First you need to "Register a Bot with Bot Service". Login to the Azure Portal http://portal.azure.com/
  • Click the New button found on the upper left-hand corner of the Azure portal, then select AI + Cognitive Services > Bot Channels Registration.
  • Click the Create button to start the creation process.

registration-create-bot-service-blade.png

  • Enter a Bot Name as you want to appear in your contact list
  • You can use the free Pricing Tier for testing
  • For the Messaging Point add you full route like https://{your-server}/api/sense-bot/microsoft/
  • You can skip the Application Insight for now
  • Once registered, go to settings and get the AppId and the Password. You will need to add them in your environmental variables

registration-settings-manage-link.png

  • Click on Manage to get the password

registration-generate-app-password.png

  • Put the AppId and Password in your Environmental variables.
  • For Windows, go to "Control Panel" -> "System" -> "Advanced System Settings" -> "Environment Variables"
  • - For Linux, from your directory (~), type "nano .bash_profile" or "vim .bash_profile" and enter the variables there like
  • export SKYPE_BOT_ID_SCV=''
    • export SKYPE_BOT_PASSWORD_SVC=''
  • While still in settings, go to "channel" and add skype.


Thats it!


For more Details on Register a bot with Bot Service (https://docs.microsoft.com/en-us/bot-framework/bot-service-quickstart-registration)


Usage


  • Type help for all of the available commands.

chat-help.png

  • Click on Salesforce to get the available commands for the Salesforce App and then click on the Dashboard to get a list of KPIs

chat-salesforce.png

  • Click on CIO Dashboard and then on Management

chat-cio.png

  • - If you want to change your language click on Language and select one of the available ones. So far we have only 3, English, Spanish and Greek but please feel free to add as many more as you want

chat-language.png

That's it!

Make sure you follow:

Best,

Yianni

28 Comments
zebhashmi
Specialist
Specialist

I have no idea what the Bot is.

0 Likes
3,232 Views
jagan
MVP
MVP

Hi Yianni,

Is this works for Skype for Business?

0 Likes
3,232 Views
Yianni_Ververis
Employee
Employee

zebhashmi‌ try googling bot and chatbot. There are a lot of sites that explain it

Best,

Yianni

0 Likes
3,232 Views
Yianni_Ververis
Employee
Employee

jagan

yes. I will have the installation document ready this week or the next

Best,

Yianni

0 Likes
3,232 Views
shyamvarda2017
Contributor II
Contributor II

Hi Yainni,

I am learning Qlik Sense. Is it possible you share step by step document to connect skype bot with qlik sense?

Regards,

Shyam

0 Likes
3,232 Views
saranrajk
Contributor II
Contributor II

hi,

how to communicate Qlik from the bot that is hosted on azure,

what the things we need to do to for that.

Regards,

saranraj

0 Likes
3,232 Views
Yianni_Ververis
Employee
Employee

Hello saranrajk‌,

The process is the same. Install and then run the server. Once you have the routes and the dns ready and you can access it from a browser, add the url in the Messaging Endpoint

Yianni

0 Likes
2,880 Views
Yianni_Ververis
Employee
Employee

Microsoft finally published QlikBotNode.

You can search for it...

search-bot.png

0 Likes
2,880 Views
ChristopheG
Contributor II
Contributor II

I have setup the skype bot but when I try to run the qlikbotnode with gulp it give an error about telegram token not found, should I use another command to start the program for skype?

Thanks

0 Likes
2,880 Views
vikraant
Creator
Creator

Hi Yianni,

What should I name the environment variables for Skype for windows ?  Should it be named the same as that for Linux, ie,

SKYPE_BOT_ID_SCV

&

SKYPE_BOT_PASSWORD_SVC

0 Likes
2,880 Views