Plain
Plain is a collaborative support platform for B2B support teams, offering a modern, AI-powered interface to consolidate support channels and assist customers efficiently.
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 for how discovery works.
Connect
Plain authenticates with an API key. Generate the credential in your Plain account, then paste it into FlyMyAI the first time an agent uses a Plain action.
Fields to fill in FlyMyAI
| Field | Details |
|---|---|
Plain API Key | Your Plain API key, starting 'plainApiKey_'. Create it in Settings → Machine Users → Add API Key with the permissions you need; copy it now - it's shown only once. (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 |
|---|---|---|
PLAIN_ADD_CUSTOMER_TO_GROUP | Tool to add a customer to one or more customer groups. use when you have a customer and groups ready. | customerId, customerGroupIdentifiers |
PLAIN_CREATE_CUSTOMER | Tool to create a customer. use after gathering email and full name to provision a new customer in plain. | email, full_name |
PLAIN_CREATE_THREAD | Tool to create a new thread. use after obtaining valid customer identifier. | title, customerIdentifier |
PLAIN_DELETE_CUSTOMER | Tool to delete a customer from the system. use when you need to remove a customer by their id. | customer_id |
PLAIN_DELETE_USER | Tool to delete a user from the system. use when you need to remove a user by their id after confirming existence. | user_id |
PLAIN_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. | company_id |
PLAIN_FETCH_ISSUES | Tool to fetch external issue links for a customer. use when you need to list all issues across a customer's threads. | customerId |
PLAIN_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". | tier_id |
PLAIN_GET_CUSTOMERS | Tool to fetch a list of customers. use when retrieving multiple customer records with pagination, filtering, or sorting. | - |
PLAIN_GET_CUSTOMER_BY_EMAIL | Tool to fetch customer details by email. use after confirming the email exists to retrieve detailed customer information. | email |
PLAIN_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. | id |
PLAIN_GET_THREAD_BY_ID | Tool to fetch details of a specific thread using its unique identifier. use after confirming the thread id is correct. | id |
PLAIN_GET_USER_BY_ID | Tool to fetch user by id. use when you have a valid user id to retrieve detailed user information. | user_id |
PLAIN_LIST_THREADS | Tool to list all threads. use when you need to retrieve thread summaries with optional pagination. | - |
PLAIN_LIST_TIERS | Tool to retrieve a list of tiers with pagination. use when you need to browse available tiers after determining pagination cursors. example: 'list tiers with first=25'. | - |
PLAIN_PLAIN_CREATE_CUSTOMER_GROUP | Tool to create a new customer group. use when needing to group customers for segmentation. creates a new customer group with specified name, key, color, and optional externalid. | name, key, color |
PLAIN_PLAIN_LIST_CUSTOMER_GROUPS | Tool to list all customer groups. use when you need to retrieve group metadata with optional pagination or filters. | - |
PLAIN_PLAIN_QUERY_THREADS | Tool to retrieve a paginated list of threads. use when you need to list threads with optional status filtering. | - |
PLAIN_REMOVE_CUSTOMER_FROM_GROUP | Tool to remove a customer from one or more customer groups. use when you need to revoke memberships. | customerId, customerGroupIdentifiers |
PLAIN_SEND_MESSAGE | Tool to send a new message within a thread. use after identifying the thread and preparing message content. | threadId |
PLAIN_UPDATE_COMPANY | Tool to update an existing company's details. use when modifying a company's name or domain. | companyId, name, domainName |
PLAIN_UPDATE_THREAD | Tool to update a thread's title. use when renaming a thread after confirming its id. | threadId, title |
PLAIN_UPSERT_CUSTOMER | Tool to upsert (create or update) a customer. use when syncing or ensuring a customer record exists before subsequent actions. | identifier, onCreate, onUpdate |
Links
We love our partners - FlyMy.AI builds with the best. Thanks, Plain!