This guide walks you through connecting Campayn to Mastra AI using the Composio tool router. By the end, you'll have a working Campayn agent that can add new subscriber to weekly newsletter list, list all active contact lists in account, fetch details for my last sent campaign, remove outdated contact from customer list through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Campayn account through Composio's Campayn MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.









