# Whatsapp cloud api multiple messages same trigger

**URL:** <https://community.n8n.io/t/whatsapp-cloud-api-multiple-messages-same-trigger/134177>\
**Category:** Questions\
**Created:** [June 17, 2025, 5:56pm UTC](https://community.n8n.io/t/whatsapp-cloud-api-multiple-messages-same-trigger/134177 "2025-06-17T17:56:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmet\_furkan\_Laz](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ahmet_furkan_laz/32/91448_2.png) [@Ahmet\_furkan\_Laz](https://community.n8n.io/u/Ahmet_furkan_Laz)\
**Post date:** [June 17, 2025, 5:56pm UTC](https://community.n8n.io/t/whatsapp-cloud-api-multiple-messages-same-trigger/134177/1 "2025-06-17T17:56:33Z")

</div>

Hi everyone,

I’m working on an n8n workflow that receives messages from WhatsApp (using the official WhatsApp Cloud API + n8n WhatsApp Trigger).

I want to **combine multiple short user messages** into a single input before sending them to GPT or another processor.

### My goal:

- When a user sends a message, I want to **wait 8 seconds** to see if any more messages are coming.
- If additional messages come within that window, I want to **append them** to the previous ones.
- Once there’s **an 8-second pause** , I consider the input complete and then send the combined message to the AI.

### The problem:

- WhatsApp sends each message **as a separate webhook call** , so each message starts a new execution in n8n.
- I’m trying to **store the messages temporarily (using Simple Memory)** and track the `last_message_time`.
- But since each execution is isolated, I can’t easily set up a delay inside the same flow that checks for future messages.
- I tried using `Wait` + `IF` nodes with timestamp comparison, but it doesn’t feel reliable because **the workflow finishes before new messages arrive**.

### What I’m looking for:

- Has anyone successfully built a “ **delayed input merge** ” system in n8n?
- Is there a way to **delay response until user input is silent for X seconds** , across multiple executions?
- Or should I use an external system (e.g. Redis, database + cron job) to collect and check messages before triggering GPT?

Any design patterns or ideas are welcome 🙏  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Pedro\_Henrique\_Carva](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/pedro_henrique_carva/32/87301_2.png) [@Pedro\_Henrique\_Carva](https://community.n8n.io/u/Pedro_Henrique_Carva)\
**Post date:** [July 6, 2025, 5:17pm UTC](https://community.n8n.io/t/whatsapp-cloud-api-multiple-messages-same-trigger/134177/2 "2025-07-06T17:17:55Z")

</div>

Hello! I’m at the same place while trying to create my own Whatsapp bot. My possible solution at the moment would be to create an OpenAI module, pass the threadID and prompt it to decide if it should answer or wait a little for more context before answering the client.

That’s the only possible solution I got so far. Let me know if you find something better!

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [October 4, 2025, 5:18pm UTC](https://community.n8n.io/t/whatsapp-cloud-api-multiple-messages-same-trigger/134177/3 "2025-10-04T17:18:02Z")

</div>

Closed on October 4, 2025, 5:18pm UTC

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