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

@velocity-bpa/n8n-nodes-aftership

v1.0.0

Published

n8n community node for AfterShip - shipment tracking and delivery management platform

Downloads

139

Readme

n8n-nodes-aftership

[Velocity BPA Licensing Notice]

This n8n node is licensed under the Business Source License 1.1 (BSL 1.1).

Use of this node by for-profit organizations in production environments requires a commercial license from Velocity BPA.

For licensing information, visit https://velobpa.com/licensing or contact [email protected].

An n8n community node that integrates with AfterShip's shipment tracking platform. This node provides access to 5 core resources enabling comprehensive package tracking, courier management, checkpoint monitoring, notification handling, and webhook configuration for automated shipping workflows.

n8n Community Node License TypeScript Shipment Tracking Logistics E-commerce

Features

  • Shipment Tracking - Create, update, and monitor package deliveries across 1000+ couriers worldwide
  • Courier Management - Access comprehensive courier information and service capabilities
  • Checkpoint Analysis - Retrieve detailed delivery milestones and transit history
  • Smart Notifications - Configure and manage delivery status alerts for customers
  • Webhook Integration - Set up real-time tracking event notifications for automated workflows
  • Global Coverage - Support for international shipping with multi-language tracking
  • Delivery Analytics - Access performance metrics and delivery insights
  • Custom Fields - Add metadata and custom tracking parameters to shipments

Installation

Community Nodes (Recommended)

  1. Open n8n
  2. Go to SettingsCommunity Nodes
  3. Click Install a community node
  4. Enter n8n-nodes-aftership
  5. Click Install

Manual Installation

cd ~/.n8n
npm install n8n-nodes-aftership

Development Installation

git clone https://github.com/Velocity-BPA/n8n-nodes-aftership.git
cd n8n-nodes-aftership
npm install
npm run build
mkdir -p ~/.n8n/custom
ln -s $(pwd) ~/.n8n/custom/n8n-nodes-aftership
n8n start

Credentials Setup

| Field | Description | Required | |-------|-------------|----------| | API Key | Your AfterShip API key from dashboard settings | Yes | | API Environment | Production or Sandbox environment | Yes |

Resources & Operations

1. Tracking

| Operation | Description | |-----------|-------------| | Create | Add a new shipment to track with tracking number and courier | | Get | Retrieve tracking information for a specific shipment | | Update | Modify shipment details, add custom fields, or update delivery info | | Delete | Remove a shipment from tracking | | List | Get all tracked shipments with optional filtering | | Get Last Checkpoint | Retrieve the most recent tracking event | | Retrack | Reactivate tracking for expired or inactive shipments |

2. Courier

| Operation | Description | |-----------|-------------| | List All | Get complete list of supported courier services | | Get | Retrieve detailed information about a specific courier | | Detect | Automatically identify courier from tracking number format | | List User Couriers | Get couriers available to your account |

3. Checkpoint

| Operation | Description | |-----------|-------------| | Get | Retrieve all checkpoint events for a tracked shipment | | List | Get checkpoint history with filtering options |

4. Notification

| Operation | Description | |-----------|-------------| | Create | Set up delivery notifications for customers | | Get | Retrieve notification settings for a shipment | | Update | Modify notification preferences and recipients | | Delete | Remove notification configuration | | List | Get all configured notifications |

5. Webhook

| Operation | Description | |-----------|-------------| | Create | Configure webhook endpoints for tracking events | | Get | Retrieve webhook configuration details | | Update | Modify webhook URL and event triggers | | Delete | Remove webhook configuration | | List | Get all configured webhooks | | Test | Send test webhook payload to verify endpoint |

Usage Examples

// Create a new shipment tracking
{
  "tracking_number": "1Z999AA1234567890",
  "slug": "ups",
  "title": "iPhone Order #12345",
  "customer_name": "John Smith",
  "order_id": "ORD-12345",
  "custom_fields": {
    "product_name": "iPhone 14 Pro",
    "order_value": "$999.00"
  }
}
// Set up delivery notifications
{
  "tracking_id": "aftership_tracking_id",
  "emails": ["[email protected]", "[email protected]"],
  "smses": ["+1234567890"],
  "notification_preference": {
    "email": ["Delivered", "Exception", "Delivered"],
    "sms": ["Exception", "Delivered"]
  }
}
// Configure webhook for order management system
{
  "url": "https://yourstore.com/api/webhooks/aftership",
  "events": ["tracking.delivered", "tracking.exception", "tracking.expired"],
  "secret": "your_webhook_secret_key"
}
// Query shipments with filters
{
  "slug": "fedex",
  "delivery_time": "2024-01-15,2024-01-31",
  "status": "Delivered",
  "fields": "tracking_number,tag,checkpoints",
  "limit": 50
}

Error Handling

| Error | Description | Solution | |-------|-------------|----------| | 401 Unauthorized | Invalid or missing API key | Verify API key in credentials configuration | | 4001 Tracking Already Exists | Attempting to create duplicate tracking | Use update operation or check existing trackings first | | 4004 Tracking Not Found | Shipment doesn't exist in system | Verify tracking number and courier selection | | 4010 Invalid Tracking Number | Malformed or invalid tracking format | Validate tracking number format for selected courier | | 4020 Courier Not Supported | Selected courier not available | Use courier detection or check supported courier list | | 429 Rate Limited | API rate limit exceeded | Implement delays between requests or upgrade plan |

Development

npm install
npm run build
npm test
npm run lint
npm run dev

Author

Velocity BPA

Licensing

This n8n community node is licensed under the Business Source License 1.1.

Free Use

Permitted for personal, educational, research, and internal business use.

Commercial Use

Use of this node within any SaaS, PaaS, hosted platform, managed service, or paid automation offering requires a commercial license.

For licensing inquiries: [email protected]

See LICENSE, COMMERCIAL_LICENSE.md, and LICENSING_FAQ.md for details.

Contributing

Contributions are welcome! Please ensure:

  1. Code follows existing style conventions
  2. All tests pass (npm test)
  3. Linting passes (npm run lint)
  4. Documentation is updated for new features
  5. Commit messages are descriptive

Support