Actions29
- Объявление Actions
- Автозагрузка Actions
- Продвижение Actions
- Рейтинги и Отзывы Actions
Overview
This node integrates with the Avito API, a popular online classifieds platform, to perform various operations related to listings (Объявления), promotions, ratings, and autoload features. Specifically, for the "Объявление" resource and the "Обновить Цену" (Update Price) operation, the node updates the price of an existing listing on Avito.
Typical use cases include automating price adjustments for items listed on Avito based on external data or business logic, such as dynamic pricing strategies, inventory changes, or promotional campaigns.
Example scenario: A seller wants to automatically update the prices of their listings daily based on competitor pricing or stock levels without manually editing each listing on Avito.
Properties
| Name | Meaning |
|---|---|
| ID Объявления | Unique numeric identifier of the listing to update. Required to specify which listing's price will be changed. |
| Цена | New price value to set for the specified listing. Must be a non-negative number. |
Output
The node outputs JSON objects representing the result of the executed operation per input item. For the "Обновить Цену" operation, the output JSON typically contains confirmation details from Avito about the updated listing, such as success status or updated fields.
If an error occurs during processing an item, the output JSON for that item will contain an error field with the error message.
No binary data output is involved in this operation.
Dependencies
- Requires an API authentication token credential for Avito (OAuth2-based).
- The node depends on the Avito API being accessible and the provided credentials having permissions to update listings.
- No additional environment variables are explicitly required beyond the configured API credentials.
Troubleshooting
Common issues:
- Invalid or missing listing ID (
ID Объявления) will cause the API call to fail. - Providing a negative price or invalid number format for
Ценаmay result in validation errors. - Authentication failures due to expired or incorrect API credentials.
- Network connectivity issues preventing access to Avito API endpoints.
- Invalid or missing listing ID (
Error messages:
"Unknown resource: ..."indicates the resource parameter was not recognized; ensure "item" is selected.- API error messages returned in the
errorfield can help diagnose issues like permission denied or invalid parameters.
Resolution tips:
- Verify that the listing ID exists and belongs to the authenticated user.
- Ensure the price is a valid non-negative number.
- Refresh or reconfigure API credentials if authentication errors occur.
- Enable "Continue On Fail" option to process multiple items even if some fail, capturing errors per item.
Links and References
- Avito API Documentation (official API docs, mostly in Russian)
- n8n documentation on creating custom nodes
- OAuth2 authentication setup guides within n8n for API credential configuration