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
- Download the saved workflow file using the “Download” button on this page.
- Inside the n8n editor, click the menu and select “Import from File”.
- Choose the downloaded file to import the workflow.
Configure Credentials and Values
- Add Twitter API credentials with OAuth 1.0 in the Twitter node.
- Add your Slack API token in the Slack node.
- Update the Set node values for
twitterSearchValue(your company Twitter handle). - Update the
slackChannelname if your Slack channel differs.
Test the Workflow
- Run the workflow manually inside n8n to check if data flows correctly and no errors appear.
- Look for Slack messages posting with tweet info.
Activate for Production
- Toggle the workflow from draft to active mode in the top right.
- Ensure the Cron node is set to trigger every 10 minutes and the workflow remains active.
- Monitor logs at first to catch errors early.
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.

