https://www.growthbook.io/ logo
t

thankful-librarian-70800

04/22/2022, 5:43 AM
Hi, is it possible to fire a webhook upon experiment creation rather than feature definition?
f

fresh-football-47124

04/22/2022, 7:46 AM
hi Sara, let me check
it should be updating on experiment creation and any updates to them
is it not?
t

thankful-librarian-70800

04/22/2022, 1:35 PM
it's only firing with new features being added currently
I have changed some data in the back end to support the experiment config that I mentioned though, so I have messed with something that is blocking the webhook
f

fresh-football-47124

04/22/2022, 3:38 PM
@future-teacher-7046 any thoughts?
f

future-teacher-7046

04/22/2022, 3:44 PM
Webhooks fire any time you create a new feature or make a change to an existing feature. What exact change did you make for the experiment config?
t

thankful-librarian-70800

04/22/2022, 3:50 PM
I've edited the experiment interface, creation/edit forms, experiment/[eid].tsx, obj and keys in controllers/experiment.ts, and the ExperimentModel schema
f

future-teacher-7046

04/22/2022, 4:01 PM
The naming in GrowthBook is a little confusing. There are feature flags that deal with implementing and running A/B tests. The "experiments" part just deals with analyzing results. So changes made to the analysis don't fire webhooks. Only changes to feature flags do.
t

thankful-librarian-70800

04/22/2022, 4:10 PM
I see. I'm a bit confused though. How do the features integrate with the experiments?
f

future-teacher-7046

04/22/2022, 4:13 PM
They are really loosely coupled. Experiments can analyze results of any A/B test, whether or not it used our SDKs and feature flags to run it. The SDKs let you track experiment assignment to your data warehouse. Then experiments query your data warehouse to pull results. The only join between them is an experiment id.
t

thankful-librarian-70800

04/22/2022, 5:02 PM
Got it! Thanks