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

@nodesconnect/piece-ada-bmp

v0.1.1

Published

ADA BMP is a multi-channel messaging platform integration for Activepieces that supports:

Readme

ADA BMP Piece

ADA BMP is a multi-channel messaging platform integration for Activepieces that supports:

  • WhatsApp
  • Facebook Messenger
  • Line
  • Instagram

Configuration

Environment Variables

The API URL and other settings can be configured using environment variables:

  • ADA_BMP_API_URL: Base URL for the ADA BMP API (default: https://api.ada-bmp.com)
  • ADA_BMP_DEBUG: Enable debug logging (default: false)
  • ADA_BMP_TIMEOUT: Request timeout in milliseconds (default: 30000)
  • ADA_BMP_API_VERSION: API version (default: v1)

Configuration Examples

# Production (default)
export ADA_BMP_API_URL=https://api.ada-bmp.com

# Staging Environment
export ADA_BMP_API_URL=https://api-staging.ada-bmp.com
export ADA_BMP_DEBUG=true

# Local Development
export ADA_BMP_API_URL=http://localhost:8080
export ADA_BMP_DEBUG=true

See ENV_CONFIG.md for detailed configuration instructions.

Authentication

This piece uses API token authentication. You'll need to provide your ADA BMP API token which will be validated against the /user/checkToken endpoint.

Actions

Send Message

Send a message through any of the supported channels (WhatsApp, Facebook, Line, or Instagram).

Inputs:

  • Channel: Select the messaging channel from the dropdown
  • Recipient ID: The ID of the recipient (phone number, user ID, etc.)
  • Message: The text message to send

Custom API Call

Make custom API calls to the ADA BMP API with your authentication token automatically included.

API Endpoints

The following endpoints are used (with configurable base URL):

  • POST /user/checkToken - Token validation
  • GET /channels - List available channels
  • POST /messages/send - Send a message

Usage

  1. Configure Environment (optional):

    export ADA_BMP_API_URL=https://your-api-url.com
  2. Create a new flow in Activepieces

  3. Add the ADA BMP piece

  4. Connect your account using your API token

  5. Select the channel from the dropdown (WhatsApp, Facebook, Line, or Instagram)

  6. Configure the message details

  7. Save and test your flow

Development

The configuration is centralized in src/lib/common/config.ts. All API URLs are constructed from the environment variable or default value.

Troubleshooting

Enable Debug Logging

export ADA_BMP_DEBUG=true
npm run dev

This will show detailed logs for all API calls:

  • Token validation
  • Channel fetching
  • Message sending

Test with Different Environments

You can easily switch between environments by changing the ADA_BMP_API_URL:

# Test with staging
ADA_BMP_API_URL=https://api-staging.ada-bmp.com npm run dev

# Test with local mock
ADA_BMP_API_URL=http://localhost:8080 npm run dev

Files

  • src/index.ts - Main piece definition
  • src/lib/common/config.ts - Configuration management
  • src/lib/common/props.ts - Property definitions (channel dropdown, etc.)
  • src/lib/actions/send-message.ts - Send message action
  • ENV_CONFIG.md - Detailed configuration guide