Action
Send data to n8n webhook app
This webhook action allows you to send data to the "Webhooks" app of n8n from your WordPress website.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
-
url
(string) The URL you want to send the data to from the "Webhooks" app from within n8n.
-
method
(string) The request type used to send the request.
-
headers
(string) A JSON formatted string containing further header details.
-
raw_body
(string) The raw body. If this argument is set, the "Body" argument is ignored.
-
body
(string) A JSON formatted string containing further payoad data.
-
timeout
(integer) Filters the timeout value for an HTTP request. Default: 5
-
redirection
(integer) Filters the number of redirects allowed during an HTTP request. Default 5
-
httpversion
(string) Filters the version of the HTTP protocol used in a request. Default: 1.0
-
user-agent
(string) Filters the user agent value sent with an HTTP request.
-
blocking
(bool) Filter whether to wait for a response of the recipient or not. Default: yes
-
reject_unsafe_urls
(string) Filters whether to pass URLs through wp_http_validate_url() in an HTTP request. Default: no
-
sslverify
(string) Validates the senders SSL certificate before sending the data. Default: yes
-
limit_response_size
(integer) Limit the response size of the data coming back from the recpient. Default: null
-
cookies
(string) A JSON formatted string containing additional cookie data.
-
do_action
Advanced: Register a custom action after the webhook fires.
-
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 )