Action: Create path attachment

Create an attachment from a local and relative path on your website using webhooks.
On this page you will find further information about the Create path attachment 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 path attachment action is part of our WordPress integration.

Webhook setup guide

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

The relative path of the file you want to create the attachment of. Please see the description for more information.

parent_post_id

The parent post id inn case you want to set a parent for it. Default: 0

file_name

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

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.

Connection examples

Get inspired on how to use the WordPress action. Down below you will find various examples with our other integrations.
When a plugin was deactivated via The WordPress Logo for our integration WordPress, create an attachment from a server path via The WordPress Logo for our integration WordPress.
When a quiz was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, create an attachment from a server path via The WordPress Logo for our integration WordPress.
When a product was updated via The Woocommerce Logo for our integration Woocommerce, create an attachment from a server path via The WordPress Logo for our integration WordPress.
When a comment was updated via The WordPress Logo for our integration WordPress, create an attachment from a server path 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 server path 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 server path via The WordPress Logo for our integration WordPress.
When a customer was deleted via The Woocommerce Logo for our integration Woocommerce, create an attachment from a server path 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 an attachment from a server path via The WordPress Logo for our integration WordPress.
When an order was created via The Woocommerce Logo for our integration Woocommerce, create an attachment from a server path via The WordPress Logo for our integration WordPress.
When a user was created via The WordPress Logo for our integration WordPress, create an attachment from a server path 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, create an attachment from a server path via The WordPress Logo for our integration WordPress.
When a booking was added via The Amelia Logo for our WP Webhooks integration Amelia, create an attachment from a server path via The WordPress Logo for our integration WordPress.
When a form was submitted via The Formidable Logo for our WP Webhooks integration Formidable Forms, create an attachment from a server path via The WordPress Logo for our integration WordPress.
When a new customer was created via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, create an attachment from a server path 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, create an attachment from a server path via The WordPress Logo for our integration WordPress.
When an email was sent via The WordPress Logo for our integration WordPress, create an attachment from a server path 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, create an attachment from a server path 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 server path via The WordPress Logo for our integration WordPress.
When an assignment was uploaded via The LearnDash Logo for our WP Webhooks integration LearnDash, create an attachment from a server path via The WordPress Logo for our integration WordPress.
When a user was deleted via The WordPress Logo for our integration WordPress, create an attachment from a server path via The WordPress Logo for our integration WordPress.
When a comment was deleted via The WordPress Logo for our integration WordPress, create an attachment from a server path 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.