Make webhook forget prior data structures

:bullseye: What is your goal?

Webhooks and scenarios are rarely a one and done exercise.

I’d like the webhook to forget the previous data structures that have been used and only use either the actual data structure object associated with it, or the data structure that has been sent via the “Redetermine data structure”

:thinking: What is the problem & what have you tried?

I have tried:

  • deleting the webhook and creating a new one
  • pressing the redetermine data structure button
  • pushed through new versions of the webhook payload

The data that is “available” to the modules is becoming cumulative with extra attributes that are not in the data structure object or in the payload when using the “redetermine data structure” buttons

:clipboard: Error messages or input/output bundles

see image - the items boxed in blue are not present in the payload or the data structure object and won’t go away there are more under the variables object but I can’t show them as they have visible data that I can’t share.

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

1 Like

Hey there,

sorry but where did you get the idea that webhooks and scenarios are rarely one and done? Sure, a couple of things might change during the initial buildout, but webhooks especially are usually exactly one and done. And scenarios too, most of mine have been running for years without any changes to them. If anything, scenarios and webhooks are rarely NOT one and done.

Hence the visual bug you are experiencing. The scenario records what the payload of the webhook was and gives you those options for mapping in the modules after it. But when the payload changes, the mapping options don’t immediately change (on a side note, this is also a big pain point for iterators and filter combos not showing the right items in the array). After the webhooks receives the new payload, try reloading the scenario to update it. And if that fails, you can always type in the new variables manually.

1 Like

Waited 24 hours and then selected Run Once again.

Fixed it.

3 Likes