Modules@robinpath/activecampaign

@robinpath/activecampaign

0.1.1Public

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

@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

npm install @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.

Related Modules

  • @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

Versions (1)

VersionTagPublished
0.1.1latestyesterday
Install
$ robinpath install @robinpath/activecampaign
Version0.1.1
LicenseMIT
Unpacked Size8.1 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

marketing