Create comment action

This action lets you create a comment via the WordPress integration. Use it to automate you daily work and save time and resources.

How to create a comment

This section aims to help you getting started on how to create a comment via WordPress. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Create comment" 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.

wpwh_call_action

(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )

Connection examples

Get inspired on how to use the "Create comment" action within our WordPress integrations. Down below you will find various examples with our other integrations.
When a Make (Integromat) HTTP request was received via The Make (Integromat) Logo for our WP Webhooks integration Make (Integromat), create a comment via The WordPress Logo for our integration WordPress.
When an order was completed via The Studiocart Logo for our WP Webhooks integration Studiocart, create a comment via The WordPress Logo for our integration WordPress.
When a plugin was deactivated via The WordPress Logo for our integration WordPress, 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 topic was unfavored via The bbPress Logo for our WP Webhooks integration bbPress, create a comment via The WordPress Logo for our integration WordPress.
When an ACF term field was updated via The Advanced Custom Fields Logo for our WP Webhooks integration Advanced Custom Fields, create a comment via The WordPress Logo for our integration WordPress.
When a new subscription payment was created via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, 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 the full cache was cleared via The Cache Enabler Logo for our WP Webhooks integration Cache Enabler, create a comment via The WordPress Logo for our integration WordPress.
When the localized cache was cleared via The LiteSpeed Cache Logo for our WP Webhooks integration LiteSpeed Cache, create a comment via The WordPress Logo for our integration WordPress.
When a user password was recovered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, 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 user was registered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create a comment via The WordPress Logo for our integration WordPress.
When a ticket was created via The Fluent Support Logo for our WP Webhooks integration Fluent Support, create a comment via The WordPress Logo for our integration WordPress.
When a donation was abandoned via The GiveWP Logo for our WP Webhooks integration GiveWP, 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 form was submitted via The JetEngine Logo for our WP Webhooks integration JetEngine, create a comment via The WordPress Logo for our integration WordPress.
When a form was submitted via The Forminator Logo for our WP Webhooks integration Forminator, create a comment via The WordPress Logo for our integration WordPress.
When a customer was updated 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 taxonomy term was deleted via The WordPress Logo for our integration WordPress, create a comment via The WordPress Logo for our integration WordPress.
When the full cache was cleared via The W3 Total Cache Logo for our WP Webhooks integration W3 Total Cache, create a comment via The WordPress Logo for our integration WordPress.

More available WordPress endpoints

Discover more of the available endpoints used for the WordPress integration.
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.