# Plain AI integration on Definable

> Plain is a collaborative support platform for B2B support teams, offering a modern, AI-powered interface to consolidate support channels and assist customers efficiently.

## What this connects

Plain is a collaborative support platform for B2B support teams, offering a modern, AI-powered interface to consolidate support channels and assist customers efficiently.

Vendor: https://www.plain.com

## Tools available

**23** tools available. First 12:

- `PLAIN_ADD_CUSTOMER_TO_GROUP` — Add Customer To Group — Tool to add a customer to one or more customer groups. Use when you have a customer and groups ready.
- `PLAIN_CREATE_CUSTOMER_GROUP` — Create Customer Group — Creates a new customer group in Plain for organizing and segmenting customers. Customer groups allow you to categorize customers (e.g., by pricing tier, feature access, or support level) and manage them more effectively in your support workflow. Each group has a unique key, display name, and visual color for easy identification. Use this when you need to create a new customer segment for organization or filtering purposes.
- `PLAIN_CREATE_THREAD` — Create Thread — Tool to create a new thread. Use after obtaining valid customer identifier.
- `PLAIN_DELETE_CUSTOMER` — Delete Customer — Tool to delete a customer from the system. Use when you need to remove a customer by their ID.
- `PLAIN_DELETE_USER` — Delete User — Tool to delete a user from the system. Use when you need to remove a user by their ID after confirming existence.
- `PLAIN_FETCH_COMPANY` — Fetch Company — Tool to fetch company details by ID. Use when you need the full profile of a company, including name, domain, contract value, owner info, and timestamps.
- `PLAIN_FETCH_ISSUES` — Fetch Issues — Fetches external issue tracker links (Jira, Linear, GitHub, etc.) associated with a customer's threads. Returns a flattened list of all issue links across the customer's threads, including the thread context for each issue. Useful for getting a complete view of all external issues related to a customer. With defaults, returns up to threadFirst×linkFirst (2,500) total issue links; results are truncated if limits are exceeded, so reduce threadFirst or linkFirst for large datasets.
- `PLAIN_FETCH_TIER` — Fetch Tier — Tool to fetch a tier by its ID. Use when you have a tier ID and need its metadata before proceeding. Example: "Fetch tier with ID tier_123".
- `PLAIN_GET_CUSTOMER_BY_EMAIL` — Get Customer By Email — Fetch customer details by email address. Returns customer information if found, or null if no customer exists with that email.
- `PLAIN_GET_CUSTOMER_BY_ID` — Get Customer By ID — Tool to retrieve details of a specific customer by their unique ID. Use after obtaining the customer's ID to fetch their complete record.
- `PLAIN_GET_CUSTOMERS` — Get Customers — Tool to fetch a list of customers. Use when retrieving multiple customer records with pagination, filtering, or sorting.
- `PLAIN_GET_THREAD_BY_ID` — Get Thread By ID — Fetches comprehensive details of a specific thread by ID, including customer info, status, priority, labels, and assignments. Returns null if thread not found.

## Auth

Auth schemes: `API_KEY`.

## How agents use Plain

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

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

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

## Categories

- customer support — https://definable.ai/apps/category/customer-support/

## Related

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