Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Remove Customer From Group
PLAIN_REMOVE_CUSTOMER_FROM_GROUPRemoves a customer from one or more customer groups in Plain. Use this action to revoke customer group memberships. The customer must be a member of the specified group(s) - attempting to remove a customer from a group they're not in will result in an error. Groups can be identified by their Plain internal ID (customerGroupId), unique key (customerGroupKey), or external ID (externalId). Common use cases: - Downgrade customer tier (e.g., remove from premium_tier group) - Remove customer from beta access groups - Clean up group memberships after customer status changes
Remove Customer From Tenants
PLAIN_REMOVE_CUSTOMER_FROM_TENANTSIdempotently remove a customer from one or more tenants.
Remove Labels From Thread
PLAIN_REMOVE_LABELSRemove one or more concrete labels from a thread.
Remove Members from Tier
PLAIN_REMOVE_MEMBERS_FROM_TIERRemove up to 25 tenants or companies from their current tiers.
Reorder Autoresponders
PLAIN_REORDER_AUTORESPONDERSReorder native autoresponders in one call.
Reorder Thread Field Schemas
PLAIN_REORDER_THREAD_FIELD_SCHEMASReorder one or more thread-field schemas.
Reply To Email
PLAIN_REPLY_TO_EMAILImmediately and irreversibly send an external reply to an inbound email. Plain inherits the primary recipients and email channel from the referenced inbound email. The request can add CC and BCC recipients or send from a verified alternate support address while preserving email-client threading.
Run GraphQL Query
PLAIN_RUN_GRAPHQL_QUERYExecute an arbitrary GraphQL document against Plain without a safety gate; mutations can immediately and irreversibly change data. This tool cannot predeclare sufficient permissions for every operation and field. GraphQL errors without data raise an error; partial responses can include errors.
Search Customers
PLAIN_SEARCH_CUSTOMERSSearch customer profile fields or timeline text using explicit OR conditions.
Search Tenants
PLAIN_SEARCH_TENANTSSearch tenants by name, domain, or exact external ID.
Search Threads
PLAIN_SEARCH_THREADSSearch thread titles, messages, and customer names or emails.
Send Email/Slack Discussion Message
PLAIN_SEND_DISCUSSION_MESSAGEImmediately and irreversibly deliver a message in an existing discussion. The discussion ID determines the external recipients and original EMAIL or SLACK channel; they cannot be reviewed or overridden here. Live provider authorization requires threadDiscussionMessage:create, although the current operation page omits it.
Send Message
PLAIN_SEND_MESSAGEImmediately and irreversibly deliver a message through an existing thread. The thread determines the delivery channel and primary recipient or channel; this action does not let the caller review or override them. Email threads can add CC and BCC recipients. By default Plain sends as the connected machine user, while impersonation can make the message appear from a customer or an allow-listed workspace user.
Send New Email
PLAIN_SEND_NEW_EMAILImmediately and irreversibly send an external email to a customer. Plain uses the customer's email as the primary recipient. The request can add CC and BCC recipients, send from a verified alternate support address, and attach the email to an existing thread; the delivery channel remains email.
Set Customer Tenants
PLAIN_SET_CUSTOMER_TENANTSReplace a customer's complete tenant membership set in one call.
Transition Thread Status
PLAIN_TRANSITION_THREAD_STATUSMove a thread to Todo, Snoozed, or Done.
Unarchive Label Type
PLAIN_UNARCHIVE_LABEL_TYPERestore an archived label type for use on new threads.
Unmark Customer As Spam
PLAIN_UNMARK_CUSTOMER_AS_SPAMIdempotently clear a customer's spam flag and restore inbox visibility.
Update Autoresponder
PLAIN_UPDATE_AUTORESPONDERUpdate an autoresponder that automatically sends outbound customer replies. Enabling or changing a matching autoresponder can cause irreversible external messages. Plain permits at most 25 autoresponders per workspace and delays up to 900 seconds.
Update Company
PLAIN_UPDATE_COMPANYUpserts (creates or updates) a company in Plain. Provide companyId to update by ID or companyDomainName to upsert by domain. When both identifiers are omitted, domainName is also used as companyDomainName for compatibility. Use this to create new companies, update existing company details (name, domain, contract value), or assign account owners.