Auto-Post Breaking News Content Using Perplexity AI to X (Twitter)
Go to WorkflowDescription
Stay ahead of the curve and keep your followers informed—automatically.
This n8n workflow uses Perplexity AI to generate insightful answers to scheduled queries, then auto-posts the responses directly to X (Twitter).
⚙️ What this workflow does
Scheduled Trigger – Runs at set times (daily, hourly, etc.).
searchQuery – Define what kind of trending or relevant insight you want (e.g. “latest AI trends”).
set API Key – Securely insert your Perplexity API key.
Perplexity API Call – Fetches a short, insightful response to your query.
Post to X – Automatically publishes the result as a tweet.
🧩 Requirements
An n8n account (self-hosted or cloud)
A Perplexity API key
A connected X (Twitter) account via n8n’s credentials
✅ Setup Steps
Add this workflow into your n8n account.
Edit the searchQuery node with a topic (e.g. “What’s new in ecommerce automation?”).
Paste your Perplexity API key into the set API key node.
Connect your X (Twitter) account in the final node.
Adjust the schedule timing to suit your content frequency.
💡 Ideas to Improve
💬 Add a formatting step to shorten or hashtag the response.
📊 Pull multiple trending questions and auto-schedule posts.
🔁 Loop responses to queue a full week of content.
🌐 Translate content before posting to reach a global audience.
🆘 Need help?
Feel free to contact us at 1 Node.
Get instant access to a library of free resources we created.