Slack Integration

The Pathfix Slack Integration Plugin enables message sending capabilities from your Bubble app to your user's Slack Workspace. The plugin will handle OAuth configs + tokens and calls the relevant Slack API automatically. No configurations required to get the plugin working

This documentation will show setup guide and a few example use cases.



Setup

The plugin is available in the Bubble Plugin store.

IMPORTANT: You need to install the Pathfix OAuth Connector first before installing this plugin

  • Click on Add Plugin in the plugin section of your Bubble editor
  • Pick the Slack Connector plugin by Pathfix Inc. and install it (click here to access the plugin)

  • Under x-partner-key (shared headers), add your Pathfix x-partner-key from the Keys section of your Pathfix account
  • If you do not have a Pathfix account, enter the x-partner-key provided by the Pathfix OAuth Connector plugin in preview mode.



Important

The x-partner-key generated by the Pathfix OAuth plugin keys are intended for testing and not production environments. Login to your account and add the provider to use your own keys in Pathfix.



Image: Partner Key
Image: Partner Key
  • Navigate to the Design section and select the Pathfix Connector element and enable Slack from the list of providers



Image: enable the provider
Image: enable the provider



Once installed, there are no additional configurations required to get the Plugin to work. All actions are immediately available, you can setup your workflow in Bubble to add message sending capabilities.

The Connect button will automatically be added to your page that contains the Pathfix Connector Design Element. No additional settings are required

You can add dropdown, text etc elements to pull in Slack Channels using the plugin and setup Workflows to send messages or notifications to your user's Slack channel of choice.



Sample Screenshot

Here are a few sample screenshots and use-cases that show setup to pull data or push messages to your User's Slack Workspace.



Image: Get Slack Channels
Image: Get Slack Channels



Image: Dropdown Channels
Image: Dropdown Channels



Add a Text and Button element and enable sending capabilities directly from your app with a simple workflow. Sample:



Image: Workflow
Image: Workflow



Setup ANY notification workflow

Image: Notification
Image: Notification



Additionally, the Slack plugin (version 3.0.1) also gives you the additional setting options:

  • channel_types
    • You can choose to show specific channel types for users including private_channels, public_channel, im and mpim (aka multiparty im/group im)
  • exclude_archive
    • Exclude archived channels from being shown to your users. By default, this is excluded. To include archived channels, change the value to false



Image: channel type and archive setting
Image: channel type and archive setting





Video Walkthrough

See how you can add Slackbot functionality to your Bubble app





Whitelabel

The plugin works with a Pathfix ClientID and ClientSecret. This means that when your user goes through the OAuth process to grant access, they will see the request by Pathfix.

You can use your own ClientID and ClientSecret in the plugin and whitelabel it.

Follow this document to Whitelabel Your Connectors



Works with

Bubble.io