Overview
This node, named "Avito Send Message," is designed to send a message through the Avito platform. It requires authentication via a token and targets a specific user and chat by their IDs. The node is useful for automating communication workflows on Avito, such as sending notifications, alerts, or custom messages to users within chats.
Practical examples include:
- Sending automated responses to customer inquiries.
- Notifying users about updates or promotions.
- Integrating Avito messaging into broader automation pipelines.
Properties
Name | Meaning |
---|---|
Token | An authentication token used to authorize the API request to Avito. |
User Id | The identifier of the user who will receive the message. |
Chat Id | The identifier of the chat where the message will be sent. |
Message | The text content of the message to be sent to the specified user in the specified chat. |
Output
The node outputs a JSON array containing the response from the Avito API after attempting to send the message. This response typically includes details about the success or failure of the message delivery, such as status codes or confirmation data.
No binary data output is produced by this node.
Dependencies
- Requires access to the Avito API via an authentication token.
- The node depends on an external module (
AvitoApi
) that handles the actual API call to send the message. - Proper configuration of the token property with a valid API key or token is necessary for successful operation.
Troubleshooting
- Invalid Token or Authentication Failure: If the token is missing, expired, or invalid, the API call will fail. Ensure the token is correct and has the necessary permissions.
- Incorrect User Id or Chat Id: Providing wrong identifiers may result in errors or messages not being delivered. Verify these IDs are accurate.
- Empty Message: Sending an empty message might cause the API to reject the request. Always provide meaningful message content.
- API Rate Limits or Network Issues: Temporary failures can occur due to rate limiting or connectivity problems. Retry logic or error handling may be needed in workflows.
Common error messages will likely originate from the Avito API and should be interpreted according to Avito's documentation.
Links and References
- Avito API Documentation (for detailed API usage and authentication)
- n8n Documentation on Creating Custom Nodes