How to integrate Active campaign MCP with CrewAI

This guide walks you through connecting Active campaign to CrewAI using the Composio tool router. By the end, you'll have a working Active campaign agent that can add a note to john doe's contact record, create a new contact with email and tags, add contact jane@company.com to 'welcome series' automation through natural language commands. This guide will help you understand how to give your CrewAI agent real control over a Active campaign account through Composio's Active campaign MCP server. Before we dive in, let's take a quick look at the key ideas and tools involved.

Active campaign logoActive campaign
Api Key

ActiveCampaign is a marketing automation and CRM platform for managing email campaigns, sales pipelines, and customer segmentation. It helps businesses engage customers and drive growth through smart automation and targeted outreach.

298 Tools

Introduction

This guide walks you through connecting Active campaign to CrewAI using the Composio tool router. By the end, you'll have a working Active campaign agent that can add a note to john doe's contact record, create a new contact with email and tags, add contact jane@company.com to 'welcome series' automation through natural language commands.

This guide will help you understand how to give your CrewAI agent real control over a Active campaign account through Composio's Active campaign MCP server.

Before we dive in, let's take a quick look at the key ideas and tools involved.

Also integrate Active campaign with

TL;DR

Here's what you'll learn:
  • Get a Composio API key and configure your Active campaign connection
  • Set up CrewAI with an MCP enabled agent
  • Create a Tool Router session or standalone MCP server for Active campaign
  • Build a conversational loop where your agent can execute Active campaign operations

What is CrewAI?

CrewAI is a powerful framework for building multi-agent AI systems. It provides primitives for defining agents with specific roles, creating tasks, and orchestrating workflows through crews.

Key features include:

  • Agent Roles: Define specialized agents with specific goals and backstories
  • Task Management: Create tasks with clear descriptions and expected outputs
  • Crew Orchestration: Combine agents and tasks into collaborative workflows
  • MCP Integration: Connect to external tools through Model Context Protocol

What is the Active campaign MCP server, and what's possible with it?

The ActiveCampaign MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your ActiveCampaign account. It provides structured and secure access to your marketing automation and CRM data, so your agent can perform actions like adding contacts, managing deals, creating tasks, and organizing pipelines on your behalf.

  • Automated contact management: Easily add new contacts, update details, or attach notes so your customer database stays current and actionable.
  • Sales pipeline creation and management: Let your agent create, customize, or delete deal pipelines and organize deals through every stage of your sales process.
  • Task and activity automation: Have your agent create tasks for contacts and deals, assign due dates, and ensure important follow-ups never slip through the cracks.
  • Deal and account organization: Automatically create, update, or remove accounts and associate them with the right contacts and opportunities for seamless CRM workflows.
  • Seamless automation enrollment: Add contacts directly to specific automations, personalizing your marketing or sales outreach at scale without manual effort.

What is the Composio tool router, and how does it fit here?

What is Composio SDK?

Composio's Composio SDK helps agents find the right tools for a task at runtime. You can plug in multiple toolkits (like Gmail, HubSpot, and GitHub), and the agent will identify the relevant app and action to complete multi-step workflows. This can reduce token usage and improve the reliability of tool calls. Read more here: Getting started with Composio SDK

The tool router generates a secure MCP URL that your agents can access to perform actions.

How the Composio SDK works

The Composio SDK follows a three-phase workflow:

  1. Discovery: Searches for tools matching your task and returns relevant toolkits with their details.
  2. Authentication: Checks for active connections. If missing, creates an auth config and returns a connection URL via Auth Link.
  3. Execution: Executes the action using the authenticated connection.

Step-by-step Guide

Step by step08 STEPS
1

Prerequisites

Before starting, make sure you have:
  • Python 3.9 or higher
  • A Composio account and API key
  • A Active campaign connection authorized in Composio
  • An OpenAI API key for the CrewAI LLM
  • Basic familiarity with Python
2

Getting API Keys for OpenAI and Composio

OpenAI API Key
  • Go to the OpenAI dashboard and create an API key. You'll need credits to use the models, or you can connect to another model provider.
  • Keep the API key safe.
Composio API Key
  • Log in to the Composio dashboard.
  • Navigate to your API settings and generate a new API key.
  • Store this key securely as you'll need it for authentication.
3

Install dependencies

bash
pip install composio crewai crewai-tools[mcp] python-dotenv
What's happening:
  • composio connects your agent to Active campaign via MCP
  • crewai provides Agent, Task, Crew, and LLM primitives
  • crewai-tools[mcp] includes MCP helpers
  • python-dotenv loads environment variables from .env
4

Set up environment variables

bash
COMPOSIO_API_KEY=your_composio_api_key_here
USER_ID=your_user_id_here
OPENAI_API_KEY=your_openai_api_key_here

Create a .env file in your project root.

What's happening:

  • COMPOSIO_API_KEY authenticates with Composio
  • USER_ID scopes the session to your account
  • OPENAI_API_KEY lets CrewAI use your chosen OpenAI model
5

Import dependencies

python
import os
from composio import Composio
from crewai import Agent, Task, Crew
from crewai_tools import MCPServerAdapter
import dotenv

dotenv.load_dotenv()

COMPOSIO_API_KEY = os.getenv("COMPOSIO_API_KEY")
COMPOSIO_USER_ID = os.getenv("COMPOSIO_USER_ID")

if not COMPOSIO_API_KEY:
    raise ValueError("COMPOSIO_API_KEY is not set")
if not COMPOSIO_USER_ID:
    raise ValueError("COMPOSIO_USER_ID is not set")
What's happening:
  • CrewAI classes define agents and tasks, and run the workflow
  • MCPServerHTTP connects the agent to an MCP endpoint
  • Composio will give you a short lived Active campaign MCP URL
6

Create a Composio Tool Router session for Active campaign

python
composio_client = Composio(api_key=COMPOSIO_API_KEY)
session = composio_client.create(user_id=COMPOSIO_USER_ID, toolkits=["active_campaign"])

url = session.mcp.url
What's happening:
  • You create a Active campaign only session through Composio
  • Composio returns an MCP HTTP URL that exposes Active campaign tools
7

Initialize the MCP Server

python
server_params = {
    "url": url,
    "transport": "streamable-http",
    "headers": {"x-api-key": COMPOSIO_API_KEY},
}

with MCPServerAdapter(server_params) as tools:
    agent = Agent(
        role="Search Assistant",
        goal="Help users search the internet effectively",
        backstory="You are a helpful assistant with access to search tools.",
        tools=tools,
        verbose=False,
        max_iter=10,
    )
What's Happening:
  • Server Configuration: The code sets up connection parameters including the MCP server URL, streamable HTTP transport, and Composio API key authentication.
  • MCP Adapter Bridge: MCPServerAdapter acts as a context manager that converts Composio MCP tools into a CrewAI-compatible format.
  • Agent Setup: Creates a CrewAI Agent with a defined role (Search Assistant), goal (help with internet searches), and access to the MCP tools.
  • Configuration Options: The agent includes settings like verbose=False for clean output and max_iter=10 to prevent infinite loops.
  • Dynamic Tool Usage: Once created, the agent automatically accesses all Composio Search tools and decides when to use them based on user queries.
8

Create a CLI Chatloop and define the Crew

python
print("Chat started! Type 'exit' or 'quit' to end.\n")

conversation_context = ""

while True:
    user_input = input("You: ").strip()

    if user_input.lower() in ["exit", "quit", "bye"]:
        print("\nGoodbye!")
        break

    if not user_input:
        continue

    conversation_context += f"\nUser: {user_input}\n"
    print("\nAgent is thinking...\n")

    task = Task(
        description=(
            f"Conversation history:\n{conversation_context}\n\n"
            f"Current request: {user_input}"
        ),
        expected_output="A helpful response addressing the user's request",
        agent=agent,
    )

    crew = Crew(agents=[agent], tasks=[task], verbose=False)
    result = crew.kickoff()
    response = str(result)

    conversation_context += f"Agent: {response}\n"
    print(f"Agent: {response}\n")
What's Happening:
  • Interactive CLI Setup: The code creates an infinite loop that continuously prompts for user input and maintains the entire conversation history in a string variable.
  • Input Validation: Empty inputs are ignored to prevent processing blank messages and keep the conversation clean.
  • Context Building: Each user message is appended to the conversation context, which preserves the full dialogue history for better agent responses.
  • Dynamic Task Creation: For every user input, a new Task is created that includes both the full conversation history and the current request as context.
  • Crew Execution: A Crew is instantiated with the agent and task, then kicked off to process the request and generate a response.
  • Response Management: The agent's response is converted to a string, added to the conversation context, and displayed to the user, maintaining conversational continuity.

Complete Code

Here's the complete code to get you started with Active campaign and CrewAI:

python
from crewai import Agent, Task, Crew, LLM
from crewai_tools import MCPServerAdapter
from composio import Composio
from dotenv import load_dotenv
import os

load_dotenv()

GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
COMPOSIO_API_KEY = os.getenv("COMPOSIO_API_KEY")
COMPOSIO_USER_ID = os.getenv("COMPOSIO_USER_ID")

if not GOOGLE_API_KEY:
    raise ValueError("GOOGLE_API_KEY is not set in the environment.")
if not COMPOSIO_API_KEY:
    raise ValueError("COMPOSIO_API_KEY is not set in the environment.")
if not COMPOSIO_USER_ID:
    raise ValueError("COMPOSIO_USER_ID is not set in the environment.")

# Initialize Composio and create a session
composio = Composio(api_key=COMPOSIO_API_KEY)
session = composio.create(
    user_id=COMPOSIO_USER_ID,
    toolkits=["active_campaign"],
)
url = session.mcp.url

# Configure LLM
llm = LLM(
    model="gpt-5",
    api_key=os.getenv("OPENAI_API_KEY"),
)

server_params = {
    "url": url,
    "transport": "streamable-http",
    "headers": {"x-api-key": COMPOSIO_API_KEY},
}

with MCPServerAdapter(server_params) as tools:
    agent = Agent(
        role="Search Assistant",
        goal="Help users with internet searches",
        backstory="You are an expert assistant with access to Composio Search tools.",
        tools=tools,
        llm=llm,
        verbose=False,
        max_iter=10,
    )

    print("Chat started! Type 'exit' or 'quit' to end.\n")

    conversation_context = ""

    while True:
        user_input = input("You: ").strip()

        if user_input.lower() in ["exit", "quit", "bye"]:
            print("\nGoodbye!")
            break

        if not user_input:
            continue

        conversation_context += f"\nUser: {user_input}\n"
        print("\nAgent is thinking...\n")

        task = Task(
            description=(
                f"Conversation history:\n{conversation_context}\n\n"
                f"Current request: {user_input}"
            ),
            expected_output="A helpful response addressing the user's request",
            agent=agent,
        )

        crew = Crew(agents=[agent], tasks=[task], verbose=False)
        result = crew.kickoff()
        response = str(result)

        conversation_context += f"Agent: {response}\n"
        print(f"Agent: {response}\n")

Conclusion

You now have a CrewAI agent connected to Active campaign through Composio's Tool Router. The agent can perform Active campaign operations through natural language commands.

Next steps:

  • Add role-specific instructions to customize agent behavior
  • Plug in more toolkits for multi-app workflows
  • Chain tasks for complex multi-step operations
TOOLS

Supported Tools

Every Active campaign action and event your agent gets out of the box.

Add Browse Session to Cart

Set a browse session to have addedToCart flag set to true in ActiveCampaign.

Add contact note

Add a note to a contact in ActiveCampaign.

Add Contact to Automation

Adds an existing ActiveCampaign contact to a specific automation workflow.

Add contact to list

Tool to add a contact to a list in ActiveCampaign.

Add Custom Field

Tool to add a new custom field in ActiveCampaign.

Add Custom Field Options

Tool to add custom field options in bulk to ActiveCampaign.

Add Custom Field to Field Group

Tool to add a custom field to a field group in ActiveCampaign.

Add Domain to Site Tracking Whitelist

Add a domain to ActiveCampaign's site tracking whitelist.

Add Field Relationship

Add a field relationship in ActiveCampaign.

Add Secondary Contact to Deal

Adds a secondary contact to an existing deal in ActiveCampaign.

Add Tag to Contact

Tool to add a tag to a contact in ActiveCampaign.

Create Account

Creates a new account in ActiveCampaign.

Create Account Contact Association

Tool to create a new account-contact association in ActiveCampaign.

Create Account Custom Field Data

Creates a custom field value for an account in ActiveCampaign.

Create Account Custom Field Metadata

Tool to create a new account custom field metadata in ActiveCampaign.

Create Account Note

Tool to create a new note for an account in ActiveCampaign.

Create Address

Tool to create a new address in ActiveCampaign.

Create a Deal Note

Tool to create a note for a specific deal in ActiveCampaign.

Create An Order

Tool to create an e-commerce order in ActiveCampaign.

Create Tag with Type

Tool to create a new tag in ActiveCampaign with explicit tag type specification.

Bulk Create Account Custom Field Data

Tool to bulk create custom field values for accounts in ActiveCampaign.

Create Calendar Feed

Tool to create a new calendar feed in ActiveCampaign.

Create Campaign

Tool to create a new campaign in ActiveCampaign.

Create Child Schema

Tool to create a child schema in ActiveCampaign.

Create Connection

Tool to create a new connection in ActiveCampaign.

Create contact task

Create a task associated with a contact in ActiveCampaign.

Create Customer

Tool to create an e-commerce customer in ActiveCampaign.

Create Deal Custom Field Metadata

Tool to create a new deal custom field metadata in ActiveCampaign.

Create Deal Pipeline

Creates a new deal pipeline in ActiveCampaign.

Create Deal Role

Tool to create a new deal role in ActiveCampaign.

Create Deal Stage

Tool to create a new stage in an ActiveCampaign deal pipeline.

Create Deal Task Type

This tool creates a new deal task type in ActiveCampaign.

Create Duplicate Campaign

Tool to duplicate an existing campaign in ActiveCampaign.

Create Event Tracking Event

Tool to create a new event tracking event in ActiveCampaign.

Create Form Opt-in

Submit a form opt-in for a specific form in ActiveCampaign.

Bulk Import Contacts

Bulk import large numbers of contacts into ActiveCampaign with a single API call.

Create List

Tool to create a new list in ActiveCampaign.

Create List Group Permission

Creates a list group permission in ActiveCampaign by associating a list with a user group.

Create Message

Tool to create a message in ActiveCampaign.

Create Metrics Snapshot for Broadcasts

Tool to retrieve snapshot metrics for specified SMS broadcast IDs in ActiveCampaign.

Create Note

Create a note and attach it to a specific entity (contact, deal, account, etc.

Create or Update Contact

Create a new contact or update an existing contact in ActiveCampaign using the sync endpoint.

Create or Update Custom Object Record

Tool to create or update a custom object record in ActiveCampaign.

Add Domain to Tracking Whitelist

Add a domain to ActiveCampaign's site tracking whitelist.

Create Product in Catalog

Create a new product entry in the ActiveCampaign ecommerce catalog using GraphQL.

Create Saved Response

Tool to create a new saved response in ActiveCampaign.

Create Segment V2

Tool to create advanced segments in ActiveCampaign using the V2 segments API.

Create Shareable Campaign Template Link

Tool to create a shareable link for a campaign template in ActiveCampaign.

Create Task Outcome

Tool to create a new task outcome in ActiveCampaign.

Create Task Reminder

Create a new task reminder notification in ActiveCampaign.

Create User

Creates a new user (team member/staff account) in ActiveCampaign with specified details.

Create Webhook

Create a new webhook in ActiveCampaign to receive real-time notifications when specific events occur.

Delete Account

Permanently deletes an account from ActiveCampaign by its ID.

Delete Account Contact Association

Deletes an existing account-contact association in ActiveCampaign.

Delete Account Custom Field Data

Tool to delete a custom account field value in ActiveCampaign.

Delete Account Custom Field Meta

Tool to delete an account custom field meta definition from ActiveCampaign.

Delete Bulk Accounts

Tool to bulk delete multiple accounts from ActiveCampaign in a single operation.

Delete Address

Permanently deletes an address from ActiveCampaign by its ID.

Delete Address Group

Tool to delete an address group from ActiveCampaign by its ID.

Delete An Order

Tool to permanently delete an e-commerce order from ActiveCampaign by its ID.

Delete Calendar Feed

Tool to permanently delete a calendar feed from ActiveCampaign by its ID.

Delete Connection

Permanently deletes a connection from ActiveCampaign by its ID.

Delete Contact

Permanently deletes a contact from ActiveCampaign by its ID.

Delete Customer

Tool to permanently delete an e-commerce customer from ActiveCampaign by ID.

Delete Custom Field

Tool to delete a custom field from ActiveCampaign by its ID.

Delete Custom Field Field Group

Tool to delete a custom field field group member in ActiveCampaign.

Delete Deal

Tool to permanently delete a deal from ActiveCampaign by its ID.

Delete Deal Custom Field Data

Tool to delete a custom deal field value in ActiveCampaign.

Delete Deal Custom Field Metadata

Tool to delete a custom deal field metadata from ActiveCampaign.

Delete Deal Pipeline

This tool deletes an existing deal pipeline in ActiveCampaign.

Delete Deal Role

Tool to delete an existing deal role in ActiveCampaign.

Delete Deal Stage

This tool deletes an existing deal stage in ActiveCampaign.

Delete Deal Task

Permanently deletes a deal task from ActiveCampaign by its ID.

Delete Event

Tool to delete an event tracking event from ActiveCampaign.

Delete Field Relationship

Tool to delete a field relationship in ActiveCampaign.

Delete Field Value

Tool to permanently delete a custom field value from ActiveCampaign by its ID.

Delete Form

Tool to permanently delete a form from ActiveCampaign by its ID.

Delete Group

Tool to permanently delete a permission group from ActiveCampaign by its ID.

Delete List

Permanently deletes a list from ActiveCampaign by its ID.

Delete Message

Permanently deletes a message from ActiveCampaign by its ID.

Delete Note

Permanently deletes a note from ActiveCampaign by its ID.

Delete Product

Permanently delete a product from ActiveCampaign's e-commerce catalog by its ID.

Delete Record by External ID

Permanently deletes a custom object record from ActiveCampaign by its external ID.

Delete Custom Object Record

Permanently deletes a custom object record from ActiveCampaign by its ID and schema ID.

Delete Saved Response

Tool to permanently delete a saved response from ActiveCampaign by its ID.

Delete Schema

Permanently deletes a custom object schema from ActiveCampaign by its UUID.

Delete Secondary Contact

Permanently deletes a secondary contact association from a deal in ActiveCampaign.

Delete Segment V2

Tool to permanently delete a segment from ActiveCampaign by its UUID.

Delete Tag

Tool to permanently delete a tag from ActiveCampaign by its ID.

Delete User

Permanently deletes a user from ActiveCampaign by their ID.

Delete Variable

Permanently deletes a personalization variable from ActiveCampaign by its ID.

Bulk Delete Variables

Tool to bulk delete personalization variables in ActiveCampaign.

Delete Webhook

Permanently deletes a webhook from ActiveCampaign by its ID.

Edit Campaign

Edit an existing campaign in ActiveCampaign.

Find contact

Find a specific contact in ActiveCampaign using either their email address, ID, or phone number.

Find Contact Tasks

This tool allows you to find tasks associated with a specific contact in ActiveCampaign.

Find User by Email

Find an ActiveCampaign account user (team member/staff) by their email address.

Get Account Contact Association

Tool to retrieve an existing account-contact association in ActiveCampaign.

Get Account Custom Field Data

Retrieves a specific account custom field data record by ID.

Get Account Custom Field Metadata

Retrieve metadata for a specific account custom field by ID.

Get Address by ID

Retrieves a single address by ID from ActiveCampaign.

Get All Field Relationships

Get all field relationships in ActiveCampaign.

Get Audience Segment by ID

Retrieve a specific audience segment by ID from ActiveCampaign.

Get Branding

Tool to retrieve an existing branding resource from ActiveCampaign by its ID.

Get Broadcast Metrics Failures

Retrieve grouping and counts of failures for an SMS broadcast in ActiveCampaign.

Get Broadcasts Metrics

Tool to retrieve metrics for specified SMS broadcast IDs in ActiveCampaign.

Get Broadcast Recipients

Fetch all contacts who were sent a specific SMS broadcast in ActiveCampaign.

Get Bulk Import Status Info

Tool to retrieve the status of a specific bulk import in ActiveCampaign.

Get Calendar Feed

Tool to retrieve a specific calendar feed from ActiveCampaign by its ID.

Get Campaign Automation Campaign Lists

Tool to retrieve all lists associated with a specific campaign automation in ActiveCampaign.

Get Campaign Automations

Get automation information associated with a specific campaign in ActiveCampaign.

Get Campaign By ID

Retrieve a single campaign by its ID from ActiveCampaign.

Get Campaign Links

Get all links associated with a specific campaign in ActiveCampaign.

Get Campaign Message

Get the message associated with a specific campaign in ActiveCampaign.

Get Campaign Messages

Get campaign messages associated with a specific campaign in ActiveCampaign.

Get Campaign User

Get the user (account owner/staff member) associated with a specific campaign in ActiveCampaign.

Get Contact Account Contacts

Retrieve all account-contact associations for a specific contact in ActiveCampaign.

Get Contact Automation Entry Counts

Tool to retrieve the number of times a contact has entered each automation.

Get Contact Automations

Retrieve all automations that a specific contact is enrolled in or has been enrolled in.

Get contact data

Retrieve detailed data for a specific contact in ActiveCampaign.

Get Contact Goals

Retrieve a contact's goals from ActiveCampaign.

Get Contact Deals

Tool to retrieve all deals associated with a specific contact in ActiveCampaign.

Get Contact Events and Activities

Tool to retrieve contact events and activities from ActiveCampaign.

Get Contact Field Values

Tool to retrieve all custom field values for a specific contact in ActiveCampaign.

Get Contact Geo IPs List

Retrieve all geo IP addresses associated with a specific contact in ActiveCampaign.

Get Contact Lists

Tool to retrieve all list memberships for a specific contact in ActiveCampaign.

Get Contact Logs

Tool to retrieve logs for a specific contact in ActiveCampaign.

Get contact notes

Retrieve all existing notes associated with a specific contact in ActiveCampaign.

Get Contact Organization

Tool to retrieve organization information associated with a specific contact in ActiveCampaign.

Get Contact Plus Append

Tool to retrieve a contact's plus append enrichment data from ActiveCampaign.

Get Contact Score Values

Tool to retrieve all score values associated with a specific contact in ActiveCampaign.

Get Contact Tags

Tool to retrieve all tags associated with a specific contact in ActiveCampaign.

Get contact tracking logs

Retrieve tracking logs for a specific contact in ActiveCampaign.

Get Custom Field

Retrieve a specific custom field by ID from ActiveCampaign.

Get Deal Custom Field Data

Retrieves a specific deal custom field data record by ID.

Get Deal Custom Field Metadata

Retrieve metadata for a specific deal custom field by ID.

Get Deal Pipeline

Tool to retrieve an existing pipeline (deal group) from ActiveCampaign by its ID.

Get Deal Stage

Tool to retrieve an existing deal stage from ActiveCampaign by its ID.

Get Deal Task

Tool to retrieve an existing task in ActiveCampaign by its ID.

Get Deal Task Type

Tool to retrieve an existing deal task type in ActiveCampaign by its ID.

Get Event Tracking Status

Tool to retrieve the event tracking status for your ActiveCampaign account.

Get Field Value

Tool to retrieve a specific field value by its ID in ActiveCampaign.

Get Form

Retrieve a single form by its ID from ActiveCampaign.

Get Group By ID

Retrieve a specific group by ID in ActiveCampaign.

Get Group Limits

Tool to retrieve group limits configured for different groups in ActiveCampaign account.

Get Lists

Tool to retrieve all mailing lists in ActiveCampaign.

Get Logged-In User

Retrieve information about the currently authenticated user (the user whose API token is being used).

Get Note

Tool to retrieve a specific note from ActiveCampaign by its ID.

Get Order from ActiveCampaign

Retrieve a single order from ActiveCampaign by legacy connection ID and store order ID.

Get Product By ID

Retrieve a single product by its ID from ActiveCampaign's e-commerce catalog.

Get Recent Segment Counts

Retrieve the most recent result count for segments that were run without additional criteria.

Get Record by External ID

Tool to retrieve a custom object record from ActiveCampaign by its external ID.

Get Custom Object Record By ID

Tool to retrieve a custom object record from ActiveCampaign by schema ID and record ID.

Get Saved Response

Tool to retrieve a specific saved response from ActiveCampaign by its ID.

Get Schema by ID

Retrieve a specific custom object schema by ID in ActiveCampaign.

Get Secondary Contact

Tool to retrieve a specific secondary contact (contact-deal association) by ID in ActiveCampaign.

Get Segment Count by Timestamp

Tool to retrieve all result counts for a segment that were run without an AdditionalCriteria.

Get Segment Count History

Tool to retrieve all historical result counts for a given segment that were run without additional criteria.

Get Segment Match

Retrieve segment match evaluation for a contact in ActiveCampaign.

Get Segment Match-All Result Set

Tool to retrieve segment match-all result set by ID.

Get Segment Match by External ID

Check if a contact matches a segment using segment ID, contact ID, and external ID.

Get Segment Match Result

Tool to retrieve segment match result set by run ID in ActiveCampaign.

Get Segment V2

Tool to retrieve a specific segment by its ID in ActiveCampaign.

Get Historic Segment by Timestamp

Tool to retrieve a segment as it existed at a given point in time in ActiveCampaign.

Get Site Tracking Code

Tool to retrieve the site tracking JavaScript code for your ActiveCampaign account.

Get Site Tracking Status

Tool to retrieve the site tracking status for your ActiveCampaign account.

Get SMS Broadcast Metrics Snapshot

Tool to retrieve snapshot data for all SMS broadcasts in ActiveCampaign.

Get SMS Credits

Tool to retrieve the current period's SMS credit usage and remaining balance.

Get Tag

Tool to retrieve a tag from ActiveCampaign by its ID.

Get Task Outcome

Tool to retrieve a specific task outcome from ActiveCampaign by its ID.

Get Template

Retrieve a single template by its ID from ActiveCampaign.

Get User by ID

Tool to retrieve a specific ActiveCampaign account user (team member/staff) by their ID.

Get User by Username

Tool to retrieve an ActiveCampaign account user (team member/staff) by their username.

Get Users

Tool to retrieve all ActiveCampaign account users (team members/staff).

Get Users By Group

Tool to retrieve all users associated with a specific group in ActiveCampaign.

Get Variable

Tool to retrieve a personalization variable from ActiveCampaign by its ID.

Get Personalization Variables

Tool to retrieve personalization variables from ActiveCampaign.

Get Webhook

Retrieve an existing webhook by ID from ActiveCampaign.

List Account Contact Associations

Tool to retrieve all existing account-contact associations in ActiveCampaign.

List Account Custom Field Data

Tool to list all custom field values for accounts in ActiveCampaign.

List Account Custom Field Metadata

Tool to list all account custom field metadata in ActiveCampaign.

List Addresses

Tool to list all addresses in the ActiveCampaign account.

List All Accounts

Tool to list all accounts in ActiveCampaign.

List all contacts

List all contacts in ActiveCampaign.

List All Custom Fields (with pagination)

Tool to list all custom fields in ActiveCampaign with pagination support.

List All Custom Field Values

Tool to list all custom field values in ActiveCampaign.

List All Event Tracking Events

Tool to list all whitelisted event tracking events in ActiveCampaign.

List All Schemas

Tool to list all custom object schemas in ActiveCampaign.

List All Tags

Tool to retrieve all tags in ActiveCampaign with search functionality.

List All Whitelisted Domains

Tool to list all whitelisted domains for site tracking in ActiveCampaign.

List Audiences

Retrieve all saved segment summaries (audiences) from ActiveCampaign.

List Automations

List all automations in ActiveCampaign.

List Bulk Import Status

Tool to monitor bulk import progress in ActiveCampaign.

List Bulk Import Status Aggregate

Tool to retrieve aggregate progress data for all bulk import jobs in ActiveCampaign.

List All Calendar Feeds

Tool to list all calendar feeds in ActiveCampaign.

List Campaigns

Tool to list all campaigns in ActiveCampaign.

List Contact Automations

List all automations that contacts are enrolled in.

List All Secondary Contacts

Tool to retrieve all secondary contacts (contact-deal associations) in ActiveCampaign.

List All Deal Activities

Tool to retrieve all recent activities for deals in ActiveCampaign.

List Deal Custom Field Data

Tool to list all custom field values for deals in ActiveCampaign.

List Deal Custom Field Metadata

Tool to list all deal custom field metadata in ActiveCampaign.

List Deal Pipelines

Tool to retrieve all existing deal pipelines from ActiveCampaign.

List All Deal Roles

Tool to retrieve all deal roles in ActiveCampaign.

List All Deals (Search & Filter)

Tool to list all deals from ActiveCampaign with search and filtering capabilities.

List Deal Stages

Tool to list all deal stages (pipeline stages) in ActiveCampaign.

List All Deal Task Types

Tool to retrieve all existing task types for deals in ActiveCampaign.

List Email Activities

Tool to list all email activities in ActiveCampaign.

List Forms

Tool to list all forms in ActiveCampaign.

List All Group Members

Tool to list all group members in ActiveCampaign.

List Groups

Tool to retrieve all permission groups from ActiveCampaign.

List Messages

Tool to list all messages in ActiveCampaign.

List all notes

Retrieve a list of all notes in ActiveCampaign.

List Order Products

Tool to list all e-commerce order products in ActiveCampaign.

List Prism URL Whitelistings

Tool to list all whitelisted site tracking domains in ActiveCampaign.

List Records for Schema

Tool to list custom object records for a specific schema in ActiveCampaign.

List Saved Responses

Tool to list all saved responses in ActiveCampaign.

List All Scores

Tool to list all scoring rules configured in ActiveCampaign.

List Segment Match All Contacts

Initiate a match-all request for contacts in a segment.

List SMS Broadcast Lists

Tool to retrieve a paged list of all SMS broadcast lists in ActiveCampaign.

List SMS Broadcasts

Tool to list all SMS broadcasts in ActiveCampaign with optional filtering and pagination.

List Task Outcomes

Tool to retrieve all existing task outcomes from ActiveCampaign.

List Webhook Events

List all available webhook events in ActiveCampaign.

List Webhooks

Tool to list all existing webhooks in ActiveCampaign.

Lock Personalization Variable

Tool to lock a personalization variable in ActiveCampaign.

Manage contact tag

Manage tags for a contact in ActiveCampaign.

Remove Contact from Automation

Removes a contact from a specified automation in ActiveCampaign.

Remove Domain from Whitelist

Remove a domain from ActiveCampaign's URL whitelist.

Remove Tag from Contact

Tool to remove a tag from a contact in ActiveCampaign.

Retrieve Account

Tool to retrieve an account from ActiveCampaign by its ID.

Retrieve a Deal

Tool to retrieve a specific deal by its ID in ActiveCampaign.

Retrieve All Connections

Tool to retrieve all Deep Data connection resources in ActiveCampaign.

Retrieve All E-Commerce Customers

Tool to retrieve all e-commerce customer resources from ActiveCampaign.

Retrieve All Deals

Tool to retrieve all deals from ActiveCampaign with filtering and pagination support.

Retrieve All E-Commerce Orders

Tool to retrieve all e-commerce orders from ActiveCampaign with pagination support.

Retrieve All Products for Order

Tool to retrieve all products associated with a specific e-commerce order in ActiveCampaign.

Retrieve An Order

Tool to retrieve an e-commerce order from ActiveCampaign by its ID.

Retrieve an Order Product

Tool to retrieve an ecommerce order product from ActiveCampaign by its ID.

Retrieve Connection

Tool to retrieve a connection from ActiveCampaign by its ID.

Retrieve Customer

Tool to retrieve an e-commerce customer from ActiveCampaign by their ID.

Retrieve Deal Activities

Tool to retrieve all activities associated with a deal in ActiveCampaign.

Retrieve List

Tool to retrieve a specific list from ActiveCampaign by its ID.

Retrieve Message

Tool to retrieve a specific message by its ID in ActiveCampaign.

Save Browse Session

Create a browse session in ActiveCampaign for testing purposes.

Search Browse Sessions

Search for browse sessions matching specified criteria in ActiveCampaign.

Search Products

Search for products using filter criteria in ActiveCampaign's e-commerce catalog.

Search Recurring Payments

Search for recurring payment records based on filter criteria.

Test Tracking Event

Simulate a tracking event coming into the Browse Session system with debug output for testing URL patterns.

Track Event in ActiveCampaign

Track custom events for contacts in ActiveCampaign to trigger automations and monitor user engagement.

Unlock Personalization Variable

Tool to unlock a personalization variable in ActiveCampaign.

Update Account

This tool updates an existing account in ActiveCampaign.

Update Account Contact Association

Tool to update an existing account-contact association in ActiveCampaign.

Update Account Custom Field Data

Updates a custom account field value in ActiveCampaign.

Bulk Update Account Custom Field Data

Tool to bulk update multiple custom account field values in a single request.

Update Account Custom Field Metadata

Update metadata for an account custom field.

Update Account Note

Tool to update an existing account note in ActiveCampaign.

Update Address

Tool to update an existing address in ActiveCampaign.

Update a Deal

Tool to update an existing deal in ActiveCampaign.

Update a Deal Note

Tool to update an existing note for a specific deal in ActiveCampaign.

Update An Order

Tool to update an existing e-commerce order in ActiveCampaign.

Update a Tag

Tool to update an existing tag in ActiveCampaign.

Update Branding

Tool to update an existing branding resource in ActiveCampaign.

Update Calendar Feed

Tool to update an existing calendar feed in ActiveCampaign.

Update Configuration

Tool to update an existing configuration in ActiveCampaign.

Update Connection

Tool to update an existing connection in ActiveCampaign.

Update Contact

Update an existing contact in ActiveCampaign by ID.

Update Secondary Contact

Tool to update an existing secondary contact (contact-deal association) in ActiveCampaign.

Update Customer

Tool to update an existing e-commerce customer in ActiveCampaign.

Update Custom Field

Tool to update an existing custom field in ActiveCampaign.

Update Custom Field Field Group

Tool to update a custom field field group member in ActiveCampaign.

Update Custom Field Value For Contact

Tool to update a custom field value for a contact in ActiveCampaign.

Update Deal Custom Field Data

Updates a custom deal field value in ActiveCampaign.

Update Deal Custom Field Metadata

Updates a custom deal field metadata in ActiveCampaign.

Update Deal Pipeline

Tool to update an existing pipeline (deal group) in ActiveCampaign.

Bulk Update Deal Owners

Tool to bulk update deal owners in ActiveCampaign.

Update Deal Stage

Tool to update an existing stage in an ActiveCampaign deal pipeline.

Update Deal Stage Deals

Tool to move all deals from one stage to another stage in ActiveCampaign.

Update Deal Task

Tool to update an existing task in ActiveCampaign.

Update Deal Task Type

Tool to update an existing deal task type in ActiveCampaign.

Update Edit Variable

Tool to edit an existing personalization variable in ActiveCampaign.

Update Event Tracking Status

Tool to enable or disable event tracking for your ActiveCampaign account.

Update Field Value

Tool to update a custom field value by its field value ID in ActiveCampaign.

Update Group

Tool to update an existing permission group in ActiveCampaign.

Update Message

Tool to update an existing message in ActiveCampaign.

Update Note

Tool to update an existing note in ActiveCampaign by its ID.

Update Product

Tool to update an existing product in ActiveCampaign's e-commerce system using GraphQL.

Update Saved Response

Tool to update an existing saved response in ActiveCampaign.

Update Schema

Tool to update a custom object schema in ActiveCampaign.

Update Segment V2

Tool to update existing segments in ActiveCampaign using the V2 segments API.

Revert Segment to Historic State

Tool to revert a segment to how it looked at a specific point in time in ActiveCampaign.

Update Site Tracking Status

Tool to enable or disable site tracking for your ActiveCampaign account.

Update User

Tool to update an existing ActiveCampaign user (team member/staff account) by ID.

Update Webhook

Update an existing webhook in ActiveCampaign to modify its configuration such as URL, events, or sources.

Upsert Account

Creates a new account or updates an existing one in ActiveCampaign based on the account name.

Upsert Order

Create a new order or update an existing order in ActiveCampaign.

Bulk Upsert Orders

Insert multiple orders or update them if they already exist in ActiveCampaign.

Bulk Upsert Orders Async

Tool to insert or update multiple orders asynchronously in ActiveCampaign with high throughput.

Bulk Upsert Products

Create or update multiple products in a single request using ActiveCampaign's GraphQL API.

Upsert Recurring Payments Bulk

Create or update multiple recurring payments asynchronously in ActiveCampaign.

FAQ

Frequently asked questions

With a standalone Active campaign MCP server, the agents and LLMs can only access a fixed set of Active campaign tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Active campaign and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. CrewAI fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Active campaign tools.

Yes, absolutely. You can configure which Active campaign scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Active campaign data and credentials are handled as safely as possible.

Start with Active campaign.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Active campaign tool your agent needs.Free to start.

Start building