Actions29
- Posts Actions
- Messages Actions
- Groups Actions
- Users Actions
- Photos Actions
Posts → Create Post
AI-generatedOverview
The node "N8N Tools VK" enables interaction with the VKontakte (VK) social network API. Specifically, for the Posts resource and the Create Post operation, it allows users to create new posts on a VK wall. This is useful for automating content publishing on personal profiles, community groups, or pages managed by the user.
Typical scenarios include:
- Automatically posting updates, announcements, or marketing messages to a VK profile or group.
- Scheduling posts as part of a social media automation workflow.
- Integrating VK post creation into broader business processes like CRM or content management systems.
Example: A marketing team can use this node to automatically publish promotional messages to their VK group whenever a new product launches.
Properties
| Name | Meaning |
|---|---|
| Owner ID | The identifier of the owner of the wall where the post will be created. Use negative values to specify groups instead of users. |
| Count | Number of items to return (not directly relevant for creating a post but part of general post parameters). |
| Offset | Offset for pagination (not directly relevant for creating a post but part of general post parameters). |
| Message | The text content of the post to be published. |
Output
The output of the node is a JSON object representing the response from the VK API after attempting to create the post. This typically includes details such as the post ID, timestamps, and confirmation that the post was successfully created.
If an error occurs during the API call, the output JSON will contain an error field with the error message.
The node does not output binary data.
Dependencies
- Requires an API key credential for VKontakte OAuth2 authentication configured in n8n.
- Depends on the VKontakte API endpoint
https://api.vk.com/method. - Uses a bundled VKApi helper class to interact with various VK API methods.
Troubleshooting
Common issues:
- Invalid or missing Owner ID: Ensure the Owner ID is correctly specified; use negative numbers for groups.
- Insufficient permissions: The API token must have rights to post on the specified wall.
- Network or API errors: Check connectivity and VK API status.
Error messages:
"Unknown operation: createPost": Indicates a misconfiguration in the operation parameter; ensure "Create Post" is selected.- API errors returned from VK will appear in the output's
errorfield. Review the message for details such as permission denied or invalid parameters.
To resolve errors, verify credentials, input parameters, and VK API documentation for required scopes and limits.