Skip to content

Slack

The Slack integration sends document signing notifications to a Slack channel using Incoming Webhooks. When a document requires signatures, is signed, or is completed, a rich notification with action buttons appears in your designated Slack channel.

ScenarioDescription
Team awarenessKeep your team informed of every signing event without leaving Slack
Sales deal closingNotify the sales channel the instant a proposal or contract is signed
HR document flowAlert HR when new-hire paperwork (NDAs, offer letters) is executed
Legal reviewPost signing activity to a legal channel for real-time compliance monitoring
Executive visibilitySurface document completion status to leadership channels
Fast follow-upUse action buttons in Slack messages to jump straight to the document
  • A Slack workspace where you have admin permissions
  • WPsigner 2.1.0+ installed and activated
ComponentMinimum VersionRecommended
WPsigner2.1.0Latest
WordPress5.86.4+
PHP7.48.1+
Slack APIIncoming Webhooks v2Incoming Webhooks v2
TLS1.21.3
PHP Extensionscurl, jsoncurl, json, openssl
  1. Create a Slack App

    Go to api.slack.com/apps and click Create New AppFrom scratch.

    Name it something like “WPsigner” and select your workspace.

  2. Enable Incoming Webhooks

    In the app settings sidebar, click Incoming Webhooks and toggle it ON.

  3. Add a Webhook

    Click Add New Webhook to Workspace, select the channel where you want to receive notifications, and click Allow.

  4. Copy the Webhook URL

    Copy the generated webhook URL. It will look like:

    https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
  5. Configure in WPsigner

    Go to WPsignerIntegrationsSlackConfigure.

    • Toggle Enable Slack Notifications
    • Paste your webhook URL
    • Optionally enter the channel name for your reference
    • Click Test Connection to verify
    • Click Save Settings

The integration sends rich Block Kit messages for four events:

When a document is created and a signer is assigned, a notification with a Sign Document button is sent to the channel.

When a signer completes their signature, a confirmation notice appears in the channel.

When all signers have signed, a completion notification is sent with the total signer count.

When an admin sends a manual reminder, a notification with a Sign Now button appears.

MeasureImplementation
Webhook URL storageEncrypted at rest (AES-256-GCM)
URL validationDomain restricted to hooks.slack.com only
URL privacyNever echoed back to the browser
Transport securityHTTPS + TLS 1.2+ (enforced by Slack)
Access controlWordPress admin capability check
CSRF protectionWordPress nonce verification
Content escapingAll user content escaped before inclusion

The URL must start with https://hooks.slack.com/. Verify you copied the full URL from Slack.

The channel associated with the webhook may have been deleted or archived. Create a new webhook for an active channel.

Ensure your WPsigner installation uses PHP 7.4+ with json_encode support.

  1. Check that the webhook is enabled in your Slack App settings
  2. Verify the channel hasn’t been archived
  3. Check that your server can reach hooks.slack.com (no firewall blocking outbound HTTPS)
HookEvent
wps_signer_createdSigning request sent
wps_after_document_signedSignature recorded
wps_document_completedAll signatures complete
Option KeyDescription
wps_slack_enabledIntegration enabled (boolean)
wps_slack_webhook_urlEncrypted webhook URL
wps_slack_channel_nameDisplay channel name (string)
FeatureSlackTelegramWhatsApp
TargetChannel (team)Individual (Chat ID)Individual (phone)
AuthWebhook URLBot TokenAPI Token
Message formatBlock Kit (mrkdwn)HTMLTemplate
Setup complexityLowMediumHigh
Rate limit1/sec/webhook30/secVaries