Skip to main content
Plain logo

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.

Get your Plain credential →

Fields to fill in FlyMyAI

FieldDetails
Plain API KeyYour 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.

ActionWhat it doesRequired inputs
PLAIN_ADD_CUSTOMER_TO_GROUPTool to add a customer to one or more customer groups. use when you have a customer and groups ready.customerId, customerGroupIdentifiers
PLAIN_CREATE_CUSTOMERTool to create a customer. use after gathering email and full name to provision a new customer in plain.email, full_name
PLAIN_CREATE_THREADTool to create a new thread. use after obtaining valid customer identifier.title, customerIdentifier
PLAIN_DELETE_CUSTOMERTool to delete a customer from the system. use when you need to remove a customer by their id.customer_id
PLAIN_DELETE_USERTool 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_COMPANYTool 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_ISSUESTool to fetch external issue links for a customer. use when you need to list all issues across a customer's threads.customerId
PLAIN_FETCH_TIERTool 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_CUSTOMERSTool to fetch a list of customers. use when retrieving multiple customer records with pagination, filtering, or sorting.-
PLAIN_GET_CUSTOMER_BY_EMAILTool to fetch customer details by email. use after confirming the email exists to retrieve detailed customer information.email
PLAIN_GET_CUSTOMER_BY_IDTool 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_IDTool to fetch details of a specific thread using its unique identifier. use after confirming the thread id is correct.id
PLAIN_GET_USER_BY_IDTool to fetch user by id. use when you have a valid user id to retrieve detailed user information.user_id
PLAIN_LIST_THREADSTool to list all threads. use when you need to retrieve thread summaries with optional pagination.-
PLAIN_LIST_TIERSTool 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_GROUPTool 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_GROUPSTool to list all customer groups. use when you need to retrieve group metadata with optional pagination or filters.-
PLAIN_PLAIN_QUERY_THREADSTool to retrieve a paginated list of threads. use when you need to list threads with optional status filtering.-
PLAIN_REMOVE_CUSTOMER_FROM_GROUPTool to remove a customer from one or more customer groups. use when you need to revoke memberships.customerId, customerGroupIdentifiers
PLAIN_SEND_MESSAGETool to send a new message within a thread. use after identifying the thread and preparing message content.threadId
PLAIN_UPDATE_COMPANYTool to update an existing company's details. use when modifying a company's name or domain.companyId, name, domainName
PLAIN_UPDATE_THREADTool to update a thread's title. use when renaming a thread after confirming its id.threadId, title
PLAIN_UPSERT_CUSTOMERTool to upsert (create or update) a customer. use when syncing or ensuring a customer record exists before subsequent actions.identifier, onCreate, onUpdate
We love our partners - FlyMy.AI builds with the best. Thanks, Plain!