Templates / Create a human-like Evolution API WhatsApp agent with Redis, PostgreSQL and Gemini

Create a human-like Evolution API WhatsApp agent with Redis, PostgreSQL and Gemini

Unknown

by John Alejandro SIlva ✓ · 4,058 views · created 2026-02-15 · Support Chatbot, AI RAG

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 92 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Redis, Google Gemini Chat Model, Postgres and Google Gemini and 1 more.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).

  1. Create Table chat_history (Postgres): run a query
  2. Open session (Evolution Api): evolution bot (integrations api)
  3. Read Messages (Evolution Api): read messages (chat api)
  4. Wait: pauses before continuing
  5. Global Variables (Edit Fields (Set)): sets 4 fields: number, wait_buffer, wait_conversation…
  6. Parallel Writing status (Execute Sub-workflow): calls another n8n workflow
  7. Writting... (Evolution Api): send presence (chat api)
  8. Message Type (Switch): routes items into 2 branches
  9. get_message (text) (Edit Fields (Set)): sets 1 field: message
  10. Push to Buffer (AlbumGroup) (Redis): push

…plus 75 more steps. See the full node list below.

Services it uses

RedisGoogle Gemini Chat ModelPostgresGoogle GeminiEvolution Api (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-evolution-api is verified or supports 3.0 (used in Descargar Media, Read Messages, Open session).

Nodes used (22)

From the author

🤖 Human-like Evolution API Agent with Redis & PostgreSQL This production-ready template builds a sophisticated AI Agent using Evolution API that mimics human interaction patterns. Unlike standard chatbots that reply instantly to every incoming message, this…

Excerpt from John Alejandro SIlva's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.