Keep every important chat detail in one place. An AI chat agent collects notes from live messages, stores long term memories in Google Docs, and can share summaries by email or Telegram. Great for support teams that need quick context and fast follow ups.
A chat message starts the flow. The agent uses a short term window to remember the last messages and calls tools to save or find long term memories. Saving writes a JSON entry with date and text into a Google Doc. Retrieval pulls content from the same doc. Two OpenAI models shape friendly summaries for each channel. One summary goes to Gmail, and another goes to Telegram. A router also lets other workflows trigger memory actions on demand.
Set up Google Docs, Gmail, Telegram, and OpenAI in n8n. Point the Google Docs nodes to the same document ID. Add your Telegram chat ID and your email address, or use environment variables. Expect faster replies, fewer missed details, and better handoffs. Use it to keep customer preferences, past issues, or promises made in chat, and send timely updates to your team or customer.