avito-messenger

n8n community node for the Avito Messenger API

Package Information

Released: 4 mo ago
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.0
Author: Catalogicus International

Available Nodes

Documentation generating…

Documentation

@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 lint

For local n8n development:

pnpm run dev

Credentials

Create an Avito API OAuth access token and add it to the Avito Messenger API credential. The default base URL is:

https://api.avito.ru

Usage

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/self

Available 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)

Resources

License

MIT

Discussion