How to connect NAIZ with Chatfuel

NAIZ (naiz.chat)
naiz.chat
Published in
2 min readJul 15, 2018

--

If you have a chatbot created in Chatfuel, follow these steps to connect it with NAIZ (naiz.chat). After that, your chatbot will understand smalltalk and will answer based on its emotions and the personality you customized at the platform.

Interested? Lets start!👇

1️⃣ First step

Choose the “Default answer” and add a USER INPUT Block

You need to configure Chatfuel to send a request to NAIZ when your chatbot receives a free-typed message written by your users. Go to the block called “Default answer” and configure it as follows.

Edit the “Default answer” block, add a “User input” block

Add a “User input block”. The User input will save the user answer to attribute {{user_message}}, and this will send it to the next block (second step).

NOTE: No AI Rules in Chatfuel must be defined for user intents that NAIZ understands. For example, don’t define rules for smalltalk as hello, thanks, etc.

2️⃣ Second step

Add a JSON API block

Add a “JSON API” Block

Add a JSON API block, selecting TYPE GET, with those REQUIRED user attributes: {{user_message}}, {{chatfuel user id }}, {{first name}}.

You can add more attributes if you want to provide more information that NAIZ will use in the conversation with your user.

3️⃣ Third step

Add your URL to the JSON API block

If you follow these instructions in our app (https://app.naiz.chat), in Connections / Chatfuel (Third step) a URL is shown.

Copy the URL and paste it on Chatfuel

The URL is an alphanumeric string similar to this:

https://api.naiz.chat/pro/chatfuel?chatbotID=<chatbotID>

Copy this URL and paste exactly this generated URL into the JSON API URL field on Chatfuel. This URL is exclusive for your NAIZ chatbot!

Now NAIZ manages the conversation between your users and your bot with personality, and test it on Facebook Messenger!

Need help? 😖

For troubleshooting, contact us at support@naiz.chat.

--

--

NAIZ (naiz.chat)
naiz.chat

Emotional intelligence and personality for chatbots #naizchat