# Campayn

Campayn is an email marketing platform that allows users to create, send, and manage email campaigns.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Campayn** authenticates with an API key. Generate the credential in your Campayn account, then paste it into FlyMyAI the first time an agent uses a Campayn action.

[Get your Campayn credential →](https://www.campayn.com/api)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `Campayn API Key` | Your Campayn API key, obtainable from your Campayn account settings. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `CAMPAYN_CREATE_CONTACT` | Tool to create a new contact in a specific list. use when you need to add a contact after gathering details. | `list_id`, `email` |
| `CAMPAYN_DELETE_CONTACT` | Tool to delete a specific contact. use when you need to remove a contact permanently after confirming it should be deleted. example: "delete contact 123". | `contact_id` |
| `CAMPAYN_DELETE_LIST` | Tool to delete a specific contact list. use when cleaning up unused lists after confirming they are no longer needed. example: "delete list 123". | `list_id` |
| `CAMPAYN_DELETE_WEBFORM` | Tool to delete a specific webform. use when removing outdated or unnecessary webforms after confirming they are no longer needed. example: "delete webform 123". | `list_id`, `webform_id` |
| `CAMPAYN_GET_CONTACT` | Tool to retrieve a specific contact by id. use when you need to fetch full contact details after confirming the contact id. | `contact_id` |
| `CAMPAYN_GET_CONTACTS` | Tool to retrieve all contacts in a specified list. use when you need to fetch list contacts after confirming list id. | `list_id` |
| `CAMPAYN_GET_LIST` | Tool to retrieve a specific contact list by id. use when you need to fetch list details like name, tags, and contact count after knowing the list id. | `list_id` |
| `CAMPAYN_GET_LISTS` | Tool to retrieve all contact lists. use when you need to fetch available lists before performing list-specific actions. example prompt: "list all my contact lists". | - |
| `CAMPAYN_GET_MESSAGE` | Tool to retrieve details of a specific message by id. use when you need to fetch full message details after confirming the message id. | `message_id` |
| `CAMPAYN_GET_MESSAGES` | Tool to retrieve all email messages. use when you need to list all messages visible to the authenticated user. | - |
| `CAMPAYN_GET_REPORTS` | Tool to retrieve report urls and metadata for sent and scheduled emails. use when you need to fetch email delivery data, optionally filtered by a date range (unix timestamp in seconds, utc). note: scheduled emails will have report url set to null. | - |
| `CAMPAYN_GET_WEBFORM` | Tool to retrieve details of a specific webform by id. use after confirming the webform id when you need to fetch form details like title, type, html, and signup count. example: "get webform 1550". | `list_id`, `webform_id` |
| `CAMPAYN_GET_WEBFORMS` | Tool to retrieve all webforms for a specific contact list. use when you need to list forms after confirming the list id. example prompt: "list all webforms in list 123". | `list_id` |
| `CAMPAYN_UPDATE_LIST` | Tool to update a contact list. use after confirming list id and desired changes. example: update list 123 name to 'newsletter subscribers'. | `list_id` |

## Links

- [Campayn website](https://www.campayn.com/)
- [Get API key / credential](https://www.campayn.com/api)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
