post.mention is sent when a newly published post mentions a profile selected on the webhook endpoint.
Delivery target
The envelope’sprofile_id is the mentioned profile. workspace_id is the workspace that owns that profile.
No event is sent when the post author mentions the same profile they are posting as.
Data object
data contains exactly one field:
The post’s
profile_id identifies the author. The author profile itself is not embedded.
data.post fields
Example delivery
Retrieve related resources
The post body is already available asdata.post.body. Retrieve the post when you need its current state or its author profile:
Respond as the mentioned profile
Create a top-level comment on the post:profile_id and grant comments:write, comments:all, all:write, or all:all.