Docs
  • LogicLoop Documentation
  • LogicLoop Quickstart
  • Data Sources
    • Connect your data source
      • Deployment options
    • Supported data sources
      • API data (JSON)
      • AWS CloudWatch
      • BigQuery
      • Databricks
      • Google Analytics
      • Google Sheets
      • MongoDB
      • Microsoft SQL Server
      • MySQL
      • Oracle
      • PostgreSQL
      • Snowflake
      • Combine Results
      • LogicLoop Data Source
  • Queries
    • Write a rule
      • More rule options
      • A/B testing rules
      • Version history
      • Query Snippets
    • Visualizations & dashboards
      • Visualizations
      • Dashboards
  • Actions
    • Set up an action
    • Action destinations
      • Email
      • Slack
      • Webhooks & APIs
      • Microsoft Teams
      • Salesforce
      • Zapier
      • PagerDuty
      • Write to Database
      • Chain Rules
      • Google Sheets
      • Bento
    • Templating
  • Case Management
    • Case Management
      • Ticket Generation
      • Case Triage
      • Custom Fields and Attachments
  • AI
    • AI Query Helper
    • Ask AI
  • Teams & Settings
    • Integrations
      • Slack
      • Google Sheets
    • Invite your teammate
    • Groups & Permissions
  • Changelog
  • FAQs
  • Troubleshooting
  • Templates
    • Templates Home
    • Risk & Fraud Rules
    • AML Transaction Monitoring Rules
    • Logistics & Marketplace Ops
    • Customer Success & Growth
    • Systems Observability
    • Data Quality Monitoring
    • Healthcare
    • HTML Email Templates
      • Annual Review
      • Weekly Performance Table
      • Invoice Recap
  • BETA
    • AI SQL API
    • Approving rules
    • Render Data as JSON
    • Case Analytics
    • Python
  • Security & Legal
    • Security
    • AI Security
    • Terms of use
    • Privacy policy
    • Services description
Powered by GitBook
On this page
  • Integrate Directly with Slack
  • Slack Notification Template
  • Attach CSV Results
  • Legacy Option: Create Slack App
  • Get an API token
  • Write a notification to a Slack Channel
  • Legacy Option 2: Slack Incoming WebHook

Was this helpful?

  1. Actions
  2. Action destinations

Slack

PreviousEmailNextWebhooks & APIs

Last updated 12 months ago

Was this helpful?

One of the most common use cases for LogicLoop is to have your rule post a message to a Slack channel.

Integrate Directly with Slack

Follow our to get your LogicLoop workspace connected with Slack.

Slack Notification Template

You can customize the format of your Slack notification to include all the information your operator will need to know. You can read more about how to .

Here's an example of Slack notification template:

And here is what it will look like when it triggers an actual Slack message:

Attach CSV Results

You can attach a CSV file of your query results to your Slack message.

Slack has a 3000 character message limit. We recommend adding a link to a dashboard or results to prompt further investigation.

Legacy Option: Create Slack App

Get an API token

Create a pre-configured app

Configure your Slack App

Next, select the workspace that you want to interact with (read from or write to), and click Next. To give the app a recognizable name and description, click Edit Configurations and change the values of name (you will need this later) and description. Finally, click Next, then Create.

Get your Slack API Token

Under Install your app, click Install to Workspace, and select Allow. At the top of the screen you should see a message telling you to head back to the tutorial. Click the link in the message.

If the Install to Workspace button is disabled, you may need to add permission scopes to your app. On the left menu, under Features, you should see OAuth & Permissions. Click that, scroll down to the Scopes section and add the Bot Scopes that fit your use case.

If you scroll down to the section Using your token, you can find the API token populating a black box (starting with xoxb). Save that token somewhere safe, you will need it.

Write a notification to a Slack Channel

Legacy Option 2: Slack Incoming WebHook

Through Slack's interface, you will be able to choose a channel you want your webhook to post to.

Once you select a channel and click Add Incoming WebHooks integration, you can copy the Slack Webhook URL that is returned.

The most common way of interacting with the Slack API is by creating a Slack App Integration. Begin by navigating to the this tutorial on Scroll down to the Create a pre-configured app section and click Create app.

We now want to write notifications to Slack. We will send POST API requests by using the Action Destination. To do this in LogicLoop, select Destinations from the left side menu, click the New Action Destination button on the top right, and choose Webhook Builder from the menu.

You can see how to create the Slack Destination and Action .

To have your rule ping a Slack channel all you need is your Slack Incoming WebHook URL or choose from your . You can read more about Slack's WebHooks .

Paste the Webhook URL to your LogicLoop under Slack Webhook URL.

Once the Slack Action Destination is set up you can go to your so that every time you rule runs, it will generate a Slack alert if the criteria is fulfilled.

How to quickly get and use a Slack API token.
which you can create here
existing Slack WebHook URLs here
here
Action Destination
rule's action page and add the Slack destination
integration guide
template your notifications here
Webhook Builder
here