Create URL attachment action

This action lets you create an attachment from a URL via the WordPress integration. Use it to automate you daily work ans save time and resources.

How to create an attachment from a URL

This section aims to help you getting started on how to create an attachment from a URL via WordPress. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Create URL attachment" 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 URL attachment 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.
url *

The url of the file you want to create the attachment of.

arguments

(JSON) Custom arguments to customize your upload process. Default: Please see the description for further information.

file_name

Customize the file name of the attachment. - Please see the description for further information.

parent_post_id

The parent post id in case you want to set a parent for the file. Default: 0

add_post_thumbnail

Assign this attachment as a post thumbnail to one or multiple posts. Please see the description for further details.

attachment_image_alt

Add a custom Alternative Text to the attachment (Image ALT).

attachment_title

Add a custom title to the attachment (Image Title).

attachment_caption

Add a custom caption to the attachment (Image Caption).

attachment_description

Add a custom description to the attachment (Image Descripiton).

do_action

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

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 URL attachment" action within our WordPress integrations. Down below you will find various examples with our other integrations.
When a user was registered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create an attachment from a URL 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 an attachment from a URL via The WordPress Logo for our integration WordPress.
When a custom link was clicked via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a user was updated via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When an order was restored via The Woocommerce Logo for our integration WooCommerce, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a form was submitted via The Kadence Blocks Logo for our WP Webhooks integration Kadence Blocks, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a booking was cancelled via The Events Manager Logo for our WP Webhooks integration Events Manager, create an attachment from a URL 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 an attachment from a URL via The WordPress Logo for our integration WordPress.
When a contact was deleted via The FluentCRM Logo for our WP Webhooks integration FluentCRM, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a post was trashed via The WordPress Logo for our integration WordPress, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a user enrolled into a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a custom button was clicked via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a course was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, create an attachment from a URL 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, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a coupon was restored via The Woocommerce Logo for our integration WooCommerce, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a membership has expired via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a donation was completed via The GiveWP Logo for our WP Webhooks integration GiveWP, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a membership expired via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a license status was updated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a donation is processed via The GiveWP Logo for our WP Webhooks integration GiveWP, create an attachment from a URL via The WordPress Logo for our integration WordPress.
When a contact was removed from a tag via The FluentCRM Logo for our WP Webhooks integration FluentCRM, create an attachment from a URL 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.