Conversational AI: Line App Available in Azure Bot New Channel List
Introduction
The Bot Application runs inside an application in different channel like Cortana, Skype, web chat, Facebook, Message, etc. Users can interact with bots by sending them messages, commands, and inline requests. Microsoft has announced Line App new channel added into the Azure portal.
Microsoft has announced listened to Bot developer community and addressed one of the most frequently requested features Line app available in Azure bot new channel List.
https://lh4.googleusercontent.com/AZ2kUcX_0U1n3NfZ8uVMJ3qzlDizW4l8HrRoEfNxOrYqvSqEFTlDbm_8Ot9DKenozj7MRisvX8iyIPCPGhPrjqh8_FDHB48gkCC1h4IM-feSU1SbLbeu43-N-od2BN8-tpoyX_o787gvT-cIGQ
LINE is a new communication app which allows you to make FREE voice calls and send FREE messages whenever and wherever you are. Line is available in different device iPhone, Android, Windows Phone, BlackBerry, and Nokia and even your PC and LINE is a popular messaging app with hundreds of millions of users in India, Japan, Taiwan, Thailand, Indonesia, and other countries. You can follow the below steps for Create FAQ Bot and enable your bot in the Line new channel
Create FAQ Bot Application
You can refer to my previews wiki to create and build a Xamarin FAQ Bot using Azure Bot Service and deploy it into Azure. I am not using any coding for developing the Bot Application, you can follow the provided steps in the article to create and deploy FAQ Bot.
https://lh6.googleusercontent.com/QGS6UtCVNtVljgE6iNpiJwJTp9Eir9qGLdhLJV1BhSH9ruRyG6_yOBbOVTt4-n1Gc6IjdMePIjWMtXtrkjX8CDFcd4uBKN5S5b1fDtWMXXtjmGmUeq05FriQV0yaCSnkx20_3s0MD1QPmKbHDw
Line Developer Portal
We can implement a Bot Application to the Line apps. You can create a Line developer account or select an existing provider name. Create a new Line Developer App on the Page and generate a Channel Secret and Channel access token for integrating the Bot to the Line app. You can start login or create an account in the following screen.
https://lh3.googleusercontent.com/oFZrueqblx6ckA20dUP3UYpsMq0c9Ubdwtt3ufJ183veqb_LAckK4P6ORBvMylpjMjL3Wr69F0itiWUF_bVDCW5so3tydkGTFoSFfvR7LfypOHco5LN5GDRAQPu0XeDjktiQ0Rlp3onMg1noGg
Create Line Provider
After login, start creating a provider name of your Bot or if you already have the provider, select the provider name and do the setup. The provider name is individual owner or company, it’s not app name. Next Click on confirm, if you want change in the future, edit options always enable.
https://lh3.googleusercontent.com/3NIFINHtQwBqCw6yv_2hRfTVSU_u6V9H6ZuGbUO2MkX4iMHOIf7YcuDLJ7SBOrTY3q2pNyuMMr8mnAmuZZEq-aeOL0bIwIfuizGg5aa5lz7bg2YUbeBLjS6IxQXY5LqAaGucf22SbMpvx579Ww
Line Messaging API channel
Create a new Line App on the developer portal and generate a Channel Secret and Channel access token integrating the Bot to the page messenger. You can click on “Message API Create Channel” from the following screen.
https://lh5.googleusercontent.com/gHA9viEJJnHHF0ERrGeI35zRh9Y6YSbfkugz41a9tsXAF9P1aVaiYbIhZWlGdqycPftnqCPBhrfRsA4qi0l0KIhGW_ViQTmM_TRVrg51UYY5M4uX9S1p8vKNNLRKMihfk018u1apJkoUnedFEw
Create New Channel
The following screen creates new channel screen and provide valid your app icon.:
https://lh4.googleusercontent.com/nm-c7R2je-WG1l38hDLUA_PkveMdOPbjLvdQELaI4tTJxqDMAfYb0VCN1CvxDVWER5ElvwvQ-V3XZUsEE-KokCDEBCS0CXxUAmCG3YuWnLWPnIaCLtjS2w5yMZvisJvru0Jl0wN_tefsR3Zaog
You can Fill out the required fields and confirm your channel settings. You can find the two developer options is available.
- Developer trial - A trial plan which lets you create a bot that can send push messages and have up to 50 friends.
- Free - A plan which lets you create a bot with an unlimited number of friends. Push message cannot be sent with this plan.
https://lh6.googleusercontent.com/zEKhNqLaSxlHa9GGfwMjv19LcfXeDug0YiaxJqvwV25kP5OELjnZ6bMgdOYuVoLHhcGQMzLxwopyPsBsriIjphGDUuFf-dgDQuvQEvn_OnSWy1xHt-0J1tpKsn_ERVK7zn8ahUF0rtykfYAm-w
Once you've confirmed your channel settings, you'll be navigating to a following screen, which list all the apps.
https://lh5.googleusercontent.com/2alYdLqnXcUloh63CgO1AHItmx1seua_D44Z4GwfCvQPcGq5K-Q9a3ofrTNF9ZERU3Aeu_yrO2Z2NsXZCrxTO9-5gxMy67-x_P2-TiRWW76iU7x5Nbc6w_TCV2j-3DZ1R7NBAuFRtVtv9L_rXw
Click on the channel you created to access your channel settings, and scroll down to find the Basic information > Channel secret. You can Save following somewhere for a moment for update in to Azure portal.
- Channel Secret – Copy the secret code, if not available, click on Issue
- Channel access Token - Scroll farther to Messaging settings. There, you will see a Channel access token field, with a click on issue button for get your access token.
- Webhook URL - Webhook URL copy from Azure Portal and Update in the Line app developer portal .
Connect New LINE Channel
Login to Azure portal > Select the “All Resources” > Select your Bot Application > Select Channels property > Find and Select New Line icon. Let us start to configure the “Line “Channel and follow the below steps, at the end of this article you will be able to deploy the Bot into the Line apps.
https://lh5.googleusercontent.com/X5txT05ChnQQM3J9wOEBm9_T3qfOPIfphxSPWMvJJTyNZhzW_hU4-V1iszYQToEanm7BsiVcnp0PtoPaa7Ij02uTD7QVMoLAC7Kxprihd2juiQb4sMaCFhve0nQmGe2nzLVZ4seghSJeCtT7ng
The Azure Line configuration channel will generate the following Webhook URL and past/update the channel secret and access token and click Save button. You can copy following custom webhook URL and Return to the Line Developer portal and update the webhook URL
https://lh5.googleusercontent.com/Dqjd5qH8wGRj-KODLcRseYRz0oI5Zv3OuuifLsvZGdm5Du2YrBkIh4syGU4E3YEulTtnZnTDQhl_lqWpOUDZOBBCYQc9R8e5OPtzQNLADlCUvL9-3XmjBVofJE07D-iRdzE-Qyb2CuQ1VzlPug
Test Your Bot
Once you have completed all the above steps, your bot will be successfully configured to communicate with users on LINE and is ready to test.
- LINE developer console - Navigate to the settings page and you will see a QR code of your bot.
- Mobile LINE app - go to the right most navigation tab with three dots [...] and tap on the QR code icon.
Live Demo
Xamarin Developer Interview questions and answers Bot is ready to use in Line app. Xamarin FAQ Bot will be ready with 7000+ more Xamarin QnA’s. Now you can start open your Line App and > click on three dot line > Scan the following QR Code to add Xamarin QA bot as a friend.
https://lh6.googleusercontent.com/aKqkR8-UExSF3JwuJk3SVp1BgDCtwmeqCwMca0Su_KzYMLFRwu4Texi1NqnjSEfeVwDMZC-DyHAC8eaEY8zhvb9NOGb26VHCr5dBxfevLpm_g5FtrbXSRyhljGbTxMVZk6caxd6Uha_3AtpBXg
Summary
In this wiki, you have learned how to integrate a bot application into Line App via Azure Microsoft AI. In case your bot is not responding to any of your messages at all, navigate to your bot in Azure portal, and choose Test in Web Chat. If you have any questions/ feedback/ issues, please write in the comment box.
Test Your Bot
Test Your Bot
Test Your Bot