Actions25
- Account Actions
- Analytics Actions
- Job Status Actions
- Location Actions
- Media Actions
- Post Actions
- User Actions
- Workspace Actions
Media → Upload From URL
AI-generatedOverview
This node operation uploads media files to Publer from specified URLs. It supports uploading single or multiple media items, optionally saving them in the media library or directly uploading to social networks without storing a copy. This is useful for automating media management and publishing workflows by fetching media from external URLs and integrating them into Publer's media library or directly to social accounts.
Use Case Examples
- Automatically upload images from a URL to your Publer media library for later use in social media posts.
- Directly upload media from URLs to social networks without storing a copy in Publer, saving storage space.
- Upload multiple media items as a carousel or gallery by specifying multiple URLs in one operation.
Properties
| Name | Meaning |
|---|---|
| Workspace | The workspace that owns the media library. Defaults to the workspace configured in the credentials. |
| Direct Upload | Whether Publer should attempt to upload directly to networks without storing a copy. |
| Save in Media Library | Whether to save the uploaded media in the media library. |
| Media | Collection of media items to upload, each with URL, optional name, caption, and source identifier. |
| Payload Type | Whether to treat the payload as a single media asset or a collection (carousel/gallery). |
Output
JSON
id- Unique identifier of the uploaded media item.url- URL of the uploaded media item.name- Name of the media item, if provided.caption- Caption or attribution for the media item.source- Source identifier of the media item, e.g., 'unsplash'.type- Type of media uploaded (image, video, etc.).direct_upload- Indicates if the media was directly uploaded to networks without storing a copy.in_library- Indicates if the media is saved in the media library.
Dependencies
- Requires Publer API access with appropriate credentials (API key or token).
Troubleshooting
- Ensure the media URLs are valid and accessible; invalid URLs will cause upload failures.
- If 'Direct Upload' is enabled, some networks may reject the upload if they require media to be stored first.
- The 'Media' collection must contain at least one media item; otherwise, the node throws an error.
- Check workspace permissions and ensure the workspace ID is correct to avoid authorization errors.
Links
- Publer API Documentation - Official API documentation for Publer, detailing endpoints and usage.