Developer & DevOps

Automate X (Twitter)

14 nodes 217 109 Scheduled trigger
Download

Workflow Description

Scheduled automation workflow that fetches content from Strapi, analyzes it with Google Cloud Natural Language API, and publishes posts to X (Twitter) automatically. Filters and formats content before deployment using conditional logic and data merging.

How it works

  1. 1.Trigger the workflow at predefined intervals using the scheduled timing mechanism
  2. 2.Retrieve articles and content items from your Strapi CMS database
  3. 3.Analyze content using Google Cloud Natural Language to assess sentiment and quality
  4. 4.Apply conditional filtering to select only content meeting your publishing criteria
  5. 5.Merge and format the processed data for X's API requirements
  6. 6.Publish the finalized content directly to your X account

Use cases

  • Automatically share company updates and technical news on X at optimal times
  • Distribute blog content across X with scheduled timing to maximize engagement
  • Pre-analyze content quality and sentiment before publishing to maintain brand standards

Requirements

  • Active X account with valid API credentials and developer access
  • Strapi instance containing publishable content with proper API setup
  • Google Cloud Natural Language API enabled and authenticated with service account

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Strapi Interval Twitter/X Google Cloud Natural Language

Details

Trigger Scheduled trigger
Nodes 14
Apps 4
Views 217
Downloads 109

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (14)

/

Simplify Result

Set

#1

Store in Strapi

Strapi

#2

Every 30 Minutes

Interval

#3

Is Retweet or Old?

If

#4

Search Tweets

Set

#5

Webhook

Webhook

#6

Simplify Webhook Result

Set

#7

Analyze Form Submission

Google Cloud Natural Language

#8

Analyze Tweet

Google Cloud Natural Language

#9

Merge Form Sentiment with Source

Merge

#10

Merge Tweet Sentiment with Source

Merge

#11

Positive Form Sentiment?

If

#12

Store Form Submission in Strapi

Strapi

#13

Positive Tweet Sentiment?

If

#14