Automated Twitter News Post Workflow
Automatically sources the latest U.S. political news, crafts tweet-ready posts with images, and publishes them to Twitter for continuous, hands-free news updates.
This workflow automates creating and publishing political news tweets. It fetches the latest U.S. political updates, avoids duplicates, processes images, generates tweet-ready content, and posts directly to Twitter—ensuring consistent, hands-free updates.

Documentation
Description
This workflow automates the process of creating and publishing impactful political news tweets on Twitter (X). It fetches the latest U.S. political news, checks for duplicates, processes images, generates tweet-ready content, and publishes directly to Twitter. The system ensures consistent posting of relevant political updates without manual effort.
Step-by-step process:
- The workflow starts automatically on a set schedule.
- The AI Agent pulls the latest U.S. political news using RSS feeds.
- Google Sheets is checked to prevent duplicate posts.
- OpenAI analyzes and generates tweet text in JSON format.
- If the news contains an image, it downloads and processes it for Twitter’s format.
- The tweet (with or without image) is published via the Twitter API.
- The published tweet URL and text are logged in Google Sheets for tracking.
Benefits for Customers / Users
- Automated News Updates – Consistently posts the latest U.S. political news without manual work.
- Optimized Visuals – Downloads and processes news images to ensure they fit Twitter’s format and look professional.
- Duplicate Protection – Prevents reposting the same news story by checking Google Sheets logs.
- Time-Saving Automation – Eliminates repetitive tasks of news curation, writing, and publishing.
- Centralized Tracking – Maintains a record of all posted tweets for analytics and auditing.
Tools Used:
- Schedule Trigger – Starts the workflow automatically on a set interval.
- RSS Read – Collects U.S. political news from multiple sources.
- Google Sheets – Tracks posted tweets and prevents duplicates.
- OpenAI GPT-4.1 – Generates tweet-ready content in structured JSON format.
- Image Downloader/Processor – Optimizes images for Twitter (1200x675px).
- Twitter API (OAuth1 & OAuth2) – Uploads media and posts tweets automatically.
- Code Node (JavaScript) – Generates tweet URLs for logging.