personal-webhook

n8n nodes for Platform integration

Package Information

Released: 12 mo ago
Downloads: 6 weekly / 51 monthly
Latest Version: 0.1.0
Author: samyek sonawane

Documentation

n8n-nodes-platform

This package contains n8n nodes for integrating with the Platform API.

Installation

In n8n:

  1. Go to Settings > Community Nodes
  2. Select Install
  3. Enter n8n-nodes-platform in Enter npm package name
  4. Click Install

Manual installation:

npm install n8n-nodes-platform

Credentials

To use the Platform nodes, you need to create credentials with your Platform API key.

  1. Go to Credentials in n8n
  2. Click Create New
  3. Search for "Platform API"
  4. Enter your API key and base URL

Nodes

Platform

This node allows you to interact with various Platform resources:

Messaging

  • Send Message: Send a message to a user
  • Get Messages: Get messages from a conversation

CRM

  • Get Contact: Get a contact by ID
  • Create Contact: Create a new contact
  • Update Contact: Update an existing contact

Bot

  • Get Bot: Get a bot by ID
  • Trigger Bot: Trigger a bot workflow

Automation

  • Get Automation: Get an automation by ID
  • Trigger Automation: Trigger an automation workflow

Ecommerce

  • Get Product: Get a product by ID
  • Create Order: Create a new order

Example Usage

Send a Message

  1. Add a Platform node
  2. Select Messaging as the resource
  3. Select Send Message as the operation
  4. Enter the recipient ID and message text
  5. Execute the node

Create a Contact

  1. Add a Platform node
  2. Select CRM as the resource
  3. Select Create Contact as the operation
  4. Enter the contact data in JSON format
  5. Execute the node

Trigger an Automation

  1. Add a Platform node
  2. Select Automation as the resource
  3. Select Trigger Automation as the operation
  4. Enter the automation ID
  5. Enter the trigger data in JSON format
  6. Execute the node

Development

  1. Clone the repository
  2. Install dependencies: npm install
  3. Build the package: npm run build
  4. Link to n8n: npm link
  5. In your n8n installation directory: npm link n8n-nodes-platform

License

MIT

Discussion