See llms.txt for all machine-readable content.

Slack and X (Formerly Twitter) integration

Save yourself the work of writing custom integrations for Slack and X (Formerly Twitter) and use n8n instead. Build adaptable and scalable Communication, HITL, workflows that work with your technology stack. All within a building experience you will love.

How to connect Slack and X (Formerly Twitter)

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Slack and X (Formerly Twitter) integration: Create a new workflow and add the first step

ETL pipeline for text processing

This workflow allows you to collect tweets, store them in MongoDB, analyse their sentiment, insert them into a Postgres database, and post positive tweets in a Slack channel. workflow-screenshot Cron node: Schedule the workflow to run every day Twitter node: Collect tweets MongoDB node: Insert the collected tweets in MongoDB Google Cloud Natural Language node: Analyse the sentiment of the collected tweets Set node: Extract the sentiment score and magnitude Postgres node: Insert the tweets and their sentiment score and magnitude in a Posgres database IF node: Filter tweets with positive and negative sentiment scores Slack node: Post tweets with a positive sentiment score in a Slack channel NoOp node: Ignore tweets with a negative sentiment score

Build your own Slack and X (Formerly Twitter) integration

Create custom Slack and X (Formerly Twitter) workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Slack supported actions

X (Formerly Twitter) supported actions

Slack and X (Formerly Twitter) integration details

Slack

Slack

Slack is a powerful collaboration tool for businesses of all sizes. It brings team communication and collaboration into one place so you can get more work done, whether you belong to a large enterprise or a small business.

X (Formerly Twitter)

X (Formerly Twitter)

Twitter is a microblogging and social networking platform where users can post, share and reply to messages called "tweets" on the platform. It remains one of the world's largest social media websites.

Automate lead management

Using too many marketing tools? n8n lets you orchestrate all your apps into one cohesive, automated workflow.

Learn more

FAQ about Slack integrations

Need help setting up your Slack and X (Formerly Twitter) integration?

Discover our latest community's recommendations and join the discussions about Slack and X (Formerly Twitter) integration.

  • Michelle

    Slack node: Channel list not loading with "Issues: There was a problem loading the parameter options from server: "[object Object]""

    Michelle

    I’m trying to use a Slack node for searching messages in a specific channel. Yet, when I add the option for channel selection, I get an error: *Issues: There was a problem loading the parameter options from server: “[ob…

    Open topic
  • Ageng Putra

    Slack Trigger Node stopped working between two different channels

    Ageng Putra

    Describe the problem/error/question I have two separate workflows, each using a different Slack app integration: Staging channel → uses trigger-app 1 Production channel → uses trigger-app 2 The issue: The Slack…

    Open topic
  • Kyrylo

    Slack's channel history timestamp parameters

    Kyrylo

    Describe the problem I’m trying to get certain messages from a channel. The way I had it configured with HTTP node was by making a request to this URL: https://slack.com/api/conversations.history?channel={{ $(‘get_all_m…

    Open topic
  • Ignas

    Scalable Slack triggers set up

    Ignas

    Describe the problem/error/question Hey Community, we recently rolled out N8N company wide and we are missing is scalable solution to Slack trigger set up. The problem is that for every workflow that we create in N8N we …

    Open topic
  • Sergiy B.

    Slack node token rotation issue

    Sergiy B.

    Describe the problem/error/question I have a Opt in option switched on in the Slack app, so tokens are rotating every 12 hours, but there is no way I found in n8n to make dynamik access tocken to be applied, so every 12…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Trusted by teams building smarter workflows

Why

Why use n8n to integrate Slack with X (Formerly Twitter)

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship