Webhook guardrails
To ensure good performance, Workfront Fusion has the following guardrails in place for webhooks.
Rate limits
The current rate limit is 5 webhooks per second. If the limit is exceeded, a 429
status code is returned.
Expiration of inactive webhooks
A webhook that has not been assigned to any scenario for more than 120 hours is removed.
Webhook payloads
Workfront Fusion stores webhook payloads for 30 days. Accessing a webhook payload more than 30 days after it was created results in the error Failed to read file from storage.
Error handling
When there is an error in your scenario with an instant trigger, the scenario:
- Stops immediately when the scenario is set to run Immediately.
- Stops after 3 unsuccessful attempts (3 errors) when the scenario is set to run as scheduled.
If an error occurs during the scenario execution, the event is placed back into the queue during the instant trigger’s rollback phase. In such a situation, you can fix the scenario and run it again.
For more information, see Rollback in the article Scenario execution, cycles, and phases.
If there is a Webhook response module in your scenario, the error is sent to the Webhook response. The Webhook response module is always executed last (when the Auto commit option in the Scenario settings is not enabled).
For more information, see Responding to webhooks in the article Webhooks.
Webhook deactivation
Webhooks are deactivated automatically if either of the following applies:
- The webhook has not been connected to any scenario for more than 5 days.
- The webhook is used only in inactive scenarios, which have been inactive for more than 30 days.
Deactivated webhooks are deleted and unregistered automatically if they are not connected to any scenarios, and have been in deactivated status for over 30 days.