In my app, I have a notification table where I add events that are triggered by users. for example when someone votes for you or if someone comments on your post.
I want to create a notification when someone publishes new content. and I want to be able to link back to that piece of content.
In the form submission of the content (when I create the post) I am able to add an “add row” action that will add a line in the notification table. but I don’t know how to add the ID of the item we were just now creating.