Connect Slack to Failment

Get instant failed payment notifications and reports delivered straight to your Slack workspace.

Prerequisites

  • Admin access to your Slack workspace
  • Active Failment account

Configuration

Follow these steps to connect your Slack workspace to Failment for real-time payment failure notifications.

Step 1: Create Slack App

Navigate to api.slack.com/apps and create a new app:

1Create New AppFrom manifest
2Workspace: Select your workspace
3Put this JSON:
{
  "display_information": {
    "name": "Failment",
    "description": "Get instant failed payment notifications and reports delivered straight to your Slack workspace.",
    "background_color": "#B347FF"
  },
  "features": {
    "bot_user": {
      "display_name": "Failment Bot",
      "always_online": true
    }
  },
  "oauth_config": {
    "redirect_urls": [
      "https://failment.com/api/slack/callback"
    ],
    "scopes": {
      "bot": [
        "channels:manage",
        "groups:write",
        "chat:write",
        "chat:write.public",
        "channels:read",
        "groups:read"
      ]
    }
  },
  "settings": {
    "org_deploy_enabled": false,
    "socket_mode_enabled": false,
    "token_rotation_enabled": false
  }
}
4Click Create
5In Basic Information (which you are redirected automatically), scroll down to "Display Information"
6
Configure the app logo:
(If download doesn't start, right-clickhereand save)

Step 2: Configure Permissions

Location: api.slack.com/apps

In your newly created app:

1Go to OAuth & Permissions
2Click Install to Your Workspace
3Now you can see the bot token (eg. xoxb-12345...)

Step 3: Get Initial Credentials

Location: api.slack.com/apps

Copy these values from your Slack app:

From Basic Information:

  • Client ID
  • Client Secret

Step 4: Connect Phase 1

Location: https://failment.com

📝 Note: If you're reading this from the Slack connection modal, you can start from Step 3 to get your credentials.

In your Failment dashboard:

1Navigate to SettingsNotifications
2Click Connect Slack
3
In the modal that appears, enter:
  • Client ID
  • Client Secret
4Click Connect

Step 5: Authorize Bot in Channel

Location: Your Slack Workspace

Important: Before proceeding, you must authorize the bot:

1Open any Slack channel in your workspace
2Type @Failment
3Click Add to Channel when prompted
4The bot is now authorized in your workspace

Step 6: Complete Connection

Location: https://failment.com

1A new modal will appear asking for the Bot Token
2Return to your Slack app at OAuth & Permissions
3Copy the Bot User OAuth Token (starts with xoxb-)
4Paste it in the Bot Token field
5Click Connect

Success! Your integration is now active.

Usage

Once connected, Failment automatically:

  • Creates #failment-notifications channel
  • Sends real-time failed payment alerts
  • Delivers scheduled reports

Example notification:

🚨 PAYMENT FAILURE ALERT Amount: 100.00 USD Customer: John Doe Email: johndoe@domain.com Error: Your card was declined. Time: 8/16/2025, 1:56:15 PM Transaction ID: pi_3RwkabLJ4DjJWhL41IGKeLqp

Testing Your Connection

After successful connection, you'll see a Test button. Click it to send a test message and verify your integration is working properly.

Troubleshooting

Not receiving notifications or test messages?

Contact our support team at info@failment.com

We'll respond within 24-48 hours with a solution.

Advanced

Customize Notifications

After connecting, you can edit your notification settings in SettingsNotifications to customize what alerts you receive.

Disconnect Integration

SettingsNotificationsSlackDisconnect