Wait block (WhatsApp only)

Jonathan Goodfellow Updated by Jonathan Goodfellow

The Wait block pauses your WhatsApp agent's flow for a set time, from 15 minutes to 24 hours, and then carries on. When the time is up, the conversation follows the block's green output. When the contact writes during the wait, the conversation follows the red output instead.

The Wait block is available for WhatsApp agents only.

How to set up the Wait block

To set up the Wait block, add it to your WhatsApp agent's flow where the agent should pause, choose how long to wait in Wait for, and connect both of its outputs.

Wait block panel with Wait for set to 15 minutes, next to a flow where the green output asks if the books arrived and the red output thanks the customer for their message.

The Wait panel has one setting and the block has two outputs:

● Wait for: how long the agent waits before carrying on: 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, 12 hours or 24 hours.

● Green output: the path the conversation follows when the time is up.

● Red output: the path the conversation follows when the contact writes during the wait.

How does the Wait block work in a real flow?

The Wait block is useful for following up with a contact later in the same WhatsApp conversation, without them having to come back and write first.

In this example, an online bookshop, Page & Pine, uses a WhatsApp agent to confirm orders. The agent says "Thanks for your Page & Pine order. Your books are on their way and should arrive tomorrow", the customer taps Great, thanks!, and a Wait block set to 24 hours follows. The Page & Pine conversation then goes one of two ways:

● The 24 hours pass: the green output runs, and the agent asks "Did your books arrive safely? πŸ“¦" with the buttons Yes, all good and Something's wrong.

● The customer writes during the 24 hours: the red output runs straight away, and the agent replies "Thanks for your message! A bookseller from Page & Pine will reply here shortly."

How to restart a WhatsApp conversation with a message template

To restart a WhatsApp conversation after a wait, connect the Wait block's green output to a Send a Message Template block. When the time is up, the agent sends the message template to the contact, inviting them back into the conversation.

In the Page & Pine example, the green output leads to a Send a Message Template block instead of a regular message. The Page & Pine conversation then goes one of two ways:

● The 24 hours pass: the green output runs, and the agent sends the message template to the customer.

● The customer writes during the 24 hours: the red output runs straight away, and the agent replies "Thanks for your message! A bookseller from Page & Pine will reply here shortly."

Flow where the Wait block's green output leads to a Send a Message Template block and its red output leads to a message thanking the customer.

In the Send a Message Template panel, choose the WhatsApp Business number first, and then the message template to send.

What happens when the time is up?

When the time set in Wait for is up, the Wait block sends the conversation down its green output and the agent carries on with the next block. The contact doesn't need to do anything: the agent's next message arrives in their WhatsApp chat on its own.

What interrupts the Wait block?

The Wait block is interrupted when someone writes in the conversation before the time is up:

● The contact writes: the red output runs straight away, and the agent carries on down the red path.

● A team member writes from the Inbox: the team member takes over the chat, so the wait stops and neither the green nor the red output runs. The conversation stays with the team member, as with the Human takeover block.

Connect both outputs of the Wait block. With nothing connected to the green output, the agent says nothing more once the time is up; with nothing connected to the red output, a contact who writes during the wait gets no answer.

Was this article helpful?

Collect Intent block

Send a WhatsApp Message Template from the Builder