Process and Batch Tweets from Twitter/X
Workflow Description
An automated workflow that receives tweets via webhook or manual trigger, processes them through conditional logic and custom code, then splits results into batches for optimized handling with cloud storage integration.
How it works
- 1.Receive tweets through webhook or manual trigger from user input
- 2.Apply conditional logic to validate and filter tweet data
- 3.Execute custom code to transform or format content
- 4.Split processed data into manageable batches
- 5.Store results in NextCloud for centralized access
Use cases
- Monitor and aggregate tweets based on specific criteria and keywords
- Handle large volumes of social media data efficiently
- Integrate Twitter insights with internal cloud storage systems
Requirements
- Active Twitter/X account with API access credentials
- NextCloud account configured for cloud storage
- Basic knowledge of conditional statements and JavaScript code
- Webhook endpoint or manual workflow trigger setup
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (32)
When clicking "Execute Workflow"
Manual Trigger
Whether type is file
If
Set new path for subfolder
Set
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Set new path for file
Code
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Webhook
Webhook
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note
Execute Workflow Trigger
Execute Workflow Trigger
Set folder-paths for from and to
Set
Create to folder if necessary
Next Cloud
Get all folders/files in from-folder
Next Cloud
Loop over files and folders
Split In Batches
Consolidate all files and folders found
No Op
Create subfolder in to-folder
Next Cloud
Get all folders/files in found subfolder
Next Cloud
Whether there is are more files or subfolders found
If
Consolidate all found files
Code
Loop Over all files
Split In Batches
Move file to destination
Next Cloud
Delete from-folder
Next Cloud
Set paths
Set
Whether the request is valid
If
Stop and Error: request not valid
Stop And Error
Whether the request is valid1
If
Stop and Error: request not valid1
Stop And Error
Sticky Note8
Sticky Note