PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
19.66k stars 1.16k forks source link

Action webhook message templating #20463

Open Gilbert09 opened 5 months ago

Gilbert09 commented 5 months ago

Is your feature request related to a problem?

Describe the solution you'd like

Thank you for your feature request – we love each and every one!

benjackwhite commented 5 months ago

This feels like a "wont fix" in the sense that the actual fix will be part of the CDP work? Just mentioning so that we don't end up investing too much work into something we will stop supporting directly

mariusandra commented 5 months ago

If this ever lands, we use HogQL expressions to create the webhook message. Either directly or through a simplified "string interpolation" wrapper (everything inside {} or [] will be treated as HogQL and evaluated)

benjackwhite commented 5 months ago

If this ever lands, we use HogQL expressions to create the webhook message. Either directly or through a simplified "string interpolation" wrapper (everything inside {} or [] will be treated as HogQL and evaluated)

Just concerned that we will at some point not super far off move to a completely different way of generating the code that parses these things which will also need to support that syntax 🤔