Actions29
- Posts Actions
- Messages Actions
- Groups Actions
- Users Actions
- Photos Actions
Photos → Create Album
AI-generatedOverview
This node integrates with the VKontakte (VK) API to perform various actions related to photos, including creating photo albums. Specifically, for the "Photos" resource and the "Create Album" operation, it allows users to create a new photo album in their VK account or group. This is useful for organizing photos into albums programmatically within an automation workflow.
Practical examples:
- Automatically create a new photo album when a certain event occurs, such as receiving new images from another service.
- Organize uploaded photos into specific albums based on metadata or user input.
- Manage photo collections in bulk by creating albums before uploading photos.
Properties
| Name | Meaning |
|---|---|
| Count | Number of items to return (used for pagination in some operations; not directly relevant for album creation) |
| Offset | Offset for pagination (used for listing operations; not directly relevant for album creation) |
| Title | The title/name of the album to be created (required for the Create Album operation) |
Note: The Title property is used internally in the code for the "createAlbum" operation but was not included in the provided JSON properties snippet. It is required to specify the album's name.
Output
The output of the "Create Album" operation is a JSON object representing the response from the VK API after creating the album. This typically includes details about the newly created album such as its ID, title, and other metadata returned by VK.
The node outputs this data in the json field of the item, allowing subsequent nodes in the workflow to access album information for further processing.
No binary data output is involved in this operation.
Dependencies
- Requires an API authentication token credential for VKontakte API access.
- The node uses the VK API base URL
https://api.vk.com/method. - No additional external dependencies are indicated beyond the VK API and the configured credentials.
Troubleshooting
- Missing or invalid API credentials: Ensure that a valid VK API authentication token is configured in the node credentials.
- Missing album title: The "Create Album" operation requires a
titleparameter. Omitting this will likely cause an error from the VK API. - API rate limits or permission errors: If the VK API returns errors related to permissions or rate limiting, verify that the authenticated user has rights to create albums and that usage limits have not been exceeded.
- Unexpected errors: The node throws errors if an unknown operation is specified or if required parameters are missing. Check the operation and parameters carefully.
Links and References
- VKontakte Photos API documentation (Albums): https://vk.com/dev/photos.createAlbum
- VKontakte API general documentation: https://vk.com/dev/manuals