Enable custom_webhook_template_serialization feature flag by default

Summary

Enable the custom_webhook_template_serialization feature flag by default globally before proceeding with the complete cleanup.

Background

This feature flag ensures custom webhook template field values are JSON-serialized, properly escaping special characters and guaranteeing valid JSON payloads.

The feature has been successfully rolled out and is ready to be enabled by default.

Related:

  • Introduced: !197992 (merged)
  • Rollout: [FF] custom_webhook_template_serialization -- Enable this FF on production

What Changes

Custom webhook template field values will be JSON-serialized, ensuring special characters are properly escaped and the final payload is valid JSON.

Performance Considerations

Benchmarks show an ~8% slowdown in webhook execution due to JSON serialization. Since webhooks might be triggered at high frequency, we should monitor performance after enabling by default.

Tasks

  • Enable custom_webhook_template_serialization by default in the codebase
  • Deploy to production
  • Monitor webhook execution performance
  • Monitor for 2-3 milestones to ensure stability

Next Steps

Once this has been running by default for a couple of milestones without issues, we can proceed with the complete feature flag removal.

Owners

  • Team: #g_import
  • DRI: @reza-marandi
Edited Nov 12, 2025 by Rez
Assignee Loading
Time tracking Loading