-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
🔦 Type: FeatureNew functionality is requested.New functionality is requested.
Description
Please confirm if feature request does NOT exists already ?
- I confirm there is no existing issue for this
Describe the usecase for the feature
Sometimes you need data from a linked child table when a webhook is triggered. E.g. when you want to dynamically send an email to the user who is selected in a has-many field and the connected "user" table contains the email address.
(many-to-many connections could also be interesting, but not in my case.)
Suggested Solution
Just include all fields from all has-many fields in the webhook payload.
Currently, for a field name user we have the following in the payload:
"data": {
"nc_tesc__user_id": 1
}Instead, it should be (example):
"data": {
"user": {
"Id": 1,
"name": "foo",
"email": "foo@bar.com"
}
}Additional Context
No response
Metadata
Metadata
Assignees
Labels
🔦 Type: FeatureNew functionality is requested.New functionality is requested.