Skip to main content

What it does

  • Syncs threads from Plain into Decimal as support tickets
  • Writes resolutions back as comments on the original Plain thread
  • Enables escalation from chat widgets to create new Plain threads
  • Imports thread context including messages and customer information

Connecting Plain

  1. Open Integrations: Go to Settings → Integrations.
  2. Click Plain: Click on the Plain integration row to open the Plain integration page.
  3. Provide your API key: In the Connection section, enter your Plain API key. Optionally, also enter a Decimal agent API key.
  4. Connect: Click Connect to save the configuration.

Finding your Plain API key

  1. On the Plain page in Decimal, click Copy next to Required permissions.
  2. In Plain, go to Settings → API Keys and create a key with the permissions you copied.
  3. Paste the key into the API key field in Decimal.
After connecting, click Validate under Permissions to check the key has every permission Decimal uses.

Webhook setup

Configure a webhook so Decimal picks up thread updates with lower latency as customers reply.
  1. Copy your signing secret from Plain under Settings → Request Signing. Plain workspace HMAC secret under Request signing
  2. Save the secret in Decimal: on the Plain page, paste it into the Signing secret field in the Webhook section and click Save.
  3. Create a webhook in Plain under Settings → Webhooks with this URL:
    Subscribe it to the Thread events (thread.*) so replies and status changes are delivered. Plain webhook target configured with the Decimal webhook URL
  4. Turn webhooks on or off at any time with the Receive webhooks switch in the Webhook section.

Customer cards

Turn on Show in the ticket sidebar in the Customer cards section to display Plain customer cards in the Decimal ticket sidebar. Your Plain API key needs the customerCardConfig:read, customerCardInstance:read, and customerCardInstance:reload permissions.

Help center

Once Plain is connected, turn on Sync articles in the Help center section to import your Plain help center articles into the Decimal knowledge base. Use Sync again to choose how often articles re-sync (Daily, Weekly, or Never), or click Sync now to start a sync on demand.

Chat widget escalation

Once connected, Plain can be selected as an escalation target for Chat Widgets. When a customer escalates a conversation, a new Plain thread is created with the full chat history.