# Campayn AI integration on Definable

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

## What this connects

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

Vendor: https://www.campayn.com/

## Tools available

**14** tools available. First 12:

- `CAMPAYN_CREATE_CONTACT` — Create Contact — Tool to create a new contact in a specific list. Use when you need to add a contact after gathering details.
- `CAMPAYN_DELETE_CONTACT` — 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".
- `CAMPAYN_DELETE_LIST` — 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".
- `CAMPAYN_DELETE_WEBFORM` — Delete webform — Delete a specific webform from a contact list. Use this to permanently remove a webform that is no longer needed. Requires both the list_id and webform_id - use Get Webforms action first to find these values. Note: The API returns success even for non-existent webform IDs (idempotent delete behavior).
- `CAMPAYN_GET_CONTACT` — Get Contact — Tool to retrieve a specific contact by ID. Use when you need to fetch full contact details after confirming the contact ID.
- `CAMPAYN_GET_CONTACTS` — Get Contacts — Retrieves all contacts from a specific contact list in Campayn. Returns contact details including email, name, address, and confirmation status. Use 'Get Lists' action first to obtain the list_id. Supports optional filtering by contact name/email/company.
- `CAMPAYN_GET_LISTS` — 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` — Get Message Statistics — Tool to retrieve engagement statistics for a specific email message by ID. Returns views, positive responses (clicks), and negative responses (unsubscribes/bounces). Use GET_MESSAGES first to get the list of available message IDs.
- `CAMPAYN_GET_MESSAGES` — Get Messages — Tool to retrieve all email messages. Use when you need to list all messages visible to the authenticated user.
- `CAMPAYN_GET_REPORTS` — 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` — 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".
- `CAMPAYN_GET_WEBFORMS` — 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".

## Auth

Auth schemes: `API_KEY`.

## How agents use Campayn

Inside a Definable workflow, Campayn is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Campayn** — the Researcher (GPT-5.5) pulls context from Campayn (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Campayn** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Campayn (create record, post message, draft email).
- **Designer / Engineer → Distributor → Campayn** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Campayn (attach file, open PR comment, post status).

The Verifier checks every Campayn call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- email newsletters — https://definable.ai/apps/category/email-newsletters/
- marketing automation — https://definable.ai/apps/category/marketing-automation/

## Related

- HTML page: https://definable.ai/apps/campayn/
- Same category (email newsletters): https://definable.ai/apps/category/email-newsletters/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
