Action: Create comment

Create a comment using webhooks.
On this page you will find further information about the Create comment action and how to use it via WP Webhooks, as well as via other external services such as Integromat, Pabbly, Integrately, or Zapier.
The Create comment action is part of our WordPress integration.

Webhook setup guide

This section aims to help you getting started with the Create comment action.
Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

Arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Create comment action which is then handled accordingly to the described purpose. You can use the arguments that you would like to send values for.
To learn more about it, please see the Setup Guide above.
comment_agent

(string) The HTTP user agent of the comment_author when the comment was submitted. Default empty.

comment_approved

(int|string) Whether the comment has been approved. Default 1.

comment_author

(string) The name of the author of the comment. Default empty.

comment_author_email

(string) The email address of the $comment_author. Default empty.

comment_author_IP

(string) The IP address of the $comment_author. Default empty.

comment_author_url

(string) The URL address of the $comment_author. Default empty.

comment_content

(string) The content of the comment. Default empty.

comment_date

(string) The date the comment was submitted. To set the date manually, comment_date_gmt must also be specified. Default is the current time.

comment_date_gmt

(string) The date the comment was submitted in the GMT timezone. Default is comment_date in the site's GMT timezone.

comment_karma

(int) The karma of the comment. Default 0.

comment_parent

(int) ID of this comment's parent, if any. Default 0.

comment_post_ID

(int) ID of the post that relates to the comment, if any. Default 0.

comment_type

(string) Comment type. Default empty.

comment_meta

(array) Optional. Array of key/value pairs to be stored in commentmeta for the new comment. More info within the description.

user_id

(int) ID of the user who submitted the comment. Default 0.

do_action

Advanced: Register a custom action after this webhook was fired.

Connection examples

Get inspired on how to use the WordPress action. Down below you will find various examples with our other integrations.
When a product was restored via The Woocommerce Logo for our integration Woocommerce, create a comment via The WordPress Logo for our integration WordPress.
When a course was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, create a comment via The WordPress Logo for our integration WordPress.
When an order was updated via The Woocommerce Logo for our integration Woocommerce, create a comment via The WordPress Logo for our integration WordPress.
When an order was deleted via The Woocommerce Logo for our integration Woocommerce, create a comment via The WordPress Logo for our integration WordPress.
When a contact was added to a tag via The FluentCRM Logo for our WP Webhooks integration FluentCRM, create a comment via The WordPress Logo for our integration WordPress.
When an email was sent via The WordPress Logo for our integration WordPress, create a comment via The WordPress Logo for our integration WordPress.
When a contact was removed from a list via The FluentCRM Logo for our WP Webhooks integration FluentCRM, create a comment via The WordPress Logo for our integration WordPress.
When a form was submitted via The Fluent Forms Logo for our WP Webhooks integration Fluent Forms, create a comment via The WordPress Logo for our integration WordPress.
When a form was submitted via The HappyForms Logo for our WP Webhooks integration HappyForms, create a comment via The WordPress Logo for our integration WordPress.
When a lesson was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, create a comment via The WordPress Logo for our integration WordPress.
When a payment was completed via The Gravityforms Logo for our integration Gravity Forms, create a comment via The WordPress Logo for our integration WordPress.
When a user was deleted via The WordPress Logo for our integration WordPress, create a comment via The WordPress Logo for our integration WordPress.
When a new payout was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, create a comment via The WordPress Logo for our integration WordPress.
When a coupon was created via The Woocommerce Logo for our integration Woocommerce, create a comment via The WordPress Logo for our integration WordPress.
When an action was fired via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, create a comment via The WordPress Logo for our integration WordPress.
When a purchase was completed via The WP Simple Pay Logo for our WP Webhooks integration WP Simple Pay, create a comment via The WordPress Logo for our integration WordPress.
When a form was submitted via The Gravityforms Logo for our integration Gravity Forms, create a comment via The WordPress Logo for our integration WordPress.
When a coupon was restored via The Woocommerce Logo for our integration Woocommerce, create a comment via The WordPress Logo for our integration WordPress.
When a license was activated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, create a comment via The WordPress Logo for our integration WordPress.
When a plugin was activated via The WordPress Logo for our integration WordPress, create a comment via The WordPress Logo for our integration WordPress.
When a comment was created via The WordPress Logo for our integration WordPress, create a comment via The WordPress Logo for our integration WordPress.

More available endpoints

Down below you will find a list of all available triggers and actions for the WordPress integration.
If you want to learn more about a specific endpoint, simply click on it.
Full disclosure: When clicking on some of the links on our website and purchasing the related product and/or service, we may earn a commission free of any additional cost for you.