Skip to content

Help Understanding the available events on the Node element #426

@stuartmitchelhill

Description

@stuartmitchelhill

Question

Hi

I am working on a headless setup with a Next.js application as the frontend. As such I am trying to setup webhooks to revalidate my queries when data changes in the CMS.

I am using the webhooks plugin by pixel and tonic

The problem I am facing is with Node events. As per the documentation there is a afterSaveNode event however this isn't detectable by the webhooks plugin. afterSave allows the webhook to be saved but never triggers anything when nodes are edited

The afterSaveNav event on verbb\navigation\services\Navs works as expected, triggering a webhook, but verbb\navigation\elements\Node afterSaveNode or afterSave don't

Just wondering if there is something very easy that I am missing?

Image Image

Thanks for any guidance you can provide

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions