I want to create a chat bot for my tech trends corner blog site

I want to create a chatbot for my tech trends corner blog site. I only know about intents as I am new to the whole bot building process. I want a chatbot that can interact with the visitor or user, suggest some of the articles I’ve posted or receive topics from the user to search if there are articles on such topics, and also engage the user in fun conversations revolving around the content of my blog site.

  • Create an intent for suggesting articles: This intent should be triggered when the user asks for suggestions for articles related to a particular topic. You can set up the intent to respond with a list of articles that match the user’s query, along with links to those articles.

  • Create an intent for searching for topics: This intent should be triggered when the user asks the chatbot to search for articles on a particular topic. You can set up the intent to search your blog for articles related to the user’s query, and respond with links to those articles.

  • Create an intent for fun conversations: This intent should be triggered when the user wants to engage in fun conversations with the chatbot. You can set up the intent to respond with random jokes or trivia related to your blog’s content.

1 Like

Hi @tonysack13 ,

That sounds like a fantastic bot. If you are asking if this is possible using Botpress, yes of course.
Does your tech corner have APIs? Do you know what site is hosting it?

I don’t think I’ve included any APIs, it’s hosted by GOOGLE BLOGGER (techtrendscorner.blogspot.com)

I don’t think I’ve included any APIs. My site is hosted by GOOGLE BLOGGER (techtrendscorner.blogspot.com)

Hi @tonysack13 ,

Yes, blogspot has APIs, so the steps would be:

  1. Determine what the user is looking for in terms of categories
  2. Determine what the user is looking for in terms of words/interests
  3. Call the blogspot APIs, get back the information then show it.

I am totally new to bot building, how do i go about these steps?

Okay, let’s start with the hard part, calling the APIs:
Step 1: Create a workflow variable (type: Object)

Step 2: Select Execute Code Card and use the below code to send an API Request.

try {
const response = await axios.get(‘https://www.boredapi.com/api/activity’)
workflow.response= response.data
}
catch (error) { console.error(error) }

Step 3: Add a text card with workflow.variable.parameter after the sample API request card.

1 Like

I have found this documentation too, I hope it help you: API do Blogger: como usar a API  |  Google Developers

Thank you so much Bassam

I will try and do a follow up on the link you sent. I hope it’s easy to understand though.

Once again, thank you for your assistance.

1 Like

@tonysack13 am really happy that I can help :tada:
I will wait for your message whether it worked or not :slight_smile:

I’m slightly occupied at the moment so I might not try it immediately, Bassam

Hello Bassam,

I’m seriously trying to get approved by Google adsense for my blog site (techtrendscorner), nothing I’m doing seems to be working, I have been rejected for the 4th time now :joy::joy::joy:
So I might not be able to try out the bot just yet.

I am sure you did your googling, but I found this: What to do if Your AdSense Application is Rejected - A Guide.

Hope it helps!

1 Like

Oh yes Bassam, I have done a lot of Google research and “YouTubing” on this. Well, I think I don’t have enough traffic, because I have read the adsense policies quite a number of times to see if I voilate anything but I don’t really violate anything other than the fact that I don’t make the images myself (I get them from online, mostly Google images).

So I think my main issue is the low traffic.

Thanks for the link though, the article was great Bassam, quite helpful