# observe\_comment\_insert/2

Source: https://zotonic.com/docs/1765/observe_comment_insert-2

URI: https://zotonic.com/id/1765

Language: en



Notification to signal an inserted comment. ‘comment\_id’ is the id of the inserted comment, ‘id’ is the id of the resource commented on.

Type:

[notify](/id/doc_developerguide_notifications#notification-notify)

Return:

`#comment_insert{}` properties:

- comment\_id: `integer`
- id: `m_rsc:resource_id()`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1765?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1765?language=en>)
