Automate Twitter Mentions Alerts with n8n and Slack

Struggling to stay on top of your company’s Twitter mentions? This n8n workflow scrapes the latest 50 mentions every 10 minutes and posts new ones directly to Slack, saving you hours of manual monitoring and ensuring you never miss a mention again.
cron
twitter
slack
+3
Workflow Identifier: 1637
NODES in Use: Cron, Set, Date & Time, Twitter, If, Slack
Automate Twitter mentions with n8n and Slack

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow runs every 10 minutes to check for new mentions of a company Twitter handle.
It finds the last 50 tweets mentioning the handle.
It then filters tweets made only since the last run to avoid repeats.
Next, it formats the tweet text and URL link for Slack.
Finally, it sends those alerts as messages to a Slack channel.
This way, the team gets fast notifications about new tweets without checking manually.


Inputs → Processing Steps → Outputs

Inputs

  • Scheduled time from Cron node every 10 minutes.
  • Twitter company handle for searching mentions from Set node.
  • Slack channel name from Set node.

Processing Steps

  • Date & Time node calculates timestamp 10 minutes before current time.
  • Twitter node searches for last 50 mentions of the company handle.
  • If node checks tweet creation time is after the 10-minute timestamp.
  • Set node formats tweet text and constructs tweet URL.
  • Slack node sends messages with tweet info to the Slack channel.

Outputs

  • Slack messages posted in the specified channel, each with tweet text and clickable link.

Who Should Use This Workflow

This automation is for teams monitoring social media mentions without spending hours manually tracking them.
It fits social media managers, customer support groups, or PR teams who want quick Slack notifications.
Anyone wanting to keep alerts active while working inside Slack will benefit by centralizing updates.


Tools and Services Used

  • n8n automation platform: Runs the scheduled tasks.
  • Twitter API with OAuth 1.0: Searches recent tweets mentioning the company handle.
  • Slack API token: Posts messages to Slack channel.
  • Date & Time node: Calculates time limits for filtering tweets.

Beginner Step-by-Step: How To Use This Workflow In Production

Download and Import Workflow

  1. Download the saved workflow file using the “Download” button on this page.
  2. Inside the n8n editor, click the menu and select “Import from File”.
  3. Choose the downloaded file to import the workflow.

Configure Credentials and Values

  1. Add Twitter API credentials with OAuth 1.0 in the Twitter node.
  2. Add your Slack API token in the Slack node.
  3. Update the Set node values for twitterSearchValue (your company Twitter handle).
  4. Update the slackChannel name if your Slack channel differs.

Test the Workflow

  1. Run the workflow manually inside n8n to check if data flows correctly and no errors appear.
  2. Look for Slack messages posting with tweet info.

Activate for Production

  1. Toggle the workflow from draft to active mode in the top right.
  2. Ensure the Cron node is set to trigger every 10 minutes and the workflow remains active.
  3. Monitor logs at first to catch errors early.
  4. See self-host n8n if running n8n on a server for production.


Customization Ideas

  • Change the Cron node frequency to check more or less often.
  • Expand the Twitter search to multiple handles or hashtags by editing the search expression.
  • Add filters using Function node for tweet language or keywords.
  • Format Slack messages using attachments or markdown for nicer display.
  • Add more Slack nodes to notify multiple channels or teams.

Troubleshooting Common Issues

Workflow Does Not Trigger

Check that Cron node is set to every 10 minutes and workflow is activated.

Twitter Node Returns No Data

Verify Twitter API credentials and that the search text has the correct handle with ‘@’.

Slack Messages Not Sending

Check Slack API token and that the target Slack channel name is correct.


Pre-Production Checklist

  • Confirm Twitter API access includes read permission for searches.
  • Test Slack API token by sending a manual test message.
  • Run the workflow manually to verify proper data flow.
  • Try variations of Twitter search terms to confirm results.
  • Ensure workflow is activated to trigger automatically.

Summary

→ The workflow checks Twitter every 10 minutes for new mentions.
→ It filters recent tweets and posts alerts on Slack.
✓ Saves manual monitoring time.
✓ Keeps teams instantly informed.
✓ Centralizes social media tracking inside Slack.


Automate Twitter mentions with n8n and Slack

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Edit the twitterSearchValue field in the Set node to the new Twitter handle with an @ symbol.
Add the Twitter API OAuth 1.0 credentials in the Twitter node authentication settings.
Change the frequency settings in the Cron node to a smaller time interval, like 5 minutes.
Verify Slack API token is correct in the Slack node and that the channel name string matches the target channel.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.