Webhook logo
WordPress.com logo

Workflow template

Upload media to WordPress.com from webhook URLs

Import publicly accessible image URLs into your selected WordPress.com Media Library. Send a media_urls array through an authenticated webhook; WordPress downloads the files subject to Site permissions and storage limits.

How it works

From public image URLs to WordPress.com media

1 Trigger · 1 Action
Webhook1 · Trigger

Incoming content webhook

Receive media_urls as a JSON array of public image URLs. A separate browser login or private file link is not supported by this starter's URL import.

WordPress.com2 · Action

Upload media from URLs

Import those URLs into the Media Library of the configured Site. WordPress fetches the files; the action does not create a page/post, set a featured image or configure private media access.

The result

Imported media entries on your chosen Site

Example WordPress.com media webhook JSON

{ "media_urls": [ "https://s1.wp.com/i/webclip.png" ] }

Included request using an official public WordPress image. This is not an executed upload. Media URL accessibility is controlled by WordPress rather than a draft-post setting in this template.

Before activation

Set up your workflow

  1. Connect WordPress.com and choose the Site

    Select the destination Site in the action. Check its media permissions, supported file types and remaining storage before allowing uploads.

  2. Prepare the public URL array and authenticate the source

    Send media_urls as an array of URLs WordPress can fetch directly. Protect the generated webhook with source authentication; the Site remains a fixed action setting.

  3. Inspect a controlled media import

    Activate and submit a suitable public test image URL. Check the Media Library and resulting URL access before repeating an uncertain request or importing a larger batch.

Details and limitations
  • WordPress downloads the source URLs. No FastHook File upload, private-source login or browser-session cookies are mapped. Use publicly accessible URLs and files the destination Site can accept.

  • Media import is separate from draft content. The action does not create a post/page or set a featured image. It also does not promise private attachment URLs; WordPress controls media accessibility.

  • Repeated imports can duplicate files. There is no existing-media lookup or update step. Repeated requests and manual reruns can import files again and use Site storage; inspect uncertain uploads before retrying.

Questions about this template

Can I send a URL that requires a separate login?

No. This starter imports publicly accessible URLs that WordPress can fetch. It does not configure private-source authentication or use your browser session.

Should media_urls be a string or an array?

Use a JSON array, as shown in the sample. Select the destination Site in the action; incoming Site fields do not override that setting.

Will imported media create a draft post or become private automatically?

No. It imports Media Library entries without creating a post/page or setting a featured image. Media URL accessibility is controlled by WordPress, so inspect it separately.

Can repeated requests upload duplicates?

Yes. No media lookup or upsert is configured. Reruns can import again, subject to supported file types, permissions and Site storage limits.

Explore connected apps