Create a Twitter keyword bot

Nulab’s products often make their way onto Twitter through prospective and existing customer tweets all the time. It’s important to us that we listen to feedback from our customers no matter where it comes from, but tweets can be hard to keep track of. That’s why we created a Typetalk bot that notifies us any time a person tweets using one of our product names, like Typetalk.

You can track important keywords on Twitter, too. All you need is the help of a little web service called IFTTT that helps you define “IF” and “THEN” directions. Just follow these steps.

How to create a Twitter keyword bot for Typetalk

Create your bot

First, create a bot using the Topic Settings of your designated Typetalk Topic. Make sure to check the “” option for the API Scope, so your bot can post messages.

This is all you need to do to create a bot.

Set up your IFTTT formula

Next, we need to set up a formula in IFTTT that tells our bot what to do.

If you don’t have an account, you can set one up for free.

Once you’ve created an account and logged in, select “New Applet” from the upper-right-hand menu.

Next, click “this” to search their database of applications.

Search for Twitter, and select it.

Select “New tweet from search”.

For our bot, we wanted notifications for all of our products, so we used the following search operator: “Backlog OR Cacoo OR Typetalk exclude:retweets”. Use any of the advanced search operators used by Twitter. When you’ve finished, click ”Create trigger”.

Next, click “that.”

Enter ”webhook,” and select it.

Select “Make a web request”.

Enter the following, and click “Create action”.

  • URL: “Get or post messages URL” in your Typetalk bot settings
  • Method: POST
  • Content Type: application/x-www-form/urlencoded
  • Body: message= {{LinkToTweet}}&typetalkToken="Typetalk Token" in your Typetalk bot settings

We’re creating an IF/THEN formula using IFTTT. In this case, we’re saying “IF someone tweets about Typetalk, Backlog or Cacoo, THEN post a message to this Typetalk Topic.” Your IF keywords may be different, but you should use the same THEN.

Finally, click “Finish”.

Test your bot

Send out a test tweet with your keyword(s) to ensure that your bot is working. You should receive a Typetalk notification in your designated Typetalk Topic shortly thereafter.

Never miss an important tweet again! Plus, stay in-the-loop on important social media conversations without ever having to leave your favorite chat app.

-1 people think that it is helpful. Was this helpful for you?

Have a question we didn't answer?

Contact support