Adding a Delay to a Workflow

If your process requires a specific delay in a sequence, for example, your database requires a particular period of time between queries or you wish to simulate a user making a decision for a date always in the future of when the call was made. Then you can use the following API as a part of the workflow:

http://google.api.expert/delay/(delay in seconds)

The syntax for a 2-second delay is:

http://google.api.expert/delay/2

📘

The delay API supports a maximum delay of 10 seconds per call.


If you need a longer delay, you can chain multiple delay APIs in your workflow. For example, to achieve a 15-second delay, combine a 10-second delay API with a 5-second delay API:

http://google.api.expert/delay/10
http://google.api.expert/delay/5