Overview
This node is designed to add a webhook URL to the Avito service using a user-provided token. It allows users to register a webhook endpoint where Avito can send event notifications or messages. This is useful for automating workflows that depend on real-time updates from Avito, such as monitoring new listings, messages, or other activities.
Practical examples include:
- Automatically triggering downstream processes when a new message arrives on Avito.
- Integrating Avito events with CRM or notification systems by receiving webhook callbacks.
Properties
| Name | Meaning |
|---|---|
| Avito Webhook | The URL of the webhook endpoint to register with Avito. |
| User Token | The authentication token used to authorize the webhook registration request. |
Output
The node outputs a JSON object with a single field:
{
"status": "ok"
}
This indicates that the webhook was successfully added. There is no binary data output.
Dependencies
- Requires an API key credential for authenticating with Avito's API.
- Depends on an external module (
AvitoApi) which provides the method to add the webhook. - The node expects the environment to have network access to Avito's API endpoints.
Troubleshooting
Common issues:
- Invalid or expired user token may cause authorization failures.
- Incorrect webhook URL format could lead to registration errors.
- Network connectivity problems might prevent communication with Avito's API.
Error messages and resolutions:
- If the node fails silently or returns an error from the API call, verify that the user token is valid and has the necessary permissions.
- Ensure the webhook URL is publicly accessible and uses HTTPS if required by Avito.
- Check network settings and firewall rules to allow outbound requests to Avito.
Links and References
- Avito API Documentation (for detailed API usage and webhook setup)
- n8n documentation on creating custom nodes