Skip to content

Extend waiting time in Wait for Trigger and Time Delay

The Wait for Trigger and Time Delay elements control how long users stay in a paused state within a Journey. Using the extend_wait parameter, you can extend this waiting period dynamically by sending an event to Pushwoosh.

Example

Suppose a user has entered a Wait for Trigger or Time Delay step in your journey, where the initial waiting time is set to 1 hour. If you want the user to wait longer (for example, an extra 30 minutes) you can extend the wait time dynamically by sending an event to Pushwoosh with the extend_wait parameter.

After this extension, the user will remain in the step for a total of 1 hour + 30 minutes (1.5 hours) instead of just the original 1 hour.

How to configure

Anchor link to

Turn on the extension in Time Delay

Anchor link to

A Time Delay step can be extended only when its Allow extending the wait by an event toggle is on. The toggle is off by default, including in Time Delay steps added before the toggle appeared, so events with extend_wait do not affect a Time Delay step until you turn it on. If your existing journeys rely on extend_wait, turn the toggle on in their Time Delay steps. The toggle applies to users who enter the step after you save the journey.

Wait for Trigger steps need no setting because they always accept the extension.

Send the extension event

Anchor link to

To extend the waiting time, send an event to Pushwoosh using the /postEvent method and include the required attributes described below.

Required attributes
Anchor link to

You must include these attributes in your request for the waiting time extension to work:

Parameter
TypeDescription
extend_waitintegerNumber of seconds to extend the waiting period (e.g., 1800 = 30 minutes).
journey_idsarrayList of Journey IDs where the extension should be applied.
{
"eventName": "YOUR_EVENT_NAME",
"userId": "USER_ID_IF_EXISTS",
"hwid": "HWID",
"attributes": {
"extend_wait": 1800,
"journey_ids": ["JOURNEY_ID"]
}
}