📱 Auto-post breaking news content using Perplexity AI to X (Twitter)
⚡ 4,709 views · 📱 Social Media & Email Marketing
💡 Pro Tip — Twitter’s API is paid now, which makes simple data pulls expensive. ScraperNode is a community node that scrapes Twitter profiles and posts without needing API access.
Description
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
searchQuerynode with a topic (e.g. “What’s new in ecommerce automation?”). - Paste your Perplexity API key into the
set API keynode. - 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.
🔗 Nodes Used
HTTP Request, X (Formerly Twitter), Schedule Trigger
📥 Import
Download workflow.json and import into n8n:
Workflow menu → Import from File