Delay (Wait)
Last updated
Last updated
Hi there! In this tutorial we are going to talk about Delay Connector.
In some cases, you may want to pause your workflow for a certain amount of time. To be specific, pausing the workflow means pausing the execution to continue from step to another step.
This can be done easily with Easyflow. The delay connectors allow you to choose the waiting Period and the type such Minutes, hours, days, weeks and months.
In this video, we are going to demonstrate a scenario of inserting records into google sheets:
In the first case, the record will be inserted instantly without any delay.
In the second case, the record will be inserted after a 1 min delay.
Letโs see how it works:
First step is to connect to google sheets and configure the โAdd a Recordโ operation. We are going to insert the record instantly into the delay spreadsheet.
As we are looking to use the โNow Dateโ syntax expression to be inserted into google sheet, itโs better to prepare its payload in a mapper connector then map it to google sheets data.
The next step is to link the first step to the delay connector.
Then letโs add an additional mapper connector and a google sheet connector to insert a new record after the 1 min delay.
Finally, ensure all the steps are linked together and the first step โinstant payloadโ is set as a starting point.
Letโs run the workflow using the run button and see the results.
As you can see, the first record was inserted instantly, while the second record after 1 min 50 seconds.
Please consider 1 min delay could be anything between 60 seconds and 119 seconds.
Thank you for watching this tutorial. Please feel free to contact us if you have any questions.