Set up ActiveTrail in Metorial for Claude, ChatGPT and Cursor
Share ActiveTrail with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 59 tools (28 read-only).
To give your team ActiveTrail in Claude, ChatGPT, Cursor and other AI clients, an admin shares the ActiveTrail integration in a Metorial portal, and each person connects with an API token. Agents can create and manage email and SMS campaigns, send WhatsApp and transactional messages, organize contacts in groups and mailing lists, inspect campaign reports, activate existing automations, maintain reusable email templates, configure webhooks, and discover sending profiles and account balances. The integration has 59 tools, 28 read-only, 22 write and 9 destructive, plus 1 trigger.
What you'll learn
- How an admin shares ActiveTrail in a portal and how each person connects
- What ActiveTrail asks for when you connect, and where to find it
- How to keep the 28 read-only tools and reject the other 31
Before you start
- A portal with at least one access group
- An API token from ActiveTrail for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Token | API token | token |
API Token
To connect, a person enters:
token: ActiveTrail API access token. Found under Settings > API Apps.
Admin: share ActiveTrail in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose ActiveTrail. For how members connect, choose Each person connects so everyone enters their own API token, or Shared connection to enter one API token for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from ActiveTrail.
Choose who gets it
Add the access groups that should see ActiveTrail. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user ActiveTrail integration. Once it exists, check which groups have it:
Employee: connect ActiveTrail
In the portal
Open ActiveTrail in the catalog
Sign in to your portal and open ActiveTrail. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API token (token).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your ActiveTrail connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 28 read-only tools, such as get_group and get_contact, and lose the 22 write tools, such as create_group or update_group, and the 9 destructive tools, such as delete_group or delete_contact.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 59 tools, minus any you rejected. list_webhooks takes no input. It lists all webhooks configured in your account.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (28)
Show all 28 read-only tools
get_email_campaign: Retrieve full details of an email campaign including design, scheduling, and segment settings. NeedscampaignId.get_sms_campaign: Retrieve details of an SMS campaign by ID, including content, targeting, and scheduling information. NeedscampaignId.get_email_campaign_report: Retrieve a detailed report for an email campaign including summary statistics, opens, clicks, bounces, unsubscribes, complaints, and per-domain breakdown. NeedscampaignId.list_webhooks: List all webhooks configured in your account.get_contact: Retrieve a single contact by ID, including their profile fields, subscription status, group memberships, mailing list memberships, and activity history. NeedscontactId.list_email_campaigns: List email campaigns with optional filtering by mailing list, category, search term, send type, and date range.list_groups: List all contact groups in your account with pagination support.get_automation_report: Retrieve a comprehensive report for an automation workflow including overview statistics, email/SMS performance, and contacts who started or completed the automation. NeedsautomationId.get_mailing_list_members: Retrieve members of a mailing list with filtering by status and date range. NeedsmailingListId.get_automation: Retrieve detailed information about an automation workflow including its design, trigger info, and activation status. NeedsautomationId.list_campaign_reports: List summary reports for all email campaigns with optional date filtering.list_contacts: Search and list contacts with optional filtering by status, search term, and date range.get_account_info: Retrieve account information including credit balance, sending profiles (email & SMS), contact field definitions, and content categories.list_sms_campaigns: List SMS campaigns in your account with pagination.list_templates: List all reusable email templates from "My Templates".list_automations: List all marketing automation workflows in your account.get_group: Retrieve group details by ID, optionally including members and an event count. NeedsgroupId.get_template: Retrieve a template by ID, optionally including the full HTML content. NeedstemplateId.get_executive_report: Retrieve executive-level reports including overall account statistics and contact growth over time.list_whatsapp_templates: Retrieve all approved WhatsApp message templates available in your account.get_sms_campaign_report: Retrieve a detailed report for an SMS campaign including delivery, click, and failure statistics. NeedscampaignId.list_mailing_lists: List all mailing lists in your account.estimate_sms_campaign: Estimate message usage for an SMS campaign that has not been sent.list_template_categories: Discover reusable email template categories and their IDs.get_webhook: Retrieve a configured webhook and its parameters by ID.list_contact_subscriptions: Retrieve subscribers or unsubscribers with the source of their status and date filtering.get_mailing_list: Retrieve a mailing list by ID.list_whatsapp_profiles: Retrieve the account WhatsApp sending profiles for campaign and operational message setup.
Write tools (22)
add_contact_to_mailing_list: Add a contact to a mailing list. NeedsmailingListId.toggle_automation: Activate or deactivate an automation workflow. NeedsautomationIdandisActive.create_contact: Create a new contact in ActiveTrail.create_mailing_list: Create a new mailing list. Needsname.send_whatsapp_campaign: Send a WhatsApp campaign to groups or contacts. NeedscampaignData.create_email_campaign: Create a new email campaign. Needsname,subject,userProfileIdandhtmlContent.create_group: Create a new contact group. Needsname.import_contacts: Bulk import up to 1,000 contacts into a specified group. NeedsgroupIdandcontacts.update_group: Update an existing group's name. NeedsgroupIdandname.create_template: Create a new reusable email template in "My Templates". Needsname.create_sms_campaign: Create a new SMS campaign. Needsnameandcontent.update_webhook: Update an existing webhook's name, URL, event type, or active status. NeedswebhookId.create_campaign_from_template: Create a new email campaign directly from an existing template. NeedstemplateId,name,subjectanduserProfileId.send_whatsapp_operational_message: Send an individual WhatsApp operational/transactional message to a single contact. NeedsmessageData.send_email_operational_message: Send a transactional/operational email message to individual recipients. Needsname,subject,userProfileId,htmlContentandemails.update_contact: Update an existing contact in ActiveTrail by contact ID. NeedscontactIdandfields.update_email_campaign: Update a draft email campaign's details, design, sending settings, or schedule. NeedscampaignId.create_webhook: Create a new webhook to receive callbacks when contact changes occur. Needsnameandurl.send_sms_operational_message: Send a transactional/operational SMS message to individual phone numbers. NeedscontentandphoneNumbers.add_contact_to_group: Add a contact to a group by providing contact details. NeedsgroupId.update_template: Update an email template name, subject, content, or category.update_sms_campaign: Update an SMS campaign, including content, recipients, or scheduling.
Destructive tools (9)
delete_automation: Delete one or more automation workflows by ID. NeedsautomationIds.delete_group: Delete a contact group by ID. NeedsgroupId.delete_email_campaign: Delete an email campaign by ID. NeedscampaignId.delete_webhook: Delete a webhook by ID. NeedswebhookId.delete_template: Delete an email template by ID. NeedstemplateId.delete_mailing_list: Delete a mailing list by ID. NeedsmailingListId.remove_contact_from_group: Remove a contact from a group. NeedsgroupIdandcontactId.delete_contact: Permanently delete a contact from ActiveTrail by contact ID. NeedscontactId.remove_contact_from_mailing_list: Remove a contact from a mailing list.
Triggers
ActiveTrail has 1 trigger, which fire on events in ActiveTrail:
contact_changed: Triggered when a contact is created, updated, or has their status changed — either programmatically (via API, forms, landing pages) or manually through the ActiveTrail UI.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use ActiveTrail there
- Tool permissions: tool filters and what employees see
- ActiveTrail on metorial.com: the integration overview