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-stedi

v1.0.0

Published

n8n community node for Stedi healthcare clearinghouse - submit claims, check eligibility, retrieve ERA/835 remittance, and manage healthcare EDI transactions

Downloads

200

Readme

n8n-nodes-stedi

[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].


n8n License Node.js Healthcare

n8n community node for Stedi® healthcare clearinghouse integration

Automate the entire healthcare claims lifecycle including claim submission, eligibility verification, status checking, payment reconciliation, and attachment management.


📋 Table of Contents


Overview

This n8n community node integrates with Stedi, the API-first healthcare clearinghouse. It enables healthcare organizations to automate:

  • Professional Claims (837P) - CMS-1500 equivalent
  • Institutional Claims (837I) - UB-04 equivalent
  • Dental Claims (837D) - ADA dental claims
  • Eligibility Verification (270/271) - Real-time benefits check
  • Claim Status (276/277) - Track claim progress
  • Remittance Advice (835 ERA) - Payment reconciliation
  • Claim Acknowledgments (277CA) - Payer responses
  • Attachments (275) - Supporting documentation

Features

  • Complete Healthcare EDI Support - All major X12 transaction types
  • Real-time Operations - Eligibility, claim status, and submissions
  • Webhook Triggers - Listen for incoming transactions
  • Pagination Handling - Automatic pagination for large result sets
  • Error Handling - Detailed error messages from Stedi API
  • Test/Production Environments - Easy environment switching
  • TypeScript - Full type safety and IntelliSense support

Installation

Prerequisites

  • n8n version >= 0.200.0
  • Node.js >= 18.0.0
  • Stedi account with API key

Method 1: Install from npm (Recommended)

# In your n8n installation directory
npm install n8n-nodes-stedi

Method 2: Install from Source

# Clone the repository
git clone https://github.com/Velocity-BPA/n8n-nodes-stedi.git
cd n8n-nodes-stedi

# Install dependencies
npm install

# Build the project
npm run build

# Link to your n8n installation
npm link

# In your n8n directory
cd /path/to/n8n
npm link n8n-nodes-stedi

Method 3: Docker Installation

Add to your n8n Docker Compose or Dockerfile:

# In your custom n8n Dockerfile
FROM n8nio/n8n:latest
RUN npm install -g n8n-nodes-stedi

Method 4: Install from ZIP

  1. Download the latest release ZIP from GitHub
  2. Extract to your n8n custom nodes directory
  3. Restart n8n

Configuration

Step 1: Get Your Stedi API Key

  1. Log in to Stedi Dashboard
  2. Navigate to SettingsAPI Keys
  3. Create a new API key
  4. Copy the key (it won't be shown again)

Step 2: Configure Credentials in n8n

  1. In n8n, go to CredentialsAdd Credential
  2. Search for Stedi API
  3. Enter your API key
  4. Select environment: Test or Production
  5. Click Save

Environment Notes

  • Test Environment: Use for development. Stedi provides test payer IDs that return mock responses.
  • Production Environment: Live healthcare transactions. Ensure HIPAA compliance.

Resources & Operations

Professional Claim (837P)

Submit CMS-1500 equivalent claims for physician and outpatient services.

| Operation | Description | |-----------|-------------| | Submit | Submit a new professional claim | | Get PDF | Retrieve CMS-1500 PDF for a submitted claim |

Institutional Claim (837I)

Submit UB-04 equivalent claims for hospitals and facilities.

| Operation | Description | |-----------|-------------| | Submit | Submit institutional claim (JSON payload) |

Dental Claim (837D)

Submit dental claims with ADA procedure codes.

| Operation | Description | |-----------|-------------| | Submit | Submit dental claim (JSON payload) |

Eligibility (270/271)

Real-time patient eligibility and benefits verification.

| Operation | Description | |-----------|-------------| | Check | Verify patient coverage and benefits |

Claim Status (276/277)

Check the status of submitted claims.

| Operation | Description | |-----------|-------------| | Check | Query real-time claim status |

Remittance (835 ERA)

Retrieve Electronic Remittance Advice for payment reconciliation.

| Operation | Description | |-----------|-------------| | Get Report | Get specific ERA report | | List | List all available ERAs |

Claim Acknowledgment (277CA)

Retrieve payer acknowledgments for submitted claims.

| Operation | Description | |-----------|-------------| | Get Report | Get acknowledgment report |

Transaction

Manage transaction history across all types.

| Operation | Description | |-----------|-------------| | Get | Get transaction by ID | | Get Input | Get original request payload | | Get Output | Get response payload | | List | List all transactions | | Poll | Poll for new transactions |

Attachment (275)

Submit supporting documentation for claims.

| Operation | Description | |-----------|-------------| | Create | Create attachment submission | | Upload File | Upload attachment file |


Usage Examples

Example 1: Check Patient Eligibility

1. Add "Stedi" node
2. Select Resource: "Eligibility (270/271)"
3. Select Operation: "Check"
4. Configure:
   - Trading Partner Service ID: Your payer ID (e.g., "BCBSFL")
   - Provider NPI: Your 10-digit NPI
   - Subscriber Member ID: Patient's member ID
   - Service Type Codes: ["30"] for general coverage
5. Execute

Example 2: Submit Professional Claim

1. Add "Stedi" node
2. Select Resource: "Professional Claim (837P)"
3. Select Operation: "Submit"
4. Fill in required fields:
   - Control Number: Unique claim ID
   - Trading Partner Service ID: Payer ID
   - Submitter info
   - Subscriber (patient) info
   - Billing provider info
   - Diagnosis codes (ICD-10)
   - Service lines (CPT codes)
5. Execute

Example 3: Daily ERA Processing Workflow

Schedule Trigger (Daily 6am)
     ↓
Stedi: List Remittance (835)
     ↓
Loop: Process each ERA
     ↓
Match to original claims
     ↓
Update accounting system
     ↓
Send notification

Example 4: Pre-Visit Eligibility Check

Webhook Trigger (Appointment Created)
     ↓
Stedi: Check Eligibility
     ↓
IF eligible → Store benefits
     ↓
IF not eligible → Alert front desk

Testing

Run Unit Tests

npm test

Run Tests with Coverage

npm run test:coverage

Run Integration Tests

Set your Stedi test API key:

export STEDI_TEST_API_KEY="your-test-api-key"
npm test

Test Payer IDs

Use Stedi's documented test payer IDs for sandbox testing. Check Stedi Payer Network for available test payers.


Troubleshooting

Common Errors

"Invalid API Key"

  • Verify your API key in Stedi dashboard
  • Ensure no extra spaces in the key
  • Check environment matches (test vs production)

"Invalid Payer ID"

  • Search Stedi Payer Network for valid IDs
  • Different payers may use different service IDs
  • Some payers require enrollment before submission

"NPI Validation Failed"

"Invalid Diagnosis Code"

  • ICD-10 codes should not include periods
  • Example: Use "J069" not "J06.9"

"Date Format Error"

  • Use YYYY-MM-DD format in UI fields
  • API converts to YYYYMMDD automatically

Debug Mode

Enable n8n debug logs:

export N8N_LOG_LEVEL=debug
n8n start

License

This n8n community node is licensed under the Business Source License 1.1 (BSL 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 from Velocity BPA.

For licensing inquiries: [email protected]

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

Third-Party Notices

  • Stedi® is a registered trademark of Stedi, Inc. This node is not affiliated with or endorsed by Stedi.
  • n8n is a registered trademark of n8n GmbH.

Support

Documentation

Get Help

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

Author

Velocity BPA, LLC
Website: https://velobpa.com
GitHub: https://github.com/Velocity-BPA
Email: [email protected]


Built with ❤️ for the healthcare automation community