Add a delay to webhook sending

I have a form sequence that when each is submitted a webhook fires to send the data to an external database. We want to add a delay to the second form in the sequence sending it’s webhook, can " gform_is_delayed_pre_process_feed" be used to add a delay of maybe 30 seconds to this particular forms webhook?

Due to our server and the external DB we are sending to, we can’t rely on the response code from the external DB to send the second webhook. So the next thought is to simply delay the second one. Is this possible, and is the above filter the correct to so this with?

In the sample functions on this page, gform_is_delayed_pre_process_feed - Gravity Forms Documentation, I do not see any time params being passed to the function. So in example #1 at the above page URL, what is actually creating the delay and what is the delay in time before those add-ons are fired?

The code snippet is showing using the feed type to determine what is/not delayed without any logic for what the amount of delay is.

If you want a dead simple way to handle it, Gravity Flow and its’ outgoing webhook step type would be an ideal fit for you. You can set the delay schedule as part of step settings (ensuring you have a WP Cron that runs on a frequent basis that aligns with the < 1 minute schedule you’re after). It will also let you do routing based on 200/400/500 response codes and map response data back to the entry without requiring code. Or use a filter gravityflow_entry_webhook_response_mapping a filter to focus on specific formatting adjustments.

Cheers,
Jamie