Hi @primoz.rome and @felicia.moller 
Iâm @sistrall , from DatoCMSâs team. We discussed this with the team, and, for the moment, we wonât proceed on this topic. Below youâll find two possible solutions and the reasons why we think we shouldnât add a new web-hook nor (mis-)using the updated-item web-hook.
Solutions
Despite how models and records are configured and linked in DatoCMS, the final responsibility of knowing how the records are used to build the pages is on the front-end. Therefore, it is the front-end that has to decide what to rebuild.
That can be done at least in two ways with some GraphQL queries. Letâs take a structure like this: Page â Section â FAQ: a Page links multiple sections, and each section links multiple FAQs. Letâs suppose to update a FAQ. Then, using the data in the FAQ web-hook, I can execute GraphQL queries like these.
Solution A: two queries
First, a query to get section data:
query GetSection {
section(filter: {faqs: {eq: "137205127"}}) {
id
name
}
}
Then a query to get page data:
query GetPage {
page(filter: {sections: {eq: "Section ID from previous query"}}) {
id
title
}
}
Solution B: one query, leveraging inverse relationships
Itâs also possible to enable inverse relationships on the models in scope (FAQ and Section) and do the job with a single query:
query GetFaqSectionAndPage {
faq(filter: {id: {eq: "137205127"}}) {
question
answer
id
_allReferencingSections {
id
name
_allReferencingPages {
id
title
}
}
}
}
These solutions should cover most needs.
Also, they are flexible enough to cover cases where the contents generate linked pages (or else) that cannot be inferred by looking at the relationships between models in DatoCMS.
Some reasons for the ânoâ.
A new web-hook for updated linking records would generate quite some complexity on DatoCMS and our customerâs sides: e.g. the risk is to trigger too many web-hooks when a record is linked multiple times. We could de-duplicate the call, but it would still be a brittle solution.
Using the updated record web-hook would be weird: the web-hook would refer to an item that should have changed, but the content before and after would be the same 'cause no change has been made. I would be a trick. So, the updated record web-hook is the wrong solution to the problem.
We could include the referencing items in the relationships of the referred item, but that is a limited solution: a query is needed to retrieve all the data of the referencing items. It also would be a limited solution since we would limit to one level, so a query would be required to retrieve the referencing records of the referencing records.
Sorry for the long answer: I hope itâs clear enough.
Should you need more info, Iâm here to help.