AcademyWorkflowsCustomer support

Chat Assistant with Postgres Memory and API Calling

Sales and support teams that want a WhatsApp assistant that remembers the conversation and can call their own APIs.

  • Recommendedour rating
  • 5,485views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

chat-assistant-openai-assistant-with-postgres-memory-and-api-calling-capabalitie.json

Loading the file...

What it does

An n8n workflow for a chatbot built on an OpenAI assistant, connected to a WhatsApp Business backend. It receives customer messages, adds any customer data sent along with them to the prompt, and replies. Conversation context is stored in Postgres, and the assistant can call external APIs through an HTTP tool.

Use cases

  1. 01Answer customer questions on WhatsApp Business
  2. 02Keep context across a customer's conversation sessions
  3. 03Call a backend API to look up or update customer data

Connects

OpenAI · Postgres Chat Memory · HTTP Request Tool

Questions about
Chat Assistant with Postgres Memory and API Calling.

What is Chat Assistant with Postgres Memory and API Calling used for?

Sales and support teams that want a WhatsApp assistant that remembers the conversation and can call their own APIs. An n8n workflow for a chatbot built on an OpenAI assistant, connected to a WhatsApp Business backend. It receives customer messages, adds any customer data sent along with them to the prompt, and replies. Conversation context is stored in Postgres, and the assistant can call external APIs through an HTTP tool.

How do I import Chat Assistant with Postgres Memory and API Calling into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Chat Assistant with Postgres Memory and API Calling safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.