Action: Copy file

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

Webhook setup guide

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

The relative path of the file you want to copy. This can be a relative path or an external url. For example: wp-content/themes/demo-theme/demo-file.php or a full url like https://my-domain/image.jpg

destination_path *

The relative path as well as file name. For example: wp-content/uploads/demo-image.jpg (See the main description for more information)

do_action

Advanced: Register a custom action after Webhooks Pro fires this webhook.

Connection examples

Get inspired on how to use the WordPress action. Down below you will find various examples with our other integrations.
When an order was updated via The Woocommerce Logo for our integration Woocommerce, copy a file via The WordPress Logo for our integration WordPress.
When a product was updated via The Woocommerce Logo for our integration Woocommerce, copy a file 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, copy a file via The WordPress Logo for our integration WordPress.
When a new referral was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, copy a file via The WordPress Logo for our integration WordPress.
When a membership was canceled via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, copy a file via The WordPress Logo for our integration WordPress.
When a shortcode was called via The WordPress Logo for our integration WordPress, copy 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, copy a file via The WordPress Logo for our integration WordPress.
When a contact was removed from a list via The FluentCRM Logo for our WP Webhooks integration FluentCRM, copy a file via The WordPress Logo for our integration WordPress.
When an email was sent via The WordPress Logo for our integration WordPress, copy a file via The WordPress Logo for our integration WordPress.
When an order was created via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, copy a file via The WordPress Logo for our integration WordPress.
When a course access was removed via The LearnDash Logo for our WP Webhooks integration LearnDash, copy a file via The WordPress Logo for our integration WordPress.
When a new license was created via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, copy a file via The WordPress Logo for our integration WordPress.
When a product was restored via The Woocommerce Logo for our integration Woocommerce, copy a file via The WordPress Logo for our integration WordPress.
When a plugin was activated via The WordPress Logo for our integration WordPress, copy a file 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, copy a file via The WordPress Logo for our integration WordPress.
When a course was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, copy a file via The WordPress Logo for our integration WordPress.
When a product was deleted via The Woocommerce Logo for our integration Woocommerce, copy a file via The WordPress Logo for our integration WordPress.
When a user was updated via The WordPress Logo for our integration WordPress, copy a file via The WordPress Logo for our integration WordPress.
When a custom trigger was called via PHP via The WordPress Logo for our integration WordPress, copy a file 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, copy a file via The WordPress Logo for our integration WordPress.
When a form was submitted via The WPForms Logo for our integration WPForms, copy 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.