1. Home
  2. Third-Party
  3. n8n
  4. Send WordPress data to n8n with WP Webhooks
  1. Home
  2. Third-Party
  3. Send WordPress data to n8n with WP Webhooks

Send WordPress data to n8n with WP Webhooks

This help file explains to you the basics to connect WP Webhooks with n8n.
If you want to learn more about how to receive data from n8n, feel free to check out this manual.

Send Data within a Flows automation

If you are using the Flows feature of WP Webhooks, you can simply select the “n8n” integration from the integration dropdown of any action you add. This allows you to add your n8n webhook URL, which will then receive the data in return.

Send Data directly on a WordPress event

You can also create a direct connection between WordPress and n8n by using our Trigger (Send Data) feature. This allows you to create direct connections to n8n without the need of using a whole Flow.
It supports all of our available integrations.

How to set up the n8n webhooks

  1. To get started, please create a new Workflow within n8n.
  2. Once created, open up the Workflow and add your trigger. This step is responsible for triggering this Workflow.
  3. As the first step, please search for “Webhooks” and select the “Webhooks” app as a trigger.

After you added the app, n8n will show you a dynamically generated Webhook URL. Please place this URL into the WP Webhooks trigger of your choice.
To add it, please head over to your WordPress dashboard -> Settings -> WP Webhooks -> Send Data, and add your webhook URL there for your specific trigger.

The n8n webhook screen from within the Webhook app
The webhook popup window for webhooks within n8n

Once this URL was added within your chosen trigger of WP Webhooks, you successfully created a connection between our plugin and n8n

At this point, every time your selected trigger is fired, n8n will receive the data of that trigger and can use it to fire further steps.

You can also customize and filter the behavior of the trigger directly within WP Webhooks. To do that, simply open the settings next to the webhook URL inside of WP Webhooks and adjust the settings to your liking.

The settings location for webhook URLs within WP Webhooks.

That’s it! You successfully set up your connection.

In case you would like to see any specific feature, you can request it here.

Updated on April 4, 2022

Was this article helpful?

Related Articles