WordPress - New comment trigger

The New comment trigger runs when a new comment is detected in WordPress. The trigger checks for new comments every five minutes by default.

New comment triggerNew comment trigger

Input

No additional input is required for this trigger.

Output

Output fieldDescription
IDThe ID of the comment. For example: 9.
Post IDThe ID of the post to which the comment was added. For example: 57.
TitleThe title of the post associated with the comment. For example: Trial post 2.
TypeThe type of the post associated with the comment. For example: post.
LinkThe link to the associated post.
Author IDThe ID of the comment author. For example: 64588464.
LoginThe login name of the author.
EmailThe email address of the author.
NameThe display name of the author. For example: poster1.
First nameThe first name of the author.
Last nameThe last name of the author.
Nice nameThe nicely formatted name of the author.
URLThe URL to the author's WordPress site.
Avatar URLThe URL to the author's avatar. For example: https://2.gravatar.com/avatar/...
Profile URLThe URL to the author's Gravatar profile. For example: https://gravatar.com/1d30c24261dfd9aee30c2acf520119a5.
IP addressThe IP address of the author.
DateThe date the comment was created.
URLThe URL to the comment. For example: https://example1.wordpress.com/2024/09/27/trial-post-2/comment-page-1/#comment-9
Short URLThe short URL to the comment. For example: https://wp.me/p4zxxx-V%23comment-9.
ContentThe HTML content of the comment.
Raw contentThe raw text content of the comment.
StatusThe status of the comment. For example: approved.
Parent IDThe ID of the parent item.
Parent typeThe type of the parent item.
Parent linkThe link to the parent item.
Like countThe number of likes on the comment.
I likeIndicates whether the current profile likes the comment or not. Values are true or false.
Can moderateIndicates whether the current profile can moderate the comment or not. Values are true or false.
I repliedIndicates whether the current profile has replied to the comment or not. Values are true or false.
Meta links selfThe API link for the comment. For example: https://public-api.wordpress.com/rest/xx/sites/6751xxxx/comments/9
Meta links helpThe help link for the comment. For example: https://public-api.wordpress.com/rest/xx/sites/6751xxxx/comments/9/help
Meta links siteThe site link. For example: https://public-api.wordpress.com/rest/xx/sites/6751xxxx
Meta links postThe link to the associated post.
Meta links repliesThe link to the comment replies. For example: https://public-api.wordpress.com/rest/xx/sites/6751xxxx/comments/9/replies/
Meta links likesThe link to the comment likes. For example: https://public-api.wordpress.com/rest/xx/sites/6751xxxx/comments/9/likes/

Last updated: