Action: Create file

Create a file via a webhook inside of your WordPress folder structure.
On this page you will find further information about the Create file 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 file action is part of our WordPress integration.

Webhook setup guide

This section aims to help you getting started with the Create file 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 file 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.
file *

The path as well as the file name and extension. For example: wp-content/themes/demo-theme/index.php (See the main description for more information)

content *

The content for your file.

mode

The mode of the file. Default "w" (Write)

do_action

Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.

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 created via The Woocommerce Logo for our integration Woocommerce, create a file via The WordPress Logo for our integration WordPress.
When a comment was updated via The WordPress Logo for our integration WordPress, create a file via The WordPress Logo for our integration WordPress.
When a customer was updated via The Woocommerce Logo for our integration Woocommerce, create a file via The WordPress Logo for our integration WordPress.
When a plugin was activated via The WordPress Logo for our integration WordPress, create a file via The WordPress Logo for our integration WordPress.
When a plugin was deleted via The WordPress Logo for our integration WordPress, create a file via The WordPress Logo for our integration WordPress.
When a comment was trashed via The WordPress Logo for our integration WordPress, create a file 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 file via The WordPress Logo for our integration WordPress.
When a form was submitted via The Newsletter Logo for our WP Webhooks integration Newsletter, create a file via The WordPress Logo for our integration WordPress.
When an assignment was uploaded via The LearnDash Logo for our WP Webhooks integration LearnDash, create a file via The WordPress Logo for our integration WordPress.
When a form was submitted via The Gravityforms Logo for our integration Gravity Forms, create a file via The WordPress Logo for our integration WordPress.
When a payment was completed via The Gravityforms Logo for our integration Gravity Forms, create a file 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 file via The WordPress Logo for our integration WordPress.
When a topic was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, create a file via The WordPress Logo for our integration WordPress.
When a plugin was deactivated via The WordPress Logo for our integration WordPress, create a file via The WordPress Logo for our integration WordPress.
When a WordPress hook was fired via The WordPress Logo for our integration WordPress, create a file via The WordPress Logo for our integration WordPress.
When a customer was created via The Woocommerce Logo for our integration Woocommerce, create a file via The WordPress Logo for our integration WordPress.
When a product was deleted via The Woocommerce Logo for our integration Woocommerce, create a file via The WordPress Logo for our integration WordPress.
When an email was sent via The WordPress Logo for our integration WordPress, create a file via The WordPress Logo for our integration WordPress.
When a product was updated via The Woocommerce Logo for our integration Woocommerce, create a file via The WordPress Logo for our integration WordPress.
When a form was submitted via The Ninja Forms Logo for our WP Webhooks integration Ninja Forms, create a file 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 file 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.