Q: Hello Diana, I'm interested in creating chat automation, especially for websites that don't have an API like a webchat.

Is this possible?

Particularly I wanted to build a DYNAMIC automated conversation, not just predefined and static DMs.

I can easily build the conversation flow on DIALOGFLOW and GPT-3 and I have no problem with that. My only concern is getting the messages from the webchat as input to DIALOGFLOW.

Can you please direct me to any tutorial? I can't find any solution in your docs.

Mainly, I need to receive a new message from the chat and will respond based on that.

Thank you!

tankaiFeb 11, 2023
Founder Team
Diana_ZeroWork

Diana_ZeroWork

Jun 27, 2024

A: Hey there,

You can totally do that. šŸ™‚

Here is a tutorial how to integrate with open.ai: https://youtu.be/QvxZPBRn7N8. This way, you can get dynamic replies from open.ai.

Another option that is available to you is to let TaskBot use a different DM text depending on the keywords in the message that you need your TaskBot to reply to. This means you would use condition-based logic in your TaskBot workflow to let the TaskBot pull one of your pre-defined DM variations based on the keywords it finds in the message.

Let me know if you have any other questions!

Share
Helpful?
Log in to join the conversation
Posted: Feb 11, 2023

Thanks a lot for the prompt reply but this doesn't answer my query. As I have mentioned I'm pretty knowledgeable with APIs connecting to DIALOGFLOW and OPENAI.

My concern with Taskbot is how can I receive a new message from webchat and send it to OPENAI?

-Not a static DM
-Not static data tables
-Not a predefined list of input
-Not a static CSS selector

All I want is to get the input coming from webchat NOT just once but throughout the conversation.

Example:
webchat: Hi, how can I help you today?

(send this to openAI)
openAI: I'm good, thank you!

webchat: I can offer you the following services..

(send this to openAI)
openAI: Thank you! let me try this..

Hope that is clear. Probably you will answer CSS selector but NO it won't work. :)

If not supported just say NO and do not direct me to wrong tutorials which I've seen already. :)

Founder
Posted: Feb 12, 2023

If you can't get incoming message text by a CSS selector, you can set up a GET API call to get it. Which other way do you expect there to be? šŸ™‚ If you are thinking of image recognition, we don't support that.

Which webchat are you using? And can you explain why a CSS selector would not work? We have users who built TaskBots for Telegram webchat and they could use selectors to get the message text.