AI-powered multi-social media post automation: Google Trends & Perplexity AI
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs on a schedule (every day at 06:00). Along the way it connects X (Formerly Twitter), Facebook Graph API, LinkedIn and Google Sheets and 1 more. It also calls serpapi.com and api.perplexity.ai over HTTP.
How it runs
Trigger: On a schedule (every day at 06:00).
- Google Trends (HTTP Request): calls serpapi.com
- 2 Most Trending (Edit Fields (Set)): sets or maps fields
- High search volume keywords (Code): runs custom JavaScript code
- Choosing Topic (OpenAI): uses OpenAI
- Research Topic- Perplexity (HTTP Request): calls api.perplexity.ai (POST)
- Wait: waits 10 seconds
- Split Out: splits a list into separate items
- X (X (Formerly Twitter)): uses X (Formerly Twitter)
- Facebook Graph API: uses Facebook Graph API
- LinkedIn: uses LinkedIn
…plus 1 more step. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Facebook + Google Sheets templates (127) · Other OpenAI + Facebook templates (107)
HTTP calls to: serpapi.com, api.perplexity.ai
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- X (Formerly Twitter)
n8n-nodes-base.twitter - Facebook Graph API
n8n-nodes-base.facebookGraphApi - LinkedIn
n8n-nodes-base.linkedIn - Google Sheets
n8n-nodes-base.googleSheets - Split Out
n8n-nodes-base.splitOut - Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - Wait
n8n-nodes-base.wait
From the author
Overview This comprehensive n8n workflow automatically transforms trending Google search queries into engaging LinkedIn posts using AI. The system runs autonomously, discovering viral topics, researching content, and publishing professionally formatted posts…