Actions3
- Account Actions
- Media Actions
- Post Actions
Overview
This node integrates with the PostPulse API to manage social media content. Specifically, for the Media resource with the Upload operation, it allows users to upload media files (such as images or videos) to the PostPulse platform. This is useful in workflows where you want to programmatically add media assets before attaching them to social media posts or campaigns.
Practical examples include:
- Automatically uploading images from a form submission to PostPulse.
- Adding video files stored in your workflow’s binary data to your social media library.
- Preparing media assets for scheduled posts or drafts managed via PostPulse.
Properties
| Name | Meaning |
|---|---|
| Input Binary Field | Name of the binary property that contains the file to upload. Default is "data". |
Output
The node outputs JSON data representing the result of the media upload operation. This typically includes metadata about the uploaded media such as its ID, URL, or status returned by the PostPulse API.
If the input binary field contains a file, the node uploads this file and returns information about the uploaded media item in the json output.
No explicit binary output is indicated, so the node primarily outputs JSON metadata about the uploaded media.
Dependencies
- Requires an active connection to the PostPulse API.
- Needs an API authentication token configured in the node credentials (an OAuth2 or similar API key credential).
- The node expects the binary data containing the media file to be available under the specified binary property name.
Troubleshooting
Common issues:
- If the binary property name does not match any binary data in the input, the upload will fail.
- Invalid or expired API credentials will cause authentication errors.
- Unsupported file types or exceeding size limits imposed by PostPulse may cause upload failures.
Error messages:
- Errors related to missing binary data: Ensure the binary property name matches the actual binary input.
- Authentication errors: Verify that the API key or OAuth token is correctly set up and valid.
- API response errors: Check the PostPulse API documentation for error codes related to media uploads.
Links and References
- PostPulse API Documentation (hypothetical link)
- n8n Documentation on Working with Binary Data
- General info on OAuth2 Credentials Setup in n8n