Admin setting: process webhooks in background
I’d like to add a checkbox in the administrative settings, maybe even add “advanced tab”
[ x ] Process webhooks in background every (drop down)
Sometimes, from our CRM we have a mass / bulk operation affecting all users, from changing a tag (renaming it), to setting specific metadata. Our CRM then automatically calls the webhook for each modified user. Unfortunately our CRM currently has no method for “throttling the outgoing webhook call”.
I think, there are probably quite a few CRM’s that don’t have a “throttling mechanism”. In any case, I’d like to be able to tell wpFusion to process the webhook in the background -> move it to Action Scheduler from wooCommerce, or some other background scheduling processing system like wp-Cron.
This, would allow the webhook to respond quickly, and not issue a “timeout” when flooded with 4000 requests, and it would allow these webhooks to execute in the background by a pre-timed process.
Just a thought,
Thanks,
Dan
This is actually available already 🙂
See https://wpfusion.com/documentation/other-common-issues/webhooks-not-being-received-by-wp-fusion/#the-async-method
It’s a bit experimental but mostly reliable.