activecampaign-automation
npx machina-cli add skill davepoon/buildwithclaude/activecampaign-automation --openclawActiveCampaign Automation via Rube MCP
Automate ActiveCampaign CRM and marketing automation operations through Composio's ActiveCampaign toolkit via Rube MCP.
Toolkit docs: composio.dev/toolkits/active_campaign
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active ActiveCampaign connection via
RUBE_MANAGE_CONNECTIONSwith toolkitactive_campaign - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitactive_campaign - If connection is not ACTIVE, follow the returned auth link to complete ActiveCampaign authentication
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Create and Find Contacts
When to use: User wants to create new contacts or look up existing ones
Tool sequence:
ACTIVE_CAMPAIGN_FIND_CONTACT- Search for an existing contact [Optional]ACTIVE_CAMPAIGN_CREATE_CONTACT- Create a new contact [Required]
Key parameters for find:
email: Search by email addressid: Search by ActiveCampaign contact IDphone: Search by phone number
Key parameters for create:
email: Contact email address (required)first_name: Contact first namelast_name: Contact last namephone: Contact phone numberorganization_name: Contact's organizationjob_title: Contact's job titletags: Comma-separated list of tags to apply
Pitfalls:
emailis the only required field for contact creation- Phone search uses a general search parameter internally; it may return partial matches
- When combining
emailandphonein FIND_CONTACT, results are filtered client-side - Tags provided during creation are applied immediately
- Creating a contact with an existing email may update the existing contact
2. Manage Contact Tags
When to use: User wants to add or remove tags from contacts
Tool sequence:
ACTIVE_CAMPAIGN_FIND_CONTACT- Find contact by email or ID [Prerequisite]ACTIVE_CAMPAIGN_MANAGE_CONTACT_TAG- Add or remove tags [Required]
Key parameters:
action: 'Add' or 'Remove' (required)tags: Tag names as comma-separated string or array of strings (required)contact_id: Contact ID (provide this or contact_email)contact_email: Contact email address (alternative to contact_id)
Pitfalls:
actionvalues are capitalized: 'Add' or 'Remove' (not lowercase)- Tags can be a comma-separated string ('tag1, tag2') or an array (['tag1', 'tag2'])
- Either
contact_idorcontact_emailmust be provided;contact_idtakes precedence - Adding a tag that does not exist creates it automatically
- Removing a non-existent tag is a no-op (does not error)
3. Manage List Subscriptions
When to use: User wants to subscribe or unsubscribe contacts from lists
Tool sequence:
ACTIVE_CAMPAIGN_FIND_CONTACT- Find the contact [Prerequisite]ACTIVE_CAMPAIGN_MANAGE_LIST_SUBSCRIPTION- Subscribe or unsubscribe [Required]
Key parameters:
action: 'subscribe' or 'unsubscribe' (required)list_id: Numeric list ID string (required)email: Contact email address (provide this or contact_id)contact_id: Numeric contact ID string (alternative to email)
Pitfalls:
actionvalues are lowercase: 'subscribe' or 'unsubscribe'list_idis a numeric string (e.g., '2'), not the list name- List IDs can be retrieved via the GET /api/3/lists endpoint (not available as a Composio tool; use the ActiveCampaign UI)
- If both
emailandcontact_idare provided,contact_idtakes precedence - Unsubscribing changes status to '2' (unsubscribed) but the relationship record persists
4. Add Contacts to Automations
When to use: User wants to enroll a contact in an automation workflow
Tool sequence:
ACTIVE_CAMPAIGN_FIND_CONTACT- Verify contact exists [Prerequisite]ACTIVE_CAMPAIGN_ADD_CONTACT_TO_AUTOMATION- Enroll contact in automation [Required]
Key parameters:
contact_email: Email of the contact to enroll (required)automation_id: ID of the target automation (required)
Pitfalls:
- The contact must already exist in ActiveCampaign
- Automations can only be created through the ActiveCampaign UI, not via API
automation_idmust reference an existing, active automation- The tool performs a two-step process: lookup contact by email, then enroll
- Automation IDs can be found in the ActiveCampaign UI or via GET /api/3/automations
5. Create Contact Tasks
When to use: User wants to create follow-up tasks associated with contacts
Tool sequence:
ACTIVE_CAMPAIGN_FIND_CONTACT- Find the contact to associate the task with [Prerequisite]ACTIVE_CAMPAIGN_CREATE_CONTACT_TASK- Create the task [Required]
Key parameters:
relid: Contact ID to associate the task with (required)duedate: Due date in ISO 8601 format with timezone (required, e.g., '2025-01-15T14:30:00-05:00')dealTasktype: Task type ID based on available types (required)title: Task titlenote: Task description/contentassignee: User ID to assign the task toedate: End date in ISO 8601 format (must be later than duedate)status: 0 for incomplete, 1 for complete
Pitfalls:
duedatemust be a valid ISO 8601 datetime with timezone offset; do NOT use placeholder valuesedatemust be later thanduedatedealTasktypeis a string ID referencing task types configured in ActiveCampaignrelidis the numeric contact ID, not the email addressassigneeis a user ID; resolve user names to IDs via the ActiveCampaign UI
Common Patterns
Contact Lookup Flow
1. Call ACTIVE_CAMPAIGN_FIND_CONTACT with email
2. If found, extract contact ID for subsequent operations
3. If not found, create contact with ACTIVE_CAMPAIGN_CREATE_CONTACT
4. Use contact ID for tags, subscriptions, or automations
Bulk Contact Tagging
1. For each contact, call ACTIVE_CAMPAIGN_MANAGE_CONTACT_TAG
2. Use contact_email to avoid separate lookup calls
3. Batch with reasonable delays to respect rate limits
ID Resolution
Contact email -> Contact ID:
1. Call ACTIVE_CAMPAIGN_FIND_CONTACT with email
2. Extract id from the response
Known Pitfalls
Action Capitalization:
- Tag actions: 'Add', 'Remove' (capitalized)
- Subscription actions: 'subscribe', 'unsubscribe' (lowercase)
- Mixing up capitalization causes errors
ID Types:
- Contact IDs: numeric strings (e.g., '123')
- List IDs: numeric strings
- Automation IDs: numeric strings
- All IDs should be passed as strings, not integers
Automations:
- Automations cannot be created via API; only enrollment is possible
- Automation must be active to accept new contacts
- Enrolling a contact already in the automation may have no effect
Rate Limits:
- ActiveCampaign API has rate limits per account
- Implement backoff on 429 responses
- Batch operations should be spaced appropriately
Response Parsing:
- Response data may be nested under
dataordata.data - Parse defensively with fallback patterns
- Contact search may return multiple results; match by email for accuracy
Quick Reference
| Task | Tool Slug | Key Params |
|---|---|---|
| Find contact | ACTIVE_CAMPAIGN_FIND_CONTACT | email, id, phone |
| Create contact | ACTIVE_CAMPAIGN_CREATE_CONTACT | email, first_name, last_name, tags |
| Add/remove tags | ACTIVE_CAMPAIGN_MANAGE_CONTACT_TAG | action, tags, contact_email |
| Subscribe/unsubscribe | ACTIVE_CAMPAIGN_MANAGE_LIST_SUBSCRIPTION | action, list_id, email |
| Add to automation | ACTIVE_CAMPAIGN_ADD_CONTACT_TO_AUTOMATION | contact_email, automation_id |
| Create task | ACTIVE_CAMPAIGN_CREATE_CONTACT_TASK | relid, duedate, dealTasktype, title |
Powered by Composio
Source
git clone https://github.com/davepoon/buildwithclaude/blob/main/plugins/all-skills/skills/activecampaign-automation/SKILL.mdView on GitHub Overview
Automate ActiveCampaign CRM and marketing operations using Composio's toolkit via Rube MCP. Create and find contacts, manage tags, subscribe/unsubscribe from lists, and enroll contacts in automations. This streamlines audience management with up-to-date tool schemas.
How This Skill Works
First verify tool schemas with RUBE_SEARCH_TOOLS, then establish an ActiveCampaign connection using RUBE_MANAGE_CONNECTIONS and the 'active_campaign' toolkit. Perform tasks through core workflows (find/create contacts, manage tags, manage list subscriptions) and ensure the connection is ACTIVE before running any workflows.
When to Use It
- Onboarding a new lead by creating a contact and applying initial tags
- Updating an existing contact's tags to reflect new segments
- Subscribing or unsubscribing a contact from a marketing list
- Enrolling a contact into an automation or workflow when they join a campaign
- Syncing contact details from another system and keeping tags/list status in sync
Quick Start
- Step 1: Verify RUBE_SEARCH_TOOLS is responsive to fetch current tool schemas
- Step 2: Call RUBE_MANAGE_CONNECTIONS with toolkit 'active_campaign' and complete authentication if needed
- Step 3: Use core workflows (Find/Create Contact, Manage Tags, Manage List Subscriptions) as needed to complete your task
Best Practices
- Always call RUBE_SEARCH_TOOLS first to fetch current tool schemas
- Use email as the required field for contact creation
- Provide either contact_id or contact_email when referencing a contact
- Pass tags as a comma-separated string or as an array, and ensure proper casing for actions
- Verify ActiveCampaign connection is ACTIVE before executing workflows
Example Use Cases
- Create a new contact with email, name, and initial tags; tag creation applies immediately
- Find a contact by email, then add a new tag to segment them
- Find a contact and subscribe them to a newsletter list
- Find a contact and enroll them in an automation for a welcome series
- Update a contact's details from another system while syncing tags
Frequently Asked Questions
Related Skills
email-sequence
coreyhaines31/marketingskills
When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold outreach emails, see cold-email. For in-app onboarding, see onboarding-cro.
cold-email
coreyhaines31/marketingskills
Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Also use when the user mentions "cold outreach," "prospecting email," "outbound email," "email to leads," "reach out to prospects," "sales email," "follow-up email sequence," "nobody's replying to my emails," or "how do I write a cold email." Covers subject lines, opening lines, body copy, CTAs, personalization, and multi-touch follow-up sequences. For warm/lifecycle email sequences, see email-sequence. For sales collateral beyond emails, see sales-enablement.
brevo-automation
davepoon/buildwithclaude
Automate Brevo (Sendinblue) tasks via Rube MCP (Composio): manage email campaigns, create/edit templates, track senders, and monitor campaign performance. Always search tools first for current schemas.
convertkit-automation
davepoon/buildwithclaude
Automate ConvertKit (Kit) tasks via Rube MCP (Composio): manage subscribers, tags, broadcasts, and broadcast stats. Always search tools first for current schemas.
gmail-automation
davepoon/buildwithclaude
Automate Gmail tasks via Rube MCP (Composio): send/reply, search, labels, drafts, attachments. Always search tools first for current schemas.
klaviyo-automation
davepoon/buildwithclaude
Automate Klaviyo tasks via Rube MCP (Composio): manage email/SMS campaigns, inspect campaign messages, track tags, and monitor send jobs. Always search tools first for current schemas.