Artisan SVG > Script (script) (file-format-javascript)

Custom Delay in milliseconds

Snippet
Universal
Intermediate

Snippets are pieces of workflows. You can copy and paste them directly into any Tray workflow.

New to snippets? Watch this video

For more details please see our Snippet Documentation

About this Snippet
Copy

This snippet allows you to apply a delay in your workflow at a finer resolution than 1 second in the native delay connector. This can be helpful when trying to avoid rate limits.

It's important to note: you will not get a precise delay from this because it is not a purpose-built delay. Always assume the amount you put is the MINIMUM delay and that the script step will take slightly longer.

See it in action
Copy