Logging conversations with RedBot
Running a chat bot requires some caring, in particular you're never done training it.
A good habit is to inspect the chat bot log searching for user sentences that were not recognized by the bot and then update the parsers Listen node
, RiveScript node
, etc) in order to support it.

In RedBot every platform receiver can log the conversation to a file, it looks like
196520947 [Guido Bellomo] > Wed Oct 05 2016 12:08:45 GMT+0000 - /start
196520947 [Guido Bellomo] < Wed Oct 05 2016 12:08:45 GMT+0000 - Hi, this is GuidoneBot, here's what I can do for you:/help - you're already seeing this/where - tells where's Guido's house/cv - to get an updated CV (via email)/cam - pry into Guido's living room/message - send a high priority message to Guido/home - check if Guido is at home
196520947 [Guido Bellomo] > Wed Oct 05 2016 12:11:23 GMT+0000 - Come ti chiami?
196520947 [Guido Bellomo] > Wed Oct 05 2016 12:11:23 GMT+0000 - Sorry, I'm can only speak English
The first string is the chatId followed by the name (if available). Then the symbol >
means it's an inbound message (from user to the chatbot).
There is also the Log node
that produces a log string for every message that can be manipulated inside Node-RED (in case for example the log string should be sent to an external service).