One application is if you are contacting an API with multiple requests. The WaitAsecond macro may help to pause the API long enough to process multiple rows without issue.

It can also be used to scrape sites without putting heavy loads on their server.  An Invisio sample of scraping the Alteryx community (See Insights to the Alteryx Community)




As you can see, the part of the flow that runs through the WaitASecond tool gets a NOW timestamps which are 5 seconds a part, whereas the bottom stream, not running through the WaitASecond tool, all gets the same timestamp.


There are essentially two macros:

The first one assigns a unique id to each record and then uses that ID for the batch macro.


The batch macro has a “Command tool” that runs a ping that waits x seconds before timeout ( if that exist in your network it won’t work).


The macro can be downloaded here (