Skip to content
FlowHubFluxonLab
Mattermost
Mattermostfree

Send tweets every minute to Mattermost

by Harshil Agrawaladapted from n8n official workflow galleryUpdated Aug 2026
RequiresMattermostMattermostX (Formerly Twitter)X (Formerly Twitter)
Share Post Share
TwitterCrCronFuFunctionSeSetMattermost1234
1/5
STEPS · 4
Runs on a schedule

This workflow executes every minute and fetches the recent tweets from Twitter with the search query n8n_io. The workflow is built on the concept of polling. Cron node: The Cron node triggers the workflow every minute. Based on your use-case you can configure the time. You can even use the Interval node to trigger the workflow at a certain time interval. Twitter node: The Twitter node searches for the tweets that contain n8n_io and returns the most recent tweets. You can specify a different search query based on your use-case. Set node: The Set node sets the data that we pass on to the next nodes in the workflow. You can set only the values that you require in your workflow. Function node: All the magic happens in this node. The Twitter node returns all the recent tweets, including the ones which were returned earlier. The Function node, using the getWorkflowStaticData() method, only returns the tweets that are new, i.e., the tweets that were not returned in the previous workflow. Mattermost node: The Mattermost node sends the tweets from the Function node to the Twitter notifications channel.

Tags

n8nreference-onlymattermosttwitter
Connects
mattermostMattermostxformerlytwitterX (Formerly Twitter)
CategoryMattermost
Triggermanual
Complexitysimple
Nodes5
AddedJan 5, 2021

Related workflows

See all Mattermost
Wmattermost
free

Webhooks with Mattermost

Does pretty much what this workflow does but is triggered by a slash command using a Webhook node.

by tanaypant
mattermostpagerduty
free

Incident Response Workflow - Part 2

This workflow is the second of three. You can find the other workflkows here: Incident Response Workflow - Part 1 Incident Response Workflow - Part 2 Incident Response Workflow - Part 3 We have the following nodes in the workflow: Webhook node: This trigger node listens to the event when the Acknowledge button is clicked. PagerDuty node: This node changes the status of the incident report from 'Triggered' to 'Acknowledged' in PagerDuty. Mattermost node: This node publishes a message in the auxiliary channel saying that the status of the incident report has been changed to Acknowledged.

by tanaypant
mattermosttwilio
free

Sample error workflow

A sample error workflow which when triggered sends a notification to the specified Mattermost channel as well as an SMS to the specified mobile number.

by tanaypant