PropaGato icon

PropaGato

Manage social media content with PropaGato

Actions4

Media → Upload

AI-generated

Summary

Uploads a media file to a PropaGato campaign, specifying the file type and linking it to a campaign UUID.

Inputs

  • binaryPropertyName — Name of the binary property containing the file to upload (defaults to 'data').
  • mediaType (required) — The type of media to upload (options: 'image' or 'video').
  • uploadCampaignId — UUID of the campaign to link the media to (optional).

Output shape

One or more items, each containing the response data from the upload operation.

The operation normalizes responses by extracting the 'data' key if present; otherwise, it returns the top-level response object directly.

Examples

Example 1: Upload an image to a specific campaign

Set Media Type to 'image', provide a binary property containing the image, and include the Campaign UUID.

Example 2: Upload a video without linking to a campaign

Set Media Type to 'video', provide a binary property containing the video, and leave Campaign UUID empty.

Links

Discussion