• Latest
Build Chatbot and Activate in Flutter App in 10 Minutes

Build Chatbot and Activate in Flutter App in 10 Minutes

March 15, 2023
The Rise of MKBHD: Marques Brownlee's Journey to YouTube Stardom #shorts #marquesbrownlee #mkbhd

The Rise of MKBHD: Marques Brownlee's Journey to YouTube Stardom #shorts #marquesbrownlee #mkbhd

June 9, 2023
How to watch Tom Holland in The Crowded Room on Apple TV

How to watch Tom Holland in The Crowded Room on Apple TV

June 9, 2023
Sonic Superstars Offering Free “Modern” Amy Outfit To Newsletter Subscribers

Sonic Superstars Offering Free “Modern” Amy Outfit To Newsletter Subscribers

June 9, 2023
(For Southeast Asia) “FINAL FANTASY VII REBIRTH” New Trailer Revealed! – PlayStation.Blog

(For Southeast Asia) “FINAL FANTASY VII REBIRTH” New Trailer Revealed! – PlayStation.Blog

June 9, 2023
Sonic Superstars Includes “New Character” By OG Designer Naoto Ohshima

Sonic Superstars Includes “New Character” By OG Designer Naoto Ohshima

June 9, 2023
9to5Mac Happy Hour 423: iOS 16.4 beta 2, 2018 iPad Pro in hindsight, MLS Season Pass experience

9to5Mac Happy Hour 437: iOS 17, watchOS 10, 15-inch MacBook Air, and more WWDC impressions

June 9, 2023
Two Switch Games Will “No Longer Be Available” On The eShop

Two Switch Games Will “No Longer Be Available” On The eShop

June 9, 2023
Marvel Snap to Get Tournament Mode Aimed at High-Skilled Players

Marvel Snap to Get Tournament Mode Aimed at High-Skilled Players

June 9, 2023
FAKEFRIEND#attitude @adazionofficial @UncleDane @mkbhd @Officialblessingceo

FAKEFRIEND#attitude @adazionofficial @UncleDane @mkbhd @Officialblessingceo

June 9, 2023
Summer Game Fest: Baldur’s Gate 3 Will Feature Jason Isaacs’ Menacing Brand of Villainy

Summer Game Fest: Baldur’s Gate 3 Will Feature Jason Isaacs’ Menacing Brand of Villainy

June 9, 2023
Noob prank on @fizagamingofficial 😂 1vs4 clutch 💪 #freefire #shorts #viral #youtubeshorts

Noob prank on @fizagamingofficial 😂 1vs4 clutch 💪 #freefire #shorts #viral #youtubeshorts

June 9, 2023
1Password teases passkey support coming to its app with iOS 17

1Password teases passkey support coming to its app with iOS 17

June 9, 2023
Advertise with us
Friday, June 9, 2023
Bookmarks
  • Login
  • Register
GetUpdated
  • Game Updates
  • Mobile Gaming
  • Playstation News
  • Xbox News
  • Switch News
  • MMORPG
  • Game News
  • IGN
  • Retro Gaming
  • Tech News
  • Apple Updates
  • Jailbreak News
  • Mobile News
  • Software Development
  • Photography
  • Contact
No Result
View All Result
GetUpdated
No Result
View All Result
GetUpdated
No Result
View All Result
ADVERTISEMENT

Build Chatbot and Activate in Flutter App in 10 Minutes

March 15, 2023
in Software Development
Reading Time:4 mins read
0 0
0
Share on FacebookShare on WhatsAppShare on Twitter


Flutter is Google’s new open-source technology for creating native Android and iOS apps with a single codebase. Since it has ready-made and custom widgets, it’s easy to build the UI.

Follow These Steps To Create a Flutter Chatbot

Step 1: Setup an Account in Kommunicate

Login to your Kommunicate dashboard and navigate to the Bot Integration section.

Locate the Kompose section and click on Integrate Bot.

Now, set up your bot by providing the bot name, bot language, and human handoff setting, and finish the bot setup.

You can check your newly created bot in the below section:

  • Dashboard →Bot Integration → Manage Bots:

Step 2: Create Welcome Messages and Answers for Your Flutter Chatbot

Go to the ‘Kompose – Bot Builder’ section and select the bot you created.

First, set the welcome message for your chatbot. The welcome message is the first message that the chatbot sends to the user who initiates a chat.

  • Click the “Welcome Message” section in the “Enter Welcome message — Bot’s Message” box to provide the message your chatbot should be shown to the users when they open the chat and then save the welcome intent.

Once the welcome message creation is completed, the next step is to create answers for your chatbot.

The answers section is where you’ve to add all the user’s messages and the chatbot responses.

  • Go to the “Answer” section, click +Add, then give an ‘Intent name’

In the Configure user’s message section — you need to mention the phrases that you expect from the users that will trigger. 

Configure bot’s reply section — you need to mention the responses (Text or as Rich messages) the chatbot will deliver to the users for the particular user’s message. You can add any number of answers and follow-up responses for the chatbot.

Step 3: How To Activate the Chatbots

Once you create a bot, then you can set it as a default bot in the conversation routing rules section, as shown below.

  • Click on ⚙️Settings >> Conversation rules >> Routing rules for bots >> Then click on bot like below and select your bot
create flutter chatbot - conversation rules

Now, this bot will reply in all the conversations.

Step 4: Install Kompose Chatbot Into Flutter App

Kommunicate Flutter SDK allows you to add customizable live chat to your applications. It supports many hybrid platforms that are currently in the market. It provides a fast and expressive way to build native apps on both IOS and Android.

Prerequisites

Apps using Kommunicate can target Xcode 11 or later, and AndroidX is required.

Add Flutter SDK to your app

  1. Add the below dependency in your pubspec.yamlfile:
dependencies:
# other dependencies
kommunicate_flutter: ^1.1.6

flutter pub get

  1. Import kommunicate_flutter in your .dart file to use the methods from Kommunicate:
import 'package:kommunicate_flutter/kommunicate_flutter.dart';

For iOS, navigate to your App/iOS directory from the terminal and run the below command:1pod install

Note: Kommunicate iOS requires min iOS platform version 10 and uses dynamic frameworks. Make sure you have the below settings at the top of your iOS/Podfile:

platform :ios, '12.0' use_frameworks!

Get your Application ID

You can get the Application ID from the install section Kommunicate Dashboard.

  • Go to ⚙️Settings >> INSTALL >> Install >> Your App ID:

Launch Conversation

Kommunicate provides build conversation function to create and launch conversations directly, saving you the extra steps of authentication, creation, initialization, and launch. You can customize the process by building the conversation object according to your requirements.

To launch the conversation, you need to create a conversation object. This object is passed to the build conversation function and based on the parameters of the object, the conversation is created/launched.

Below is an example to launch a conversation.

dynamic conversationObject = {
'appId': '',// The APP_ID obtained from kommunicate dashboard.
};
KommunicateFlutterPlugin.buildConversation(conversationObject) .then((clientConversationId) { print("Conversation builder success : " + clientConversationId.toString()); }).catchError((error) { print("Conversation builder error : " + error.toString()); });

That’s all! Run the Flutter app and chat with the chatbot. 

You can easily integrate the Kompose chatbot into Flutter apps in a few simple steps.

In case you need more information, you can check out the Kommunicate documentation.

Kommunicate Sample application: Download the sample app from here, which includes ready-to-use Kommunicate Flutter SDK.

Go ahead and explore the Flutter integration with the Kompose chatbot.



Source link

ShareSendTweet
Previous Post

Amazing Fact about Elon Musk 😈|| #facts2023 #shorts #viral

Next Post

Lexus LFA (2010) – Forza Horizon 5

Related Posts

Breaking Down the Monolith – DZone

June 8, 2023
0
0
Breaking Down the Monolith – DZone
Software Development

This is an article from DZone's 2023 Containers Trend Report.For more: Read the Report Conventionally, software applications were developed using...

Read more

Superior Stream Processing – DZone

June 8, 2023
0
0
Superior Stream Processing – DZone
Software Development

In the era of data-driven decision-making, the Data Lakehouse paradigm has emerged as a promising solution, bringing together the best...

Read more
Next Post
Lexus LFA (2010) – Forza Horizon 5

Lexus LFA (2010) - Forza Horizon 5

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

© 2021 GetUpdated – MW.

  • About
  • Advertise
  • Privacy & Policy
  • Terms & Conditions
  • Contact

No Result
View All Result
  • Game Updates
  • Mobile Gaming
  • Playstation News
  • Xbox News
  • Switch News
  • MMORPG
  • Game News
  • IGN
  • Retro Gaming
  • Tech News
  • Apple Updates
  • Jailbreak News
  • Mobile News
  • Software Development
  • Photography
  • Contact

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?