Avito Add Webhook icon

Avito Add Webhook

des

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:

[
  {
    "status": "ok"
  }
]

Dependencies

  • Requires an API key credential for authenticating with the Avito API.
  • Uses an external module (AvitoApi) which provides the method to add the webhook.
  • The node expects valid user tokens and webhook URLs to function correctly.

Troubleshooting

  • Invalid Token or Authentication Failure: If the provided user token is invalid or expired, the API call will fail. Ensure the token is correct and has necessary permissions.
  • Invalid Webhook URL: The webhook URL must be a valid, reachable endpoint. Invalid URLs may cause the API to reject the request.
  • Network Issues: Connectivity problems between n8n and Avito API can cause failures. Verify network access and API availability.
  • Missing Required Parameters: Both the webhook URL and user token are required. Omitting either will prevent the node from executing properly.

Links and References

Discussion