Hello, I’m experiencing an issue while using n8n integrated with Whaticket (SaaS).
I have created a flow where the user interacts via WhatsApp, and n8n responds step by step, based on the progress stored in the database. The flow works only for the first incoming message.
Expected behavior:
- The user sends a message through WhatsApp.
- The n8n webhook receives the message, checks the number in the database (
chat_etapas), and responds with the current question (e.g., “What is your name?”). - Once the user replies, n8n saves the data and proceeds to the next question (e.g., “What is your email?”) until the final step (such as generating an image).
Actual behavior:
- The flow works only when I manually execute the webhook (in test mode).
- When the webhook is active in production (listening mode), it only processes the first message and then stops, even if the user sends more messages.
- The flow does not continue unless I manually trigger the webhook again for each message.
Simple example:
This same behavior also occurs in very basic flows.
For example:
- I created a simple flow with only two nodes: Webhook + AI Agent (OpenAI Chat).
- The expected behavior was a simple back-and-forth conversation with the AI agent.
- However, n8n only responds to the first message and then stops. It does not continue the conversation.
What I need:
I want the webhook to work continuously, so that each new incoming message triggers the flow again and allows full conversation or step-by-step interaction without manual execution.
Technical context:
- I use PostgreSQL to store the current step per user in a table (
chat_etapas). - Messages are sent from Whaticket via Etchatch.
- The logic and step updates work correctly, but the webhook does not trigger again automatically after the first message.
