hector

n8n community node for the Hector logistics API

Package Information

Downloads: 160 weekly / 160 monthly
Latest Version: 0.1.1

Documentation

n8n-nodes-hector

Community n8n node for the Hector logistics API.

Setup

  1. In n8n, go to Settings → Community Nodes → Install
  2. Enter: n8n-nodes-hector

Credentials

Create a Hector API credential with:

  • Client ID — from Settings → API in your Hector tenant
  • Client Secret — from Settings → API in your Hector tenant
  • Base URL — defaults to https://www.gethector.io

Action Node — Resources

Resource Operations
Clients List, Get, Create, Update, Delete, List Locations
Tasks List, Get, Create, Update, Delete, List Stops
Visits List, Get, Cancel
Drivers List, List Shifts, Create Shift, Delete Shift
Schedules Trigger Optimize
Webhooks List, Get, Create, Update, Delete

Trigger Node — Hector Trigger

Listens for real-time Hector events and starts a workflow when they occur.

Events:

  • task.created / task.updated / task.deleted
  • stop.created / stop.updated / stop.deleted
  • occurrence.status_changed

When the workflow activates, the node automatically registers a webhook in your Hector account. When deactivated, it removes it. Incoming payloads are verified using HMAC-SHA256.

Updating after API changes

# With the Hector dev server running:
cd packages/n8n-nodes-hector && npm run generate
npm run build

Discussion