@catalogicus-international/n8n-nodes-avito-messenger
v0.1.0
Published
n8n community node for the Avito Messenger API
Downloads
78
Readme
@catalogicus-international/n8n-nodes-avito-messenger
Community node for the Avito Messenger API.
Features
- Bearer token credentials for the Avito API.
- Chat operations: get, get many, mark as read.
- Message operations: get many, send text.
- Webhook operations: get, set, delete.
- User operation: get the authenticated account.
- Custom API Call resource for endpoints that are not exposed as first-class operations yet.
Development
pnpm install
pnpm run build
pnpm run lintFor local n8n development:
pnpm run devCredentials
Create an Avito API OAuth access token and add it to the Avito Messenger API credential. The default base URL is:
https://api.avito.ruUsage
Use Chat, Message, Webhook, and User for common operations. For requests that need an Avito endpoint not listed in the node yet, use Custom API Call and pass a path relative to the base URL, for example:
/messenger/v2/accounts/{user_id}/chats
/messenger/v3/accounts/{user_id}/chats/{chat_id}/messages
/core/v1/accounts/selfAvailable Scripts
| Script | Description |
| --------------------- | --------------------------------------------------------------------------- |
| pnpm run dev | Start n8n with your node and watch for changes (runs n8n-node dev) |
| pnpm run build | Compile TypeScript to JavaScript for production (runs n8n-node build) |
| pnpm run build:watch | Build in watch mode (auto-rebuild on changes) |
| pnpm run lint | Check your code for errors and style issues (runs n8n-node lint) |
| pnpm run lint:fix | Automatically fix linting issues when possible (runs n8n-node lint --fix) |
| pnpm run release | Create a new release (runs n8n-node release) |
