How To Make A Chat Bot For Your Site Or Business

Compare Cost: Get 8 Free E-Commerce Design Bids
Service:
Location:
Budget:
Deadline:
Compare: Web Design Calculator | Web Design Cost Guidelines

Are you an E-Commerce Web Designer? Add a Free Listing

One of the great things about owning a website and being an online writer is the opportunity to connect with so many people across the world.

Unfortunately, there is one difficulty with connecting with so many people across the world – time zones. You may want to be available to interact with your readership or to do business with potential clients, but at some point, you have to sleep.

Enter the chat bot. A chat bot can serve as your front desk digital secretary when you aren’t available to accept IM requests. The intelligence of this digital “secretary” really only comes down to how well you’re able to program the dialogue into your chat bot.

MUO has previously covered ChitterIM, which is essentially a chat bot that accepts IM commands from you in order to interact with Twitter. This is just one example of how a chat bot can automatically perform tasks for your site or your business, but in this article I’m going to show you the basic steps to establish your own chat bot for your own site or business.

Creating Your Own Chat Bot

By far, the best available tool for doing this is IMified. We’ve briefly covered IMified in the directory, and Mark covered how to use the prebuilt IMified bot to use a whole list of premade applications that the folks at IMified already offer.

However, you can also create your own customized chat bot by signing up for a new account, and then clicking on the “Create a New Bot” button on the right menu.

Setting up your own customized chat bot is as simple as creating an ID for your bot, and defining the URL where your bot’s chat code will reside. In my case, I’m storing the PHP code for the bot programming on my own website, so I’ve provided the path to that PHP file.

When you’re done, you’ll receive a long “Bot Key” that you can use when you get more deeply into integrating your bot into various services, such as programming your own Twitter features. However, for now we’re going to focus on creating that basic PHP file where you can program your bot to interact with your users.

To show how this basically works, I’m going to explain how the basic PHP file offered by IMified works. Here’s what the basic interaction code looks like.

 

If you step through this sample code you’ll see just how simple it is. The IMified bot lets you take the conversation through several “steps”, and you can force navigation. You can allow the user to type something and continue to the next step by doing nothing and just ending that section with “break;”. If you end your echo with a “”, it’ll reset the bot (and the conversation) back to the start. Your bot will forget everything that was recently said.

IMified also lets you use a “goto” command to go to a specific step in the conversation, and will force the conversation one step back (I’ll show you how this works below).

But first, here’s what the bot conversation will look like. The bot is called “tswdesk”.

Of course, you’re going to want your chat bot to be a little more intelligent (and interesting) than this simple example. However, since you are controlling the conversation using PHP code, just think of the possibilities. Based on the conversation, you could perform different services for your readers or your clients. Send out an email, log “feedback” test to a file, or provide the user with requested information. The possibilities are really unlimited.

Here’s a sample PHP bot code where you can provide the visitor with the option to select from a menu of “services” that your bot offers.

 

Now that there’s a bit more logic and information in the background code, you can see how much more intelligent the bot will appear to users, as shown in the conversation below.

Now, carrying out some of these tasks may be as simple as writing to a logfile or sending out an email to the editor using PHP, but if you want to have your bot serve you by accepting Twitter commands or issuing alerts to all chat “friends”, it will require using some of the IMified APIs. That’s outside the scope of this article, but we’ll get to those cool features in an upcoming article.

Have you ever used IMified to customize your own bot, or have you used any other similar service? Share your chat bot experiences and insights in the comments section below.

Image Credit: Shutterstock


Source http://www.makeuseof.com/?p=98011
Thu, 02 Feb 2012 18:01:39 GMT
Tags: chat, chat bots, chat tips, How-To Articles, web design, webmaster tools,
Valdosta E-Commerce | Ankeny E-Commerce | Guthrie E-Commerce | Des Plaines E-Commerce | Winston E-Commerce | Oviedo E-Commerce | Clearwater E-Commerce | Jupiter E-Commerce | Issaquah E-Commerce | Auburn Hills E-Commerce |

chat


5 Apps That Let You Video Chat On Facebook

Like a lot of us, Facebook is how I keep in touch with the majority of my friends nowadays. It’s just easier to find everyone there by their actual names than by trying to keep track of, and remember, a bunch of random screen names. Since I moved to

5 Sources For Special Symbols To Spice Up Your Online Chat & Messaging

We need symbols. We might have progressed through alphabets to cultured forms of languages, but the internet age has brought us right back to where we started off as cave dwellers. Complete or incomplete sentences are fine, but sometimes nothing expresses

Facebook Messenger Launches On iPhone & Android [News]

Facebook is trying to make sending messages an easier and more streamlined process if you are an iPhone or Android (2.2+) user by launching Facebook Messenger. Messenger allows you to send messages to any of your friends, whether they are a friend on Face

chat bots


chat tips


Chat From The Linux Command Line With CenterIM

Chat from the command line. Whether you use Google Talk, Windows Live Messenger, Yahoo Chat, AIM, Jabber or some combination of the above, CenterIM lets you talk with your buddies in your Linux terminal. We've previously highlighted a few instant messagi

3 Must-Have Skype Apps To Enhance Your Chat Experience

Skype is a free video and audio chat client that is available for many different platforms, including Windows, Mac, Linux, iOS, and Google Android. One reason Skype has been so successful is that besides high quality online audio and video chat, it offers


Need E-commerce Design? Check out our member profiles:

Paducah
Purchase Design Group,LLC Profile
Purchase Design Group,LLC

Whether for yourself, a small business, or a large corporation, we can design the web page that best meets your needs at a savings that more than exceeds your expectations.

Paducah, Kentucky US
Hemlock
DutyApps.com Profile
DutyApps.com

DutyApps.com has provided custom Website development services since 1997 and focuses exclusively on eCommerce and Inventory Management Systems (IMS) for people in need of freedom.

Hemlock, New York US
Meredith
unfed design Profile
unfed design

UNFED Design, an integrated marketing firm, provides exceptional graphic design, website design & development, and marketing solutions. We work with clients throughout the Northeast.

Meredith, New Hampshire US
Dhaka
New York
SiteStore123.com Profile
SiteStore123.com

A solution for event promotion, grand opening pages for retailers, eBay listings. We promote your business via the web!

New York, New York US
Issaquah
Gold Creek Group, LLC Profile
Gold Creek Group, LLC

* Design for print and web * Full service printing * Web development and hosting * Business branding, development, and marketing

Issaquah, Washington US
Stone Mountain
R Solutions Profile
R Solutions

R Solutions is experienced and well established and specializes in website design and e-commerce. Our website designers build fast, interactive, great looking, websites on budget!

Stone Mountain, Georgia US
Scottsbluff
Hale Multimedia LLC Profile
Hale Multimedia LLC

In Business as a full service website company since 1996. Our Easy-Update technology makes it very simple for our clients to update their own website. Call for a free review of your project today!

Scottsbluff, Nebraska US



Get Free Logo Design Quotes






50 High-Quality Free PSD Website Layouts

A PSD file always come handy when you work for a project Building a website layout in Photoshop is



5 Websites To Go Back In Time & Find Out What Happened This Day In History

The next best thing to a time machine is definitely the digital database which store gazillion bytes



4 Ways To Read & Understand An End User License Agreement (EULA) More Easily

EULAs or End User License Agreements are one of the evils of modern life These are endlessly word



Latest Hilarious Picks [MakeUseOf Geeky Fun]

Check out the top picks from MakeUseOf Geeky Fun during the last couple of days I wish you knew how



Cool Websites and Tools [December 23rd 2011]

Check out some of the latest MakeUseOf discoveries Most of the listed websites are FREE or come wit



Improve Your Site’s iPad Usability in 1 Simple Step

Tap is the gesture that replaces the click but unlike a pointer mouse that has pretty good accuracy



Facebook Connect for Ecommerce: Is It Right For Your Business?

If you re one of Facebook s 500 million users you ve likely encountered a Facebook Connect invitati




Design Leads

Article Tags
E-commerce Design Articles
Web Apps & Internet (374)
News (291)
Web Apps (129)
Inspiration (128)
Music (119)
iPhone / iPad / iPod (116)
cool web apps (108)
Google Android (101)
Mobile Tips (100)
Announcements (99)
deals (88)
Games & Gaming Tips (84)
Tech Deals (82)
Opinion & Polls (76)
Cool Software Apps (76)
Social Media (66)
iOS (66)
Browser Tips & Tricks (66)
iPhone Apps (59)
Freebies (58)
geeky fun (58)
Photography (58)
iphone (55)
Google (53)
troubleshoot (53)
android (52)
Photoshop (52)
Graphics (51)
facebook (50)
How-To Articles (50)

Friends:
E-Commerce Website Pricing
Web Design Quote
Website Design
Graphic Designers


E-commerce Design Valid HTML 4.0 Transitional Valid CSS!