npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-linq

v0.2.0

Published

Linq API integration for n8n

Readme

n8n-nodes-linq

Linq Partner API (v2) community node for n8n. This node lets you manage chats, messages (with attachments), phone numbers, webhooks, and contacts in Linq from your n8n workflows.

  • Package: n8n-nodes-linq
  • Node icon: included (SVG)
  • API version: v2
  • Auth: Integration Token (X-LINQ-INTEGRATION-TOKEN)

Installation (in n8n)

  • Using the n8n UI:

    1. Settings → Community Nodes → Install
    2. Enter: n8n-nodes-linq
    3. Restart n8n if prompted
  • Headless / environment variable:

    • Add n8n-nodes-linq to N8N_COMMUNITY_PACKAGES (or install with npm in your instance) and restart n8n.

Credentials

Create a new credential of type "Linq API" and set your Integration Token:

  • Header used: X-LINQ-INTEGRATION-TOKEN: <your token>
  • The field is hidden in the UI (password type).

Where it's defined:

Node usage

Add the "Linq" node to your workflow. The node provides Resources and Operations that map 1:1 to the documented Linq Partner API endpoints.

Supported resources and operations

The node implements all endpoints from your Linq Partner API documentation (v2):

  • Resource: Chat

    • Operations:
      • Get Many → GET /chats (requires phone_number; pagination supported)
      • Get One → GET /chats/:id
      • Find → GET /chats/find (requires your phone_number and phone_numbers[] of participants)
      • Create → POST /chats (requires send_from, supports group chats via phone_numbers[], optional display name, initial message.text)
      • Share Contact → POST /chats/{chat_id}/share_contact (chat_id required; feature must be enabled by Linq)
  • Resource: Chat Message

    • Operations:
      • Get Many → GET /chats/{chat_id}/chat_messages
      • Get One → GET /chat_messages/:id
      • Create → POST /chats/{chat_id}/chat_messages (supports text, optional attachment_urls[], optional idempotency_key)
      • Delete → DELETE /chat_messages/:id
      • Edit → POST /chat_messages/:id/edit (text)
      • React → POST /chat_messages/:id/reactions (reaction)
      • Get Reaction → GET /chat_message_reactions/:reaction_id
  • Resource: Phone Number

    • Operations:
      • Get Many → GET /phone_numbers
      • Update → PUT /phone_numbers/:id (optional forward_to, optional label)
  • Resource: Webhook Subscription

    • Operations:
      • Get Many → GET /webhook_subscriptions
      • Get One → GET /webhook_subscriptions/:id
      • Create → POST /webhook_subscriptions
      • Update → PUT /webhook_subscriptions/:id
      • Delete → DELETE /webhook_subscriptions/:id
  • Resource: Contact

    • Operations:
      • Create → POST /contacts
      • Get One → GET /contacts/:id
      • Update → PUT /contacts/:id
      • Delete → DELETE /contacts/:id

Linq Trigger Node

Add the "Linq Trigger" node to automatically start workflows when Linq events occur. The node automatically registers a webhook with Linq when the workflow is activated.

  • Supported Events:

    • Message Sent (message.sent)
    • Message Received (message.received)
    • Message Read (message.read)
    • Call Completed (call.completed)
    • Contact Created (contact.created)
    • Contact Updated (contact.updated)
    • Contact Deleted (contact.deleted)
  • Configuration:

    1. Add the "Linq Trigger" node to your workflow
    2. Select which events should trigger the workflow
    3. Activate the workflow (this registers the webhook with Linq)
    4. Linq will send events to your workflow when they occur
  • Security:

    • The node verifies the signature of incoming events using HMAC-SHA256
    • Requires the same Linq API credentials as the main node

Example workflows

  1. Send a group message
  • Resource: Chat
  • Operation: Create
  • Fields:
    • Send From (required): +13175551234
    • Display Name (optional): Project A
    • Phone Numbers: +13341234567, +13347654321
    • Message Text: Hello from n8n!
  1. Create a contact
  • Resource: Contact
  • Operation: Create
  • Fields:
  1. Manage webhook subscriptions
  • Resource: Webhook Subscription
  • Operation: Create
  • Fields:
    • Webhook URL: https://example.com/webhooks/linq
    • Events: message.sent, message.received, contact.created
    • Version: 2
    • Active: true
  1. Update phone number forwarding
  • Resource: Phone Number
  • Operation: Update
  • Fields:
    • Phone Number ID: <id>
    • Forward To (optional): +15551230000
    • Label (optional): Support Line

Development

Requirements:

  • Node.js ≥ 20
  • npm or pnpm (npm commands shown below)
  • n8n local instance if testing end-to-end

Install and build:

cd n8n-nodes-linq
npm install
npm run build
npm run lint

Local link for testing in a local n8n:

# in this folder
npm link
# in your n8n folder
npm link n8n-nodes-linq
# restart n8n, then add "Linq" node

Project files of interest:

Publishing to npm

  1. Ensure metadata is correct in package.json

    • name: n8n-nodes-linq
    • version: increment for each release, e.g. 0.1.0
    • author: "alexautomates"
    • keywords include: n8n-community-node-package
    • files: ["dist"] to publish only built files
    • n8n block lists built nodes and credentials in dist/
  2. Build and publish:

npm run build
npm publish --access public
  1. Users can install from the n8n UI (Community Nodes) by typing n8n-nodes-linq.

Icon / Branding

  • Icon file is included at: nodes/Linq/linq.svg
  • Node description references it as icon: 'file:linq.svg', so it renders in the n8n UI.

License