# MoEngage MCP

> MoEngage MCP connects your AI agent directly to MoEngage, turning complex customer journey mapping into conversation. Manage personalized push notifications, track user behavior, and run targeted campaigns across mobile apps from a single prompt. You can create or update user profiles, segment large groups, trigger transactional alerts, and pull detailed campaign performance reports instantly.

## Overview
- **Category:** growth-engine
- **Price:** Free
- **Tags:** customer-engagement, push-notifications, behavioral-analytics, omnichannel-marketing, user-segmentation, personalization

## Description

This MCP lets you manage every touchpoint in your customer lifecycle using natural conversation. Instead of jumping between dashboards to check analytics or manually updating user attributes, you simply tell your AI client what needs doing. You can gather deep insights into how users interact with your app by tracking custom events and behaviors. Need to send a notification? It’s simple: specify the audience and the message content, and your agent handles the rest of the delivery mechanisms. The whole process—from identifying an underperforming segment to launching a targeted push notification—becomes part of a single workflow, easily accessible through Vinkius in the catalog. You'll quickly learn how to pull detailed campaign statistics or even find specific customer records just by asking.

## Tools

### check_moengage_status
Verifies that your connection credentials are active.

### get_campaign_stats
Retrieves detailed performance metrics for a specific campaign.

### get_campaign
Fetches all the core details about a particular marketing campaign.

### get_customer
Pulls detailed information for a single specified user.

### get_segment
Retrieves the full definition and details of an audience segment.

### list_campaigns
Lists all active or past campaigns managed in your account.

### list_segments
Shows a list of all defined user segments available for targeting.

### search_customers
Finds users by applying specific search criteria or filters.

### send_push
Sends a real-time push notification message to specified user groups.

### track_events_bulk
Records multiple custom user events for several users at once.

### track_event
Records a single, specific user event with associated properties.

### update_device
Updates the device information linked to a customer profile.

### upsert_customer
Creates a new customer record or updates an existing one with provided data.

## Prompt Examples

**Prompt:** 
```
Show performance for the 'Spring Sale Push' campaign.
```

**Response:** 
```
Campaign Analytics: 'Spring Sale Push'. Sent: 145,000. Delivered: 142,500 (98%). Clicks: 12,400 (8.7% CTR ⭐). Conversions: 3,200 Purchases ($45K revenue). Uninstalls attributed: 12.
```

**Prompt:** 
```
Send a transactional push notification to user 8901.
```

**Response:** 
```
Push notification sent! ✅ Target: User_8901. Title: 'Order Shipped 📦'. Message: 'Your order #1234 is on the way!'. Platform: iOS. Status: Success (Delivered to 1 device).
```

**Prompt:** 
```
Track a 'Subscription Upgraded' event for user Sarah.
```

**Response:** 
```
Event tracked! ✅ User ID: sarah@company.com. Event: 'Subscription Upgraded'. Properties: {plan: 'Pro', amount: 45.00, platform: 'Web'}. Profile updated successfully.
```

## Capabilities

### Update and retrieve user data
You can create new profiles or modify existing customer attributes, ensuring your audience lists are always current.

### Track app behavior and events
Record every meaningful action a user takes in the application to build detailed behavioral models for marketing.

### Send targeted notifications
Trigger immediate, personalized push messages or in-app alerts for both transactional status updates and broader campaigns.

### Analyze campaign performance
Pull specific metrics on launched campaigns, including delivery rates, click-through percentages, and attributed revenue.

## Use Cases

### Product team needs to measure feature adoption
A Product Manager wants to know if users who signed up last week are interacting with the new checkout flow. They instruct their agent to `track_event` for 'Checkout Initiated' and filter results by sign-up date, getting immediate behavioral data.

### Marketing needs a flash sale alert
A Marketing Manager is launching an unexpected weekend deal. They ask the agent to `list_segments` for 'High Value Users', and then use `send_push` to blast out a time-sensitive message only to that group.

### Developer needs to synchronize user data
An engineer's backend service detects a new device ID. They prompt their agent to execute `update_device` using the customer's ID, ensuring all mobile communication channels have the latest information.

### Analyst needs quarterly performance review
An analyst wants a quick overview of the last quarter’s campaign results. They ask the agent to `list_campaigns` first, then select 'Spring Sale Push' and run `get_campaign_stats` for a full report.

## Benefits

- Stop manually compiling campaign reports. Instead, you can ask your agent to use `get_campaign_stats` to instantly pull metrics like delivered counts and click-through rates for any initiative.
- Never lose track of a user's actions again. By using `track_event` or running bulk tracking with `track_events_bulk`, you ensure every interaction, from logins to purchases, is recorded for later analysis.
- Targeting shouldn't be manual. You can use the agent to find specific groups via `list_segments` and then deploy immediate communication using `send_push` directly to that audience.
- User data needs to stay fresh. Instead of logging into a separate CRM, you can update device info with `update_device` or modify core attributes instantly using `upsert_customer`.
- Need to find someone specific? You don't have to guess; use the agent to `search_customers` and pull up their complete profile details right away.

## How It Works

The bottom line is that your agent translates complex marketing actions into simple conversational commands.

1. Subscribe to the MoEngage MCP in Vinkius.
2. Input your unique MoEngage Workspace ID and API Key credentials.
3. Access the tools through any compatible AI client; then, simply instruct your agent what customer action you need completed.

## Frequently Asked Questions

**How do I track a new user behavior event with MoEngage MCP?**
You use the `track_event` tool. Simply provide the specific name of the action, along with any relevant properties like the plan purchased or the platform used.

**Can I list all my current marketing campaigns using MoEngage MCP?**
Yes, you use `list_campaigns`. This tool returns a full manifest of every campaign you've set up in your account for review and selection.

**What if I want to send a message only to users who haven't logged in recently?**
You first use `list_segments` to find the specific segment criteria (e.g., 'Inactive Users'). Then, you use those segment details when calling the `send_push` tool.

**Does MoEngage MCP help me check my credentials?**
Absolutely. You run the `check_moengage_status` tool to quickly verify that your connection ID and API Key are still active before running any other commands.

**Can I update a user's device information with MoEngage MCP?**
You use the `update_device` tool. Just provide the customer identifier and the new piece of device data, and it gets written back to your profile.