Chatbot interaction summary

I need to Generate a summary of each interaction when the conversation ends on a google sheet.

Summary: Date and time, input/output, interaction summary, specific requirement.

I have defined the following flow:

1 ) “When chat message received”: acts as the trigger that receives the message from the user.

  1. “AI Agent”: It looks like the main node that manages the interaction with the AI.
    • OpenAI Chat Model": It is probably the connection with an OpenAI language model to generate responses.
  • Window Buffer Memory": It is in charge of managing the chat memory, which helps to maintain the context of the conversation.

  • Multiple Google Sheets: Several Google Sheets nodes are configured to read information. It seems that the bot accesses data from different spreadsheets.

Which nodes should I add?

You can achieve it with Chat Memory manager node And a second AI node to generate the summary:

Just make sure you point to the previous nodes by their full names and don’t rely on the default values because adding the memory node between the chat and agent will break them.

Here is a working example

3 Likes

Thanks a lot!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.