- Issue created by @kopeboy
- 🇺🇸United States freelock Seattle
All that needs to happen for this is creating some plugins -- and probably not many.
Event plugin -- Webhook received
Action plugin -- Send webhook... since Webhooks are entities, much of the normal entity ECA plugins should already work. Are there any other plugins we need?
- 🇩🇪Germany sanduhrs 🇪🇺 Heidelberg, Germany, Europe
How would we gain access to the json serialized webhook payload and headers?
- 🇺🇸United States freelock Seattle
ECA largely uses the token system to access data. So if there's an Event plugin that is dispatched when a webhook is received, that plugin would define what tokens are available -- presumably the headers, payload, etc.
Likewise, for sending a webhook, the action plugin(s) might have different options for taking a pre-serialized JSON string, or automatically serialize an object or array to JSON -- those are the main decisions that need to be made. Can start with a simple case...