# Customer.io MCP for AI Agents AI Agent Connect

> Customer.io lets you manage your entire customer lifecycle through your AI agent. You can update user profiles, track specific events like feature usage, and trigger multi-channel campaigns without leaving your workspace. It handles your transactional messages, like push notifications and emails, while keeping your marketing data synced across the board.

## Overview
- **Category:** marketing-automation
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_O0vwcwVPcG3BZcvkFoFfrCi7lqsaNS7R3sAM5uEa/ai-agent-connect
- **Tags:** customer-engagement, transactional-email, event-tracking, marketing-campaigns, user-segmentation

## Description

Imagine having a marketing team that works at the speed of thought. Instead of jumping between tabs to update a single user's loyalty status or manually triggering a newsletter for a specific group, you just tell your agent what needs to happen. This Connector connects your Customer.io account to your AI client, turning a complex marketing stack into a conversational interface. You can ask your agent to identify users who haven't logged in lately and send them a nudge, or have it record a series of events as a user moves through your signup flow. It handles the heavy lifting of data pipelines, so you don't have to worry about how the information gets from your app to your marketing tools. Because Vinkius makes it easy to manage these connections, you get a centralized way to orchestrate everything from transactional emails to behavioral tracking. It's about moving away from static dashboards and into a world where you can actually talk to your data and see results instantly.

## Tools

### pipeline_page
Keep a record of every page a user views within your application. This provides insight into your users' journey.

### merge_customers
Combine two separate customer profiles into one single identity. This helps clean up duplicate records in your database.

### pipeline_batch
Send a group of multiple data calls in one single request to save time. It is ideal for high-volume updates.

### pipeline_group
Link individual people to larger objects like company accounts. Use this to build better organizational relationships.

### pipeline_identify
Mark a specific person with unique traits and identifiers. This helps your agent recognize users across different sessions.

### pipeline_track
Log the specific actions people take as they interact with your product. Use this to trigger behavioral workflows.

### send_newsletter
Send a newsletter to your target audience immediately. This is perfect for instant marketing blasts.

### send_transactional_email
Dispatch high-priority transactional emails like receipts or alerts. Use this for essential user communications.

### send_transactional_in_app
Deliver transactional messages directly inside your app interface. It keeps users informed without leaving the product.

### send_transactional_push
Send push notifications to users' mobile devices for immediate alerts. Use this for time-sensitive updates.

### track_batch
Process multiple entity operations at once to handle large data updates. This is more efficient than single calls.

### track_customer_event
Log a specific event for a known person in your system. Use this to monitor specific milestones in the user journey.

### add_or_update_customer
Add a new person to your database or update an existing profile's details. Use this to keep user attributes current.

### track_anonymous_event
Record actions from users who haven't signed up or logged in yet. This allows for pre-conversion tracking.

### track_entity
Create or modify a single person or object using the latest API version. This is a versatile tool for data management.

### trigger_broadcast
Start an API-triggered broadcast to a specific group of customers. Use this to launch targeted marketing campaigns.

### delete_customer
Remove a person's profile from your database entirely. Use this for account deletions or data cleanup.

### pipeline_screen
Log specific mobile screen views to understand how people navigate your app. This helps optimize your mobile experience.

## Prompt Examples

**Prompt:** 
```
Update user 'user_99' and set their 'loyalty_tier' to 'gold'.
```

**Response:** 
```
I've updated the profile for 'user_99'. Their 'loyalty_tier' is now set to 'gold' in Customer.io.
```

**Prompt:** 
```
Track a 'completed_tutorial' event for customer 'jane@example.com'.
```

**Response:** 
```
The 'completed_tutorial' event has been successfully recorded for jane@example.com.
```

**Prompt:** 
```
Send a transactional email using template ID 'welcome_msg' to 'new_user@test.com'.
```

**Response:** 
```
I've triggered the transactional email 'welcome_msg' for new_user@test.com via the App API.
```

## Capabilities

### Update user profiles
Change customer attributes like loyalty tiers or account types instantly.

### Merge duplicate identities
Combine multiple customer profiles into a single record to keep your data clean.

### Record behavioral events
Log specific actions like page views or app interactions for your users.

### Trigger marketing broadcasts
Send newsletters or API-triggered campaigns to specific user segments.

### Send transactional messages
Dispatch push notifications, in-app messages, and emails via your agent.

### Group people with objects
Associate individual people with larger entities like company accounts.

## Use Cases

### Updating a user's status
A growth marketer tells the agent to move a user to the 'VIP' tier. The agent uses add_or_update_customer to change the trait instantly.

### Tracking a tutorial
A product manager wants to know who finished the onboarding. The agent uses track_customer_event for every user who hits the finish page.

### Sending a welcome email
A support rep asks the agent to send a welcome message. The agent uses send_transactional_email to trigger the specific template.

### Cleaning up data
An admin notices duplicate accounts. They ask the agent to find and use merge_customers to consolidate the records.

## Benefits

- Stop manual data entry because add_or_update_customer lets your agent keep profiles current in real time.
- Clean up your database faster by using merge_customers to fix duplicate identities without manual searching.
- Send instant communications via send_newsletter and trigger_broadcast to reach users the moment they need it.
- Track every click and view using pipeline_track and pipeline_page to see exactly how people use your product.
- Automate high-priority alerts with send_transactional_push and send_transactional_email for a better user experience.

## How It Works

The bottom line is you get a direct line of communication between your AI and your marketing automation platform.

1. Subscribe to this Connector and provide your Customer.io Site ID and API keys.
2. Connect your Customer.io account to your AI client.
3. Ask your agent to perform marketing tasks like sending emails or updating segments.

## Frequently Asked Questions

**Can I use Customer.io MCP to update user profiles?**
Yes, you can use the Connector to add or update customer attributes like loyalty tiers or account types directly through your AI agent.

**How does this Connector handle event tracking?**
It allows your agent to record specific actions, like page views or button clicks, which helps you trigger behavioral marketing workflows.

**Can I send push notifications using this?**
Yes, the Connector includes tools to send transactional push notifications and in-app messages to your users instantly.

**Does the Customer.io MCP support batch updates?**
It does. You can use the batch tools to send multiple calls in a single request, which is much faster for large data updates.

**Can I track users who haven't logged in yet?**
Yes, the Connector includes a specific tool for recording anonymous events, allowing you to track behavior before a user even creates an account.

**How do I trigger a marketing broadcast?**
You can simply ask your agent to trigger an API-triggered broadcast to a specific segment of your audience.

**Can I trigger a specific broadcast campaign using its ID?**
Yes. Use the `trigger_broadcast` tool by providing the `broadcast_id` and the required data payload to start the campaign immediately.

**How do I update a customer's attributes like their subscription plan?**
You can use the `add_or_update_customer` tool. Simply provide the customer's identifier (email or ID) and a JSON object containing the attributes you wish to change.

**Is it possible to track events for users who haven't logged in yet?**
Absolutely. Use the `track_anonymous_event` tool to record actions from anonymous visitors. You can later use `merge_customers` to link this data once they identify themselves.