🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@robinpath/activecampaign

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@robinpath/activecampaign

ActiveCampaign REST API v3 — contacts, lists, tags, automations, deals, and campaigns. Uses the encrypted credential vault for Api-Token auth.

latest
npmnpm
Version
0.3.0
Version published
Maintainers
4
Created
Source

@robinpath/activecampaign

ActiveCampaign -- contacts, automations, campaigns, deals, lists, and tags via the ActiveCampaign REST API v3.

Category Functions Auth License

Why use this module?

Use the activecampaign module to integrate email-marketing capabilities into your RobinPath scripts.

Installation

robinpath add @robinpath/activecampaign

Quick Start

1. Set up credentials

activecampaign.setCredentials "mycompany" "your-api-token-here"

2. Retrieve a paginated list of all contacts in your account.

set $result as activecampaign.listContacts
set $contacts as $result.contacts

Available Functions

FunctionDescription
activecampaign.setCredentialsConfigure API credentials (account name + token)
activecampaign.listContactsList all contacts, optionally filtered
activecampaign.getContactGet a single contact by ID
activecampaign.createContactCreate a new contact
activecampaign.updateContactUpdate an existing contact by ID
activecampaign.deleteContactDelete a contact by ID
activecampaign.listListsList all mailing lists
activecampaign.getListGet a mailing list by ID
activecampaign.createListCreate a new mailing list
activecampaign.addContactToListSubscribe a contact to a list
activecampaign.removeContactFromListUnsubscribe a contact from a list
activecampaign.listTagsList all tags
activecampaign.createTagCreate a new tag
activecampaign.addTagToContactApply a tag to a contact
activecampaign.removeTagFromContactRemove a tag from a contact
activecampaign.listAutomationsList all automations
activecampaign.addContactToAutomationEnroll a contact into an automation
activecampaign.listDealsList all deals in the CRM
activecampaign.createDealCreate a new deal
activecampaign.updateDealUpdate an existing deal by ID
activecampaign.listCampaignsList all email campaigns

Examples

Retrieve a paginated list of all contacts in your account.

set $result as activecampaign.listContacts
set $contacts as $result.contacts

Retrieve a single contact by their ID.

set $result as activecampaign.getContact "42"
set $email as $result.contact.email
set $name as $result.contact.firstName

Create a new contact in ActiveCampaign.

set $result as activecampaign.createContact {"email": "jane@example.com", "firstName": "Jane", "lastName": "Doe", "phone": "+1234567890"}
set $newId as $result.contact.id

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/activecampaign";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  activecampaign.setCredentials "mycompany" "your-api-token-here"
  set $result as activecampaign.listContacts
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

  • @robinpath/hubspot — Full CRM with marketing, sales, and service hubs; alternative CRM integration
  • @robinpath/brevo — Alternative email marketing and transactional email platform
  • @robinpath/mailchimp — Email marketing with audience management and campaign analytics
  • @robinpath/slack — Send notifications to Slack channels when contacts are created or deals close
  • @robinpath/google-sheets — Export contact lists or deal pipelines to spreadsheets for reporting
  • @robinpath/json — Parse and construct the data objects required by ActiveCampaign functions

License

MIT

Keywords

activecampaign

FAQs

Package last updated on 06 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts