Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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.
Update Company Tier
PLAIN_UPDATE_COMPANY_TIERAssign one company to a tier or clear its tier membership.
Update Generated Reply
PLAIN_UPDATE_GENERATED_REPLYRecord teammate feedback on a generated reply.
Update Label Type
PLAIN_UPDATE_LABEL_TYPEUpdate mutable label-type properties using field wrappers.
Update Note
PLAIN_UPDATE_NOTEReplace an internal note's content and optional attachment list.
Update Tier SLA
PLAIN_UPDATE_SERVICE_LEVEL_AGREEMENTUpdate a legacy tier SLA without changing its SLA type.
Update SLA Policy
PLAIN_UPDATE_SERVICE_LEVEL_AGREEMENT_POLICYReplace an SLA policy's targets; omitted target types and their trackers are deleted.
Update Snippet
PLAIN_UPDATE_SNIPPETUpdate selected snippet fields using Plain's field-level wrappers.
Update Task
PLAIN_UPDATE_TASKUpdate selected fields on an existing task.
Update Tenant Tier
PLAIN_UPDATE_TENANT_TIERAssign one tenant to a tier or clear its tier membership.
Update Thread Title
PLAIN_UPDATE_THREADTool to update a thread's title. Use when renaming a thread after confirming its ID.
Update Thread Attributes
PLAIN_UPDATE_THREAD_ATTRIBUTESChange one thread priority, customer, external ID, tenant, or tier attribute.
Update Thread Field Schema
PLAIN_UPDATE_THREAD_FIELD_SCHEMAUpdate mutable properties of a thread-field schema.
Apply or Clear Thread SLA Policy
PLAIN_UPDATE_THREAD_SERVICE_LEVEL_AGREEMENT_POLICYApply an SLA policy, or clear it so the thread falls back to its tier's SLAs.
Update Tier
PLAIN_UPDATE_TIERUpdate selected fields on an existing support tier.
Upsert Customer
PLAIN_UPSERT_CUSTOMERTool to upsert (create or update) a customer. Use when syncing or ensuring a customer record exists before subsequent actions.
Upsert Customer Group
PLAIN_UPSERT_CUSTOMER_GROUPIdempotently create or update a customer group using machine-user-safe calls.
Upsert Tenant
PLAIN_UPSERT_TENANTCreate or update a tenant while synchronizing its stable external ID.