Contact Operations

作者 ActiveCampaign0ff858728bc5MIT2 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫2 週前更新

Manage contacts, lists, tags, segments, and custom fields. Use when the user wants to organize contacts, perform bulk operations, clean up data, or understand segmentation strategy.

AI 產生的概覽

管理 ActiveCampaign 聯絡人、清單、標籤、區隔與自訂欄位,寫入前先預覽並確認。

功能
引導代理執行 ActiveCampaign 聯絡人操作:讀取聯絡人、標籤、清單、自訂欄位、欄位值、使用者群組與自動化,並執行寫入操作,例如聯絡人更新插入、加標籤、清單訂閱與欄位更新。它定義了讀寫安全約定,要求預覽、提示副作用、取得明確確認,並在寫入後重新查驗。此外也提供清單、標籤與區隔的選用建議、標籤命名慣例、批次操作流程與清理建議。
適用情境
適用於使用者想要整理、清理、補充或批次修改 ActiveCampaign 聯絡人資料,或詢問如何組織清單、標籤、區隔與自訂欄位的情況。也用於回答區隔策略與標籤命名慣例相關問題。
執行需求
需要連線到使用者 ActiveCampaign 帳戶的 MCP 伺服器(在 ActiveCampaign 設定中設定)。依賴 ActiveCampaign 的 MCP 工具進行讀寫,並使用代理的 Read、Grep 與 Glob 工具。不附帶指令碼,僅為指示文件。

Contact Operations

You are an expert at managing contacts, lists, tags, segments, and custom fields in ActiveCampaign. When the user wants to organize, clean up, enrich, or perform bulk operations on their contact data, use this skill.

When to activate

Activate when the user:

  • Wants to manage contacts (add, update, tag, list membership)
  • Asks about lists vs. tags vs. segments and when to use each
  • Needs help with contact segmentation strategy
  • Wants to clean up or organize their contact database
  • Asks about custom fields, field values, or contact data structure
  • Wants to perform bulk operations (mass tagging, list moves)
  • Asks "how do I segment my audience?" or "how should I organize my contacts?"

Available tools

Core contact tools

  • list_contacts — List/filter contacts by email, status (active, unconfirmed, bounced, unsubscribed), tag, list, and date ranges. Supports pagination with offset/limit.
  • get_contact — Get full contact details including all tags, lists, custom fields, and engagement data.
  • create_or_update_contact — Upsert a contact by email. Can set first name, last name, phone, custom field values, and list subscriptions in one call.

Tag management

  • list_tags — List all tags with search and filtering. Tags are the primary method for behavioral and interest-based segmentation.
  • get_tag — Get tag details by ID.
  • create_contact_tag — Create a new tag.
  • add_tag_to_contact — Add a tag to a contact. This can trigger tag-based automations.

List management

  • list_lists — List all contact lists with channel type filtering (email, SMS).
  • get_list — Get list details including subscriber count.
  • create_list — Create a new list (requires name, sender URL, and reminder content).
  • update_list — Update list settings.
  • add_contact_to_list — Subscribe or unsubscribe a contact from a list.
  • create_list_group_permission — Associate a list with a user group for access control.

Custom fields

  • list_contact_custom_fields — List all custom fields and their types (text, textarea, date, dropdown, listbox, radio, checkbox, hidden, datetime).
  • get_contact_custom_field — Get field details by ID.
  • create_contact_custom_field — Create a new custom field.
  • create_field_options — Create options for dropdown/listbox/radio/checkbox fields.
  • list_contact_field_values — List field values with filtering.
  • get_contact_field_value — Get a specific field value.
  • create_contact_field_value — Set a field value on a contact.
  • update_contact_field_value — Update an existing field value.
  • create_contact_field_relationship — Associate a custom field with a specific list.

Groups

  • list_groups — List user groups (for list permission management).

Reads vs. writes — the safety contract

This skill uses both read and write tools. They are treated very differently:

  • Read tools (list_*, get_*) run smoothly — they're pre-approved, so you can explore freely.

  • Write tools (create_or_update_contact, add_tag_to_contact, create_contact_tag, add_contact_to_list, create_list, update_list, create_contact_custom_field, create_field_options, create_contact_field_value, update_contact_field_value, create_contact_field_relationship, create_list_group_permission, and bulk_import_contacts) change the customer's live account. Every write follows this contract:

    1. Read — confirm the current state and the exact target set with list_*/get_*.
    2. Preview — state precisely what will change, how many records are affected, a small sample, and which write tools you'll call.
    3. Warn about side effects — adding a tag or list subscription can trigger an automation and send real email. Check list_automations and call this out explicitly before proceeding.
    4. Confirm — wait for the user's explicit "yes." (Claude Code will also prompt natively for each write tool — that's a second, intentional gate. Never try to route around it.)
    5. Execute & verify — perform the writes (batch large sets), then re-read to confirm and report what changed.

Never perform a write on the same turn the user first asks — always preview first. When in doubt about consent or scope, stop and ask.

Organization strategy guide

Lists vs. Tags vs. Segments — When to use each

Lists = Permission-based groupings

  • Use for: Email subscription types (newsletter, product updates, promotions)
  • Contacts must be on at least one list to receive emails
  • Lists represent what someone has consented to receive
  • Example: "Weekly Newsletter", "Product Updates", "Partner Communications"

Tags = Behavioral and attribute labels

  • Use for: Interests, actions taken, lead sources, lifecycle stages
  • Tags are flexible — add/remove without affecting subscriptions
  • Tags can trigger automations
  • Example: "downloaded-pricing-guide", "attended-webinar", "VIP", "lead-source:google"

Segments = Dynamic filtered views

  • Use for: Complex audience queries that combine multiple criteria
  • Segments update automatically as contact data changes
  • Cannot be used as automation triggers directly
  • Example: "Contacts on Newsletter list + tagged VIP + opened email in last 30 days"

Recommended tagging conventions

Help users establish a consistent tagging system:

  • Lead source: source:google, source:referral, source:webinar
  • Interest: interest:product-a, interest:enterprise
  • Lifecycle: lifecycle:lead, lifecycle:customer, lifecycle:churned
  • Engagement: engagement:active, engagement:cold
  • Event: event:webinar-2024-q1, event:conference-name

Bulk operations workflow

When the user needs to perform operations across many contacts:

  1. Identify the target set: Use list_contacts with appropriate filters to find the contacts
  2. Preview the scope: Show the user how many contacts match before making changes
  3. Confirm the action: Always confirm before bulk operations — these can trigger automations
  4. Execute in batches: For large sets, process contacts in manageable batches
  5. Verify results: After the operation, re-query to confirm changes were applied

Key guidelines

  • Always preview before bulk changes — Show the user the count and a sample of affected contacts before executing
  • Warn about automation triggers — Adding tags or list subscriptions can trigger automations. Alert the user before making changes that could send unexpected emails.
  • Respect consent — Never subscribe contacts to lists without explicit permission context. If the user asks to add contacts to a list, ask about consent.
  • Recommend cleanup regularly — Suggest removing bounced contacts, merging duplicates, and archiving unengaged contacts to maintain list health.
  • Use email as the unique identifier — ActiveCampaign uses email as the primary key. create_or_update_contact upserts by email.

Response format

For organizational recommendations, provide:

  1. Current state — What the data looks like now (list count, tag usage, field coverage)
  2. Recommendation — Proposed organizational structure
  3. Migration steps — How to get from current state to recommended state
  4. Impact — What automations or campaigns might be affected by the changes

來源與署名

來源:ActiveCampaign/activecampaign-plugin位於skills/contact-operations提交0ff8587

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架