Overview
This node adds a webhook URL to the Avito service for receiving messages or notifications. It is useful when you want to automate workflows triggered by events from Avito, such as new messages or updates related to your listings. For example, you can use this node to register a webhook that listens for incoming messages on Avito and then process those messages automatically in your workflow.
Properties
| Name | Meaning |
|---|---|
| Avito Webhook | The URL of the webhook to add. |
| User Token | The user authentication token required to authorize the request. |
Output
The node outputs a JSON object with a single field:
status: A string indicating the result of the operation. If successful, it returns"ok".
Example output JSON:
[
{
"status": "ok"
}
]
No binary data is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the Avito API.
- Depends on an external Avito API client module (
AvitoApi) to perform the webhook registration. - The user must provide a valid user token and webhook URL.
Troubleshooting
- Invalid or missing tokens: Ensure the user token provided is correct and has sufficient permissions.
- Incorrect webhook URL: Verify the webhook URL is reachable and correctly formatted.
- API errors: If the Avito API rejects the request, check network connectivity and API status.
- Silent failures: Since the node logs parameters to the console, check the n8n execution logs for debugging information.
Links and References
- Avito API Documentation (general reference for API usage)
- n8n documentation on creating webhooks (for understanding webhook concepts)