Avito icon

Avito

Взаимодействие с API Авито для бизнеса

Overview

This node integrates with the Avito API to manage various resources including ratings and reviews. Specifically, for the "Рейтинги и Отзывы" (Ratings and Reviews) resource, it supports operations such as deleting an answer to a review. This operation allows users to permanently remove their own responses to reviews on Avito.

Common scenarios where this node is beneficial include:

  • Moderating user-generated content by removing inappropriate or outdated answers.
  • Managing customer interaction by deleting incorrect or irrelevant responses.
  • Automating cleanup of review answers in bulk workflows.

For example, a business using Avito might automate the removal of outdated answers to customer reviews after a certain period or when the issue has been resolved offline.

Properties

Name Meaning
ID Ответа Unique numeric ID of the answer to the review that you want to delete. Must be a positive integer (minimum 1).
🗑️ Удаление ответа на отзыв

⚠️ Важно:
• Удаление ответа необратимо
• Можно удалить только свои ответы
• После удаления статистика может измениться

📋 Процесс:
• Запрос отправляется на сервер
• Возвращается success: true при успехе
• В случае ошибки - детальное описание проблемы

💡 Совет:
• Перед удалением убедитесь в правильности ID ответа
• Рассмотрите возможность редактирования вместо удаления
A notice field providing important information about the deletion process: it is irreversible, only your own answers can be deleted, statistics may change after deletion, and practical advice to verify the answer ID before proceeding.

Output

The node outputs JSON data indicating the result of the deletion request. On successful deletion, the output JSON contains:

{
  "success": true
}

If an error occurs, the output JSON will contain an error message describing the problem, for example:

{
  "error": "Detailed description of the problem"
}

No binary data is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Avito API.
  • The node depends on network connectivity to send requests to the Avito server.
  • No additional external services are required beyond the Avito API.
  • Proper configuration of the API authentication credentials within n8n is necessary.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent answer ID will cause the deletion to fail.
    • Attempting to delete answers that do not belong to the authenticated user will result in an authorization error.
    • Network or API downtime can cause request failures.
  • Error messages and resolutions:

    • "error": "Answer not found" — Verify the answer ID is correct and exists.
    • "error": "Unauthorized action" — Ensure the API credentials have permission to delete the specified answer; only your own answers can be deleted.
    • "error": "Request failed" or network errors — Check internet connection and Avito API status.
  • Best practices:

    • Double-check the answer ID before deletion since the action is irreversible.
    • Consider editing answers instead of deleting if appropriate.

Links and References

Discussion