salesmartly-npm

n8n community nodes for SaleSmartly

Package Information

Released: 7 mo ago
Downloads: 17 weekly / 94 monthly
Latest Version: 0.1.4
Author: SaleSmartly

Documentation

n8n-nodes-salesmartly

n8n community nodes for SaleSmartly.

Nodes

  • Trigger: SaleSmartly Message Trigger (salesmartlyMessageTrigger)
  • Action: SaleSmartly (getCustomerByChatUser)

Credentials

Create credentials: SaleSmartly API

  • Base URL: e.g. https://developer.salesmartly.com (production environment)
  • Token: the value used as request header n8n-token

Trigger payload

The trigger expects the webhook body like:

{
  "event": "message",
  "data": "{\"chat_user_id\":\"xxx\",\"chat_user\":{\"projectId\":1},\"mid\":\"m1\",\"send_time\":1700000000,\"msg_type\":\"text\",\"msg\":\"hi\"}"
}

Notes:

  • data is a stringified JSON and will be parsed again in the node.

Development

Build:

npm install
npm run build

Test:

npm test

Local n8n (Docker)

See dev-n8n/docker-compose.yml.

Discussion