Passer au contenu

Extend waiting time in Wait for Trigger and Time Delay

Ce contenu n'est pas encore disponible dans votre langue.

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

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"]
}
}