Create comment action

This action lets you create a comment via the WordPress integration. Use it to automate you daily work ans 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 course access was removed via The LearnDash Logo for our WP Webhooks integration LearnDash, 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 quiz was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, create a comment via The WordPress Logo for our integration WordPress.
When a KlickTipp outbound request was received via The KlickTipp Logo for our WP Webhooks integration KlickTipp, create a comment via The WordPress Logo for our integration WordPress.
When a product was added to the cart via The Woocommerce Logo for our integration WooCommerce, create a comment via The WordPress Logo for our integration WordPress.
When a topic was favored via The bbPress Logo for our WP Webhooks integration bbPress, 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 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 deactivated via The WordPress Logo for our integration WordPress, create a comment via The WordPress Logo for our integration WordPress.
When a tag was added to a contact via The Groundhogg Logo for our WP Webhooks integration Groundhogg, create a comment via The WordPress Logo for our integration WordPress.
When a course access was granted via The LearnDash Logo for our WP Webhooks integration LearnDash, create a comment via The WordPress Logo for our integration WordPress.
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 a user has logged in via The WordPress Logo for our integration WordPress, create a comment via The WordPress Logo for our integration WordPress.
When a subscription trial ended via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, create a comment via The WordPress Logo for our integration WordPress.
When a user password was changed 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 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 user was updated via The WordPress Logo for our integration WordPress, create a comment via The WordPress Logo for our integration WordPress.
When a profile photo was updated 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 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 a form was submitted via The Elementor Logo for our WP Webhooks integration Elementor, create a comment via The WordPress Logo for our integration WordPress.
When a coupon was deleted via The Woocommerce Logo for our integration WooCommerce, 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.